www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Compiler says it does something that it does not do

reply Ty Tower <tytower hotmail.com.au> writes:
Now I will just approach this vewy vewy quietly so no one
misunderstands..........

On a Linux machine as user tytower I issue a build command as below . Because I
am logged in as user, not root I cannot write to  /usr  so the compiler says I
will write to  /home/tytower/d  instead. It does not in fact do this as no
directory /home/tytower/d exists or is created ,Even if I create this directory
it is not used. It actually write to the current directory which in this case
is the same as the directory the program is in.

[tytower linuxbox MyStuff]$ dsss build -D maintry.d
Default prefix /usr is unwritable, using /home/tytower/d instead.

Now what I am suggesting is that the message out from the compiler is ....wait
for it ...wrong. Not that it worries me or there is more I don't understand ,
but merely to tell someone there that this exits and is ....wrong.
Mar 02 2008
next sibling parent reply Derek Parnell <derek nomail.afraid.org> writes:
On Mon, 03 Mar 2008 01:53:51 -0500, Ty Tower wrote:
 
 Now what I am suggesting is that the message out from the compiler is ...wrong.
Yes, it looks like a mistake somewhere. I do not use Linux nor DSSS, but it looks like this message is issued by DSSS or Rebuild and not the DMD compiler. I'm just guessing though. In an effort to help you isolate the source of the message, is this a simple program such that you can use the DMD command line or is DSSS needed for this one? If you can though, just try the dmd command line to see if you still get the message. -- Derek (skype: derek.j.parnell) Melbourne, Australia 3/03/2008 5:58:43 PM
Mar 02 2008
parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Mon, 03 Mar 2008 18:05:41 +1100, Derek Parnell wrote:

 On Mon, 03 Mar 2008 01:53:51 -0500, Ty Tower wrote:
  
 Now what I am suggesting is that the message out from the compiler is
 ...wrong.
Yes, it looks like a mistake somewhere. I do not use Linux nor DSSS, but it looks like this message is issued by DSSS or Rebuild and not the DMD compiler. I'm just guessing though. In an effort to help you isolate the source of the message, is this a simple program such that you can use the DMD command line or is DSSS needed for this one? If you can though, just try the dmd command line to see if you still get the message.
Derek, I just wish to inform you that your assumption is correct in it being a message generated by DSSS. The fact is there is no reason to print that message, so I don't know why it does. All it seems to have done is made some confusion. If you would like more detail about it I would be happy to tell you. If I see GragorR around I will attempt to inform him of making a correction.
Mar 02 2008
parent Derek Parnell <derek psych.ward> writes:
On Mon, 3 Mar 2008 07:45:12 +0000 (UTC), Jesse Phillips wrote:
 Derek,
 If you would like more detail about it I would be happy 
 to tell you.
No, I'm fine with that. -- Derek Parnell Melbourne, Australia skype: derek.j.parnell
Mar 03 2008
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
Ty Tower wrote:
 Now I will just approach this vewy vewy quietly so no one
misunderstands..........
 
 On a Linux machine as user tytower I issue a build command as below . Because
I am logged in as user, not root I cannot write to  /usr  so the compiler says
I will write to  /home/tytower/d  instead. It does not in fact do this as no
directory /home/tytower/d exists or is created ,Even if I create this directory
it is not used. It actually write to the current directory which in this case
is the same as the directory the program is in.
 
 [tytower linuxbox MyStuff]$ dsss build -D maintry.d
 Default prefix /usr is unwritable, using /home/tytower/d instead.
 
 Now what I am suggesting is that the message out from the compiler is ....wait
