digitalmars.D.learn - Can't get the tools suite to build using the posix.mak make file
- Joseph Cassman (62/62) Feb 12 2014 I created a straightforward script for x86_64 Linux which comes
- John Colvin (6/75) Feb 13 2014 Looks like you still have a dmd.conf hanging around from a
- Joseph Cassman (5/11) Feb 13 2014 That was it. Awesomeness. Updated the script to a working state
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
Feb 12 2014
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.shLooks 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
Feb 13 2014
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 /etcThat was it. Awesomeness. Updated the script to a working state now. Appreciate the help. Joseph
Feb 13 2014