Re: Can't get the tools suite to build using the posix.mak make file

2014-02-13 Thread John Colvin
On Thursday, 13 February 2014 at 07:32:24 UTC, Joseph Cassman 
wrote:
I created a straightforward script for x86_64 Linux which comes 
directly from the wiki: http://wiki.dlang.org/Building_DMD. The 
script is to automate pulling down a development snapshot of 
the ecosystem and build + install it. The build and test 
process for DMD, D runtime, and Phobos work fine. I am having 
trouble getting the tools suite 
(https://github.com/D-Programming-Language/tools) to build 
successfully. I get the error shown below from the linked 
script (here is a link to the same text: 
https://gist.github.com/joichiro/8971131).


The results below were run against the following commits
DMD = 5f4764ad465a02b2c06fa9cd5480a2730cd34dcc
D runtime = 29a05b0fb8a8fc514803f122503c8a5a92641faf
Phobos = 2b71a0bf5c828b1916673a8c0bbcdb1d01babf2b
Tools = ef71a52ddf5f59fb31a7dcd9d1fa4c025f1b919d

Anyone know what's missing?

rm -f generated/linux/64/dustmite generated/linux/64/rdmd 
generated/linux/64/ddemangle generated/linux/64/catdoc 
generated/linux/64/detab generated/linux/64/tolf 
generated/linux/64/dget generated/linux/64/changed 
generated/linux/64/findtags generated/linux/64/dman 
expression.tag statement.tag *.o generated/linux/64/*.o

/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/rdmd rdmd.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/ddemangle 
ddemangle.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/catdoc 
catdoc.d

/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/detab detab.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/tolf tolf.d
Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/rdmd] Error 1
make: *** Waiting for unfinished jobs
make: *** [generated/linux/64/ddemangle] Error 1
Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/catdoc] Error 1
Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/detab] Error 1
Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/tolf] Error 1

Thanks for the help

Joseph

Script link: 
https://github.com/joichiro/zero/blob/master/build_and_install_dmd.sh


Looks like you still have a dmd.conf hanging around from a 
previous installation. See 
http://dlang.org/dmd-linux.html#dmd_conf

My guess would be in /etc


Re: Can't get the tools suite to build using the posix.mak make file

2014-02-13 Thread Joseph Cassman

On Thursday, 13 February 2014 at 08:57:43 UTC, John Colvin wrote:
On Thursday, 13 February 2014 at 07:32:24 UTC, Joseph Cassman 
wrote:


Looks like you still have a dmd.conf hanging around from a 
previous installation. See 
http://dlang.org/dmd-linux.html#dmd_conf

My guess would be in /etc


That was it. Awesomeness. Updated the script to a working state 
now.

Appreciate the help.

Joseph


Can't get the tools suite to build using the posix.mak make file

2014-02-12 Thread Joseph Cassman
I created a straightforward script for x86_64 Linux which comes 
directly from the wiki: http://wiki.dlang.org/Building_DMD. The 
script is to automate pulling down a development snapshot of the 
ecosystem and build + install it. The build and test process for 
DMD, D runtime, and Phobos work fine. I am having trouble getting 
the tools suite (https://github.com/D-Programming-Language/tools) 
to build successfully. I get the error shown below from the 
linked script (here is a link to the same text: 
https://gist.github.com/joichiro/8971131).


The results below were run against the following commits
DMD = 5f4764ad465a02b2c06fa9cd5480a2730cd34dcc
D runtime = 29a05b0fb8a8fc514803f122503c8a5a92641faf
Phobos = 2b71a0bf5c828b1916673a8c0bbcdb1d01babf2b
Tools = ef71a52ddf5f59fb31a7dcd9d1fa4c025f1b919d

Anyone know what's missing?

rm -f generated/linux/64/dustmite generated/linux/64/rdmd 
generated/linux/64/ddemangle generated/linux/64/catdoc 
generated/linux/64/detab generated/linux/64/tolf 
generated/linux/64/dget generated/linux/64/changed 
generated/linux/64/findtags generated/linux/64/dman 
expression.tag statement.tag *.o generated/linux/64/*.o

/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/rdmd rdmd.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/ddemangle 
ddemangle.d

/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/catdoc catdoc.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/detab detab.d
/usr/src/d/dmd/src/dmd -m64  -ofgenerated/linux/64/tolf tolf.d
Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/rdmd] Error 1
make: *** Waiting for unfinished jobs
make: *** [generated/linux/64/ddemangle] Error 1
Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/catdoc] Error 1
Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/detab] Error 1
Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
make: *** [generated/linux/64/tolf] Error 1

Thanks for the help

Joseph

Script link: 
https://github.com/joichiro/zero/blob/master/build_and_install_dmd.sh