for it ...wrong. Not that it worries me or there is more I don't understand ,
but merely to tell someone there that this exits and is ....wrong.
This is not a bug. You didn't install anything, so it didn't actually need to use the prefix. - Gregor Richards
Mar 03 2008
next sibling parent reply BCS <ao pathlink.com> writes:
Reply to Gregor,

 Ty Tower wrote:
 
 Now I will just approach this vewy vewy quietly so no one
 misunderstands..........
 
 On a Linux machine as user tytower I issue a build command as below .
 Because I am logged in as user, not root I cannot write to  /usr  so
 the compiler says I will write to  /home/tytower/d  instead. It does
 not in fact do this as no directory /home/tytower/d exists or is
 created ,Even if I create this directory it is not used. It actually
 write to the current directory which in this case is the same as the
 directory the program is in.
 
 [tytower linuxbox MyStuff]$ dsss build -D maintry.d Default prefix
 /usr is unwritable, using /home/tytower/d instead.
 
 Now what I am suggesting is that the message out from the compiler is
 ....wait for it ...wrong. Not that it worries me or there is more I
 don't understand , but merely to tell someone there that this exits
 and is ....wrong.
 
This is not a bug. You didn't install anything, so it didn't actually need to use the prefix.
So the message is with regards to installing only, not for building docs or general building?
 - Gregor Richards
 
Mar 03 2008
next sibling parent Gregor Richards <Richards codu.org> writes:
BCS wrote:
 Reply to Gregor,
 
 Ty Tower wrote:

 Now I will just approach this vewy vewy quietly so no one
 misunderstands..........

 On a Linux machine as user tytower I issue a build command as below .
 Because I am logged in as user, not root I cannot write to  /usr  so
 the compiler says I will write to  /home/tytower/d  instead. It does
 not in fact do this as no directory /home/tytower/d exists or is
 created ,Even if I create this directory it is not used. It actually
 write to the current directory which in this case is the same as the
 directory the program is in.

 [tytower linuxbox MyStuff]$ dsss build -D maintry.d Default prefix
 /usr is unwritable, using /home/tytower/d instead.

 Now what I am suggesting is that the message out from the compiler is
 ....wait for it ...wrong. Not that it worries me or there is more I
 don't understand , but merely to tell someone there that this exits
 and is ....wrong.
This is not a bug. You didn't install anything, so it didn't actually need to use the prefix.
So the message is with regards to installing only, not for building docs or general building?
 - Gregor Richards
Yeah. DSSS does the same basic configuration regardless of which process it's doing, so it would be fairly difficult to suppress this message if you weren't installing. That said, right now I'm doing some rearchitecting and this should probably be fixed there. Maybe :) - Gregor Richards
Mar 03 2008
prev sibling parent reply Ty Tower <tytower hotmail.com.au> writes:
BCS Wrote:

Tell me     Why do you open a new thread for your posts? Is there something to
be gained there?  Just seems to cause a discontinuity of  posts . Is this
perhaps done by the program ?

Either way when I search a subject I do not seem to get these dis-associated
posts
Mar 03 2008
next sibling parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Ty Tower" <tytower hotmail.com.au> wrote in message 
news:fqik87$2d2$1 digitalmars.com...
 BCS Wrote:

 Tell me     Why do you open a new thread for your posts? Is there 
 something to be gained there?  Just seems to cause a discontinuity of 
 posts . Is this perhaps done by the program ?

 Either way when I search a subject I do not seem to get these 
 dis-associated posts
It's the terribly buggy web interface that does it. :\
Mar 03 2008
prev sibling parent BCS <ao pathlink.com> writes:
Reply to ty,

 BCS Wrote:
 
 Tell me     Why do you open a new thread for your posts?
I didn't (see below)
 Is there
 something to be gained there?  Just seems to cause a discontinuity of
 posts . Is this perhaps done by the program ?
 
 Either way when I search a subject I do not seem to get these
 dis-associated posts
 
Um,.. it's all one thread in my viewer. What are you using to view it. BTW, the web interface is known to be finicky and "people from somewhere else" have clamed that the digitalmars NNTP server has "issues".
Mar 03 2008
prev sibling parent reply Ty Tower <tytower hotmail.com.au> writes:
Gregor Richards Wrote:

 Ty Tower wrote:
 Now I will just approach this vewy vewy quietly so no one
