build on linux

Derek Parnell derek at psych.ward
Tue Apr 25 16:46:47 PDT 2006


On Tue, 25 Apr 2006 15:45:07 +0000 (UTC), bpederse wrote:

> hi, i'm just trying D. i downloaded the d-dbi library. it requires the build
> library in order to install/build. \
> so i downloaded the build library, copied Makefile.gnu to Makefile in the Source
> dir.
> then run make. 
> i get a ton of errors such as:
> source.d:(.gnu.linkonce.t_D6source6Source6searchFZv+0xd9): undefined reference
> to `_D4util8booltype4TrueC4util8booltype4Bool
> 
> so
> 1. what are the steps required to run get the build program going
> and
> 2. is there a document somewhere that explains how to get a library and
> "install" it. i.e. how to edit dmd.conf and/or where to put all the files?
> thanks,
> -brent

There are two mistakes in the Build distro.

(1) The Makefiles are missing a reference to 'util/booltype.d' in the list
of dependant source files.

(2) The file 'fileex.d' is missing an import for 'util.str'.

I've uploaded repaired files to the DSource SVN but I've not updated the
.ZIP files, that can wait until the next version.

You can download the effected files from ...

http://svn.dsource.org/projects/build/trunk/Source/Makefile.unix
http://svn.dsource.org/projects/build/trunk/Source/Makefile.gdc
http://svn.dsource.org/projects/build/trunk/Source/Makefile.dos
http://svn.dsource.org/projects/build/trunk/Source/util/fileex.d

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
26/04/2006 9:30:57 AM

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
26/04/2006 9:46:26 AM



More information about the Digitalmars-d-learn mailing list