misunderstands..........
 
 On a Linux machine as user tytower I issue a build command as below . Because
I am logged in as user, not root I cannot write to  /usr  so the compiler says
I will write to  /home/tytower/d  instead. It does not in fact do this as no
directory /home/tytower/d exists or is created ,Even if I create this directory
it is not used. It actually write to the current directory which in this case
is the same as the directory the program is in.
 
 [tytower linuxbox MyStuff]$ dsss build -D maintry.d
 Default prefix /usr is unwritable, using /home/tytower/d instead.
 
 Now what I am suggesting is that the message out from the compiler is ....wait
for it ...wrong. Not that it worries me or there is more I don't understand ,
but merely to tell someone there that this exits and is ....wrong.
This is not a bug. You didn't install anything, so it didn't actually need to use the prefix. - Gregor Richards
So it doesn't need to tell me then - it is an un-necessary and misleading output , perhaps an extra line of code could be added?
Mar 03 2008
parent reply BCS <ao pathlink.com> writes:
Reply to ty,

 Gregor Richards Wrote:
 
 So it doesn't need to tell me then -  it is an un-necessary and
 misleading output , perhaps an extra line of code could be added?
 
See Gregor's reply to me (~9hr ago in cases he responds again and make that ambiguous)
Mar 03 2008
next sibling parent Mike Parker <aldacron71 yahoo.com> writes:
Ty Tower wrote:
 BCS wrote:
  
 See Gregor's reply to me (~9hr ago in cases he responds again and
 make that ambiguous)
Look I think I am missing something here. Firstly what nationality are you ? What is your native language? You do very well in English for a learner but I am having difficulty understanding the meaning in your posts. I saw Gregor's reply and my post was in reply to that. The message should not show up as nothing is installed . This does not mean it is OK for the message to show up . It means it is not right for the message to show up ?
BCS said, "See Gregor's reply to me". Note the bit that says "me", meaning BCS and not you. You replied to a post Gregor made in reply to /you/, not to BCS. In case you can't find it, BCS asked: "So the message is with regards to installing only, not for building docs or general building? " To which Gregor replied: "Yeah. DSSS does the same basic configuration regardless of which process it's doing, so it would be fairly difficult to suppress this message if you weren't installing. That said, right now I'm doing some rearchitecting and this should probably be fixed there. Maybe :)"
Mar 04 2008
prev sibling next sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
Ty Tower wrote:
 BCS wrote:
  
 See Gregor's reply to me (~9hr ago in cases he responds again and
 make that ambiguous)
Look I think I am missing something here. Firstly what nationality are you ? What is your native language? You do very well in English for a learner but I am having difficulty understanding the meaning in your posts.
What?? I'd say you are not doing nearly as well. You should know that this comes across as a blatant insult. If this was not your intention then an apology is in place; if it was, then I suggest you go play some place else. There may be communities where you gain points by insulting others, but this is not one of them.
 I saw Gregor's reply and my post was in reply to that. The message
 should not show up as nothing is installed . 
 
 This does not mean it is OK for the message to show up . It means it
 is not right for the message to show up ?
Indeed. So what part did you miss? Maybe this: "right now I'm doing some rearchitecting and this should probably be fixed there." [Gregor Richards] In other words, it is a known issue and it will probably be corrected in the future. Bastiaan.
Mar 04 2008
parent Ty Tower <tytower hotmail.com.au> writes:
Bastiaan Veelo Wrote:
 Indeed. So what part did you miss? Maybe this: "right now I'm doing some 
 rearchitecting and this should probably be fixed there." [Gregor 
 Richards] In other words, it is a known issue and it will probably be 
 corrected in the future.
 Bastiaan.
Yes hopefully so for linux users ,its pretty complex to follow on first sight let alone adding unnecessary messages. It's probably known now as you say but would not have been if I didn't mention it
Mar 05 2008
prev sibling parent reply Ty Tower <tytower hotmail.com.au> writes:
Important

In addition to what has gone before on this I notice a problem I get often is a
compiler error that refers to deh_beg  , deh_end  etc.

Now I list below an output from a dsss build of a file and I notice that in the
linker section of the command a linking reference to " /home/tytower/d/lib " is
made .

That directory does not exist and is not written to  , as previously discussed
, so it should not get into any compiler commands should it.


[tytower linuxbox dwt-linux]$ dsss build MyStuff/Transaction.d
Default prefix /usr is unwritable, using /home/tytower/d instead.
MyStuff/Transaction.d => MyStuff/Transaction
+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/tytower/d/include/d
-S/home/tytower/d/lib/  -I/usr/include/d -S/usr/lib -I/home/tytower/d/include/d
-S/home/tytower/d/lib  -oqdsss_objs/D  MyStuff/Transaction.d
-ofMyStuff/Transaction
gcc dsss_objs/D/_Transaction.o dsss_objs/D/tango.io.Stdout.o
dsss_objs/D/tango.io.Print.o dsss_objs/D/tango.io.model.IBuffer.o
dsss_objs/D/tango.io.model.IConduit.o dsss_objs/D/tango.text.convert.Layout.o
dsss_objs/D/tango.text.convert.Utf.o dsss_objs/D/tango.text.convert.Float.o
dsss_objs/D/tango.text.convert.Integer.o dsss_objs/D/tango.io.Console.o
dsss_objs/D/tango.sys.Common.o dsss_objs/D/tango.sys.linux.linux.o
dsss_objs/D/tango.stdc.time.o dsss_objs/D/tango.stdc.config.o
dsss_objs/D/tango.stdc.stddef.o dsss_objs/D/tango.stdc.posix.dlfcn.o
dsss_objs/D/tango.stdc.posix.config.o dsss_objs/D/tango.stdc.posix.fcntl.o
dsss_objs/D/tango.stdc.stdint.o dsss_objs/D/tango.stdc.posix.sys.types.o
dsss_objs/D/tango.stdc.posix.sys.stat.o dsss_objs/D/tango.stdc.posix.time.o
dsss_objs/D/tango.stdc.posix.signal.o dsss_objs/D/tango.stdc.signal.o
dsss_objs/D/tango.stdc.posix.poll.o dsss_objs/D/tango.stdc.posix.pwd.o
dsss_objs/D/tango.stdc.posix.unistd.o dsss_objs/D/tango.stdc.posix.inttypes.o
dsss_objs/D/tango.stdc.inttypes.o dsss_objs/D/tango.stdc.posix.sys.select.o
dsss_objs/D/tango.stdc.posix.sys.time.o dsss_objs/D/tango.sys.linux.epoll.o
dsss_objs/D/tango.stdc.errno.o dsss_objs/D/tango.stdc.string.o
dsss_objs/D/tango.io.Buffer.o dsss_objs/D/tango.io.DeviceConduit.o
dsss_objs/D/tango.io.Conduit.o dsss_objs/D/tango.io.File.o
dsss_objs/D/tango.io.FilePath.o dsss_objs/D/tango.io.FileConst.o
dsss_objs/D/tango.time.Time.o dsss_objs/D/tango.stdc.stdio.o
dsss_objs/D/tango.stdc.stdarg.o dsss_objs/D/tango.stdc.posix.utime.o
dsss_objs/D/tango.stdc.posix.dirent.o dsss_objs/D/tango.io.FileConduit.o
dsss_objs/D/tango.util.Convert.o dsss_objs/D/tango.core.Traits.o
dsss_objs/D/tango.core.Tuple.o dsss_objs/D/tango.math.Math.o
dsss_objs/D/tango.stdc.math.o dsss_objs/D/tango.math.IEEE.o
dsss_objs/D/tango.text.Ascii.o -o MyStuff/Transaction -m32 -Xlinker -L./
-Xlinker -L/home/tytower/d/lib/ -Xlinker -L/usr/lib -Xlinker
-L/home/tytower/d/lib -Xlinker -L/usr/bin/../lib -ltango-user-dmd -Xlinker
-L/usr/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libtango-b
se-dmd.a(dmain2.o): In function `_D6dmain24mainUiPPaZi7runMainMFZv':
dmain2.d:(.text._D6dmain24mainUiPPaZi7runMainMFZv+0x10): undefined reference to
`_Dmain'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libtango
base-dmd.a(deh2.o): In function
`_D4deh213__eh_finddataFPvZPS4deh213DHandlerTable':
deh2.d:(.text._D4deh213__eh_finddataFPvZPS4deh213DHandlerTable+0x9): undefined
reference to `_deh_beg'
deh2.d:(.text._D4deh213__eh_finddataFPvZPS4deh213DHandlerTable+0xe): undefined
reference to `_deh_beg'
deh2.d:(.text._D4deh213__eh_finddataFPvZPS4deh213DHandlerTable+0x14): undefined
reference to `_deh_end'
deh2.d:(.text._D4deh213__eh_finddataFPvZPS4deh213DHandlerTable+0x37): undefined
reference to `_deh_end'
collect2: ld returned 1 exit status
--- errorlevel 1
Command /usr/bin/rebuild returned with code 65280, aborting.
Error: Command failed, aborting.
[tytower linuxbox dwt-linux]$ dsss build MyStuff/Transaction.d             
Mar 04 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Ty Tower schrieb:
 Important
no its not. its just that you suck. The solution already was posted in d.learn
Mar 04 2008
parent reply Ty Tower <tytower hotmail.com.au> writes:
Frank Benoit Wrote:

 Ty Tower schrieb:
 Important
no its not. its just that you suck. The solution already was posted in d.learn
No Frank no solution posted that I have seen and conflicting answers going all over the board. lot of clowns want to have a shot as well --stuff them Now look at this piece extracted from the first post -don't look right to me,see the -L/home/tytower/d/lib reference -it don't exist and seems to me it shouldn't be there -Xlinker -L/home/tytower/d/lib/ -Xlinker -L/usr/lib -Xlinker -L/home/tytower/d/lib -Xlinker -L/usr/bin/../lib -ltango-user-dmd -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm
Mar 04 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
In D.learn it was said that Snippet38 is already ported, more help is 
really not possible.

The linker messages you posted here are exactly the same error. Probably 
even the same Snippet38.

I know what the problem is, everybody knows. Poor Ty.

But instead of making the eyes open and apprechiate others help, you 
blame others for your disqualification. Its not others responsibility to 
help you. Instead it is a nice gesture if they do. Unfortunately you 
have already used all your credits.
Mar 04 2008
next sibling parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Otra vez quejandote del idioma de los demás. Podrías tomarte el tiempo 
de aprender alemán, español, francés, o cualquier otro idioma que es 
nativo de muchas personas de esta lista de correo, y vas a ver cómo se 
ríen en tu cara por lo mal que hablás. Deberías aprender a ser más 
tolerante con los demás.

Ty Tower escribió:
 Frank Benoit wrote:
 
 In D.learn it was said that Snippet38 is already ported, more help
 is really not possible.

 The linker messages you posted here are exactly the same error.
 Probably even the same Snippet38.

 I know what the problem is, everybody knows. Poor Ty.

 But instead of making the eyes open and apprechiate others help, you
 blame others for your disqualification. Its not others
 responsibility to help you. Instead it is a nice gesture if they do.
 Unfortunately you have already used all your credits.
Buddy you have a real English problem .The name sounds French but the attitude stinks of German. Are you trying to speak like Yoda ? Do you consider yourself a Jedi Knight or something along those lines ? This is in d.D because if I choose to operate as user the "can't write to /usr/lib using /home/tytower/d/lib " error message should not come up . It does, and more than that,it obviously alters a configuration file which the loader uses or it would not be coming up in the command line issued . Now I don't give a shit if you don't want to help - go away . Its a free board and I will post what I want to post and see if anyone has any fixes . Like I said to John --You want gracious gratitude then go visit your local gay bar. You will certainly fit in. Poofter
Mar 05 2008
parent Ty Tower <tytower hotmail.com.au> writes:
Ary Borenszweig Wrote:

 Otra vez quejandote del idioma de los demás. Podrías tomarte el tiempo 
 de aprender alemán, español, francés, o cualquier otro idioma que es 
 nativo de muchas personas de esta lista de correo, y vas a ver cómo se 
 ríen en tu cara por lo mal que hablás. Deberías aprender a ser más 
 tolerante con los demás.
Si intenta Estoy seguro de que mejorará-lo siento mi español tan pobre
Mar 05 2008
prev sibling next sibling parent Alexander Panek <alexander.panek brainsware.org> writes:
Ty Tower wrote:
 Frank Benoit wrote:
 [...]
Buddy you have a real English problem .The name sounds French but the attitude stinks of German. Are you trying to speak like Yoda ? Do you consider yourself a Jedi Knight or something along those lines ? [...] Like I said to John --You want gracious gratitude then go visit your local gay bar. You will certainly fit in. Poofter
http://en.wikipedia.org/wiki/Godwin's_law (Note the "See also:" link to "Internet troll") can has sanity plx kthx
Mar 05 2008
prev sibling next sibling parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
Ty Tower wrote:

 Buddy you have a real English problem .
How about punctuation? In this message alone (I will refrain from quoting the rest of it) you had problems with punctuation and spacing at least 11 times. You can improve to about half this score by leaving out the insults in your posts -- it would please everybody. Bastiaan.
Mar 05 2008
prev sibling next sibling parent Ty Tower <tytower hotmail.com.au> writes:
Frank Benoit Wrote:

 In D.learn it was said that Snippet38 is already ported, more help is 
 really not possible.
Note that nowhere in the installation notes or elsewhere on this site was the mercurial download repository mentioned . When I found it I was able to see where I was going wrong and correct and compile it . No advice was offered from anybody else about the code AND RARELY IS. That is the problem -People having a shot without reading what I am after merely to cover their own backsides it seems
 The linker messages you posted here are exactly the same error. Probably 
 even the same Snippet38. 
The linker messages were not related to the error and were commented on because I don't see a need for them to be there and I seriously question the compilers control
 
 I know what the problem is, everybody knows. Poor Ty.
- You obviously didn't know did you
 
 But instead of making the eyes open and apprechiate others help, you 
 blame others for your disqualification. Its not others responsibility to 
 help you. Instead it is a nice gesture if they do. Unfortunately you 
 have already used all your credits.
 
 
Your composition and spelling are simply appalling . I don't understand your choice of word nor their positioning
Mar 05 2008
prev sibling parent Ty Tower <tytower hotmail.com.au> writes:
Frank Benoit Wrote:

 In D.learn it was said that Snippet38 is already ported, more help is 
 really not possible.
Note that nowhere in the installation notes or elsewhere on this site was the mercurial download repository mentioned . When I found it I was able to see where I was going wrong and correct and compile it . No advice was offered from anybody else about the code AND RARELY IS. That is the problem -People having a shot without reading what I am after merely to cover their own backsides it seems
 The linker messages you posted here are exactly the same error. Probably 
 even the same Snippet38. 
The linker messages were not related to the error and were commented on because I don't see a need for them to be there and I seriously question the compilers control
 
 I know what the problem is, everybody knows. Poor Ty.
- You obviously didn't know did you
 
 But instead of making the eyes open and apprechiate others help, you 
 blame others for your disqualification. Its not others responsibility to 
 help you. Instead it is a nice gesture if they do. Unfortunately you 
 have already used all your credits.
 
 
Your composition and spelling are simply appalling . I don't understand your choice of word nor their positioning
Mar 05 2008