FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make fails on Mac OS X 10.4.7

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
Peter.Schwier



Joined: 11 Jul 2006
Posts: 2
Location: Florida Tech

PostPosted: Tue Jul 11, 2006 8:37 pm    Post subject: Make fails on Mac OS X 10.4.7 Reply with quote

Hi, I use a mac, and I attempted to use make to compile the build program.
My first attempt gave me a responce of:
-----
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ls
Makefile.dos build.d docsrc source.d
Makefile.gdc build_bn.d example_build.cfg source_bn.d
Makefile.unix debug.brf example_build.mdf util
build.cfg default.rdf full.brf
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ cp Makefile.gdc Makefile
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ make
gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: no property 'GetText' for type 'void'
util/macro.d:416: function expected before (), not 1 of type int
util/macro.d:416: cannot implicitly convert expression (1((pFile))) of type int to char[]
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: no property 'CreateTextFile' for type 'void'
util/macro.d:421: function expected before (), not 1 of type int
make: *** [build] Error 1
-----
So, I added the line "import util.filex;" to the file "util.macro.d". Then the program compiled correctly. However, when I attempted to run the build program on the "build.d" source file I got an error.
-----
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ls
Makefile build.d docsrc source_bn.d
Makefile.dos build.o example_build.cfg source_bn.o
Makefile.gdc build_bn.d example_build.mdf util
Makefile.unix build_bn.o full.brf
build debug.brf source.d
build.cfg default.rdf source.o
-----
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ./build build -v
Path and Version : ./build v3.02(2208)
built on Tue Jul 11 21:22:51 2006
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 --disable-shared --enable-static --with-libiconv-prefix=/usr --enable-languages=c,c++,d
Thread model: posix
gcc version 4.0.1 (gdc 0.18, using dmd 0.157)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d build.d -fPIC -quiet -dumpbase build.d -auxbase build -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o build.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d build_bn.d -fPIC -quiet -dumpbase build_bn.d -auxbase build_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o build_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d source.d -fPIC -quiet -dumpbase source.d -auxbase source -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o source.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d source_bn.d -fPIC -quiet -dumpbase source_bn.d -auxbase source_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o source_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/str.d -fPIC -quiet -dumpbase str.d -auxbase str -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o str.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/str_bn.d -fPIC -quiet -dumpbase str_bn.d -auxbase str_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o str_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/pathex.d -fPIC -quiet -dumpbase pathex.d -auxbase pathex -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o pathex.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/pathex_bn.d -fPIC -quiet -dumpbase pathex_bn.d -auxbase pathex_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o pathex_bn.o /var/tmp//cc1PnXqZ.s
dmd: unrecognized switch '-o'
-----

The following is the complete log file:
-----
Last login: Tue Jul 11 17:29:34 on ttyp2
Welcome to Darwin!
peter-schwiers-ibook-g4:~ pschwier$ cd Desktop/
peter-schwiers-ibook-g4:~/Desktop pschwier$ ls
Change of address for FIT.pdf build-3.02.doc.zip build-3.02.src.zip
peter-schwiers-ibook-g4:~/Desktop pschwier$ unzip build-3.02.src.zip
Archive: build-3.02.src.zip
creating: build-3.02/
creating: build-3.02/Source/
inflating: build-3.02/Source/build.cfg
inflating: build-3.02/Source/build.d
inflating: build-3.02/Source/build_bn.d
inflating: build-3.02/Source/debug.brf
inflating: build-3.02/Source/default.rdf
creating: build-3.02/Source/docsrc/
inflating: build-3.02/Source/docsrc/autobuild.d
inflating: build-3.02/Source/docsrc/change_log.d
inflating: build-3.02/Source/docsrc/command_line.d
inflating: build-3.02/Source/docsrc/configuration_file.d
inflating: build-3.02/Source/docsrc/dlls.d
inflating: build-3.02/Source/docsrc/introduction.d
inflating: build-3.02/Source/docsrc/macros.d
extracting: build-3.02/Source/docsrc/none.css
inflating: build-3.02/Source/docsrc/pragmas.d
inflating: build-3.02/Source/docsrc/profile_file.d
inflating: build-3.02/Source/docsrc/response_file.d
inflating: build-3.02/Source/docsrc/rules.d
inflating: build-3.02/Source/docsrc/style.css
inflating: build-3.02/Source/docsrc/switches.d
inflating: build-3.02/Source/docsrc/todo.d
inflating: build-3.02/Source/docsrc/um.d
inflating: build-3.02/Source/docsrc/User_Manual.d
inflating: build-3.02/Source/docsrc/user_manual.ddoc
inflating: build-3.02/Source/example_build.cfg
inflating: build-3.02/Source/example_build.mdf
inflating: build-3.02/Source/full.brf
inflating: build-3.02/Source/Makefile.dos
inflating: build-3.02/Source/Makefile.gdc
inflating: build-3.02/Source/Makefile.unix
inflating: build-3.02/Source/source.d
inflating: build-3.02/Source/source_bn.d
creating: build-3.02/Source/util/
inflating: build-3.02/Source/util/booltype.d
inflating: build-3.02/Source/util/fdt.d
inflating: build-3.02/Source/util/fdt_bn.d
inflating: build-3.02/Source/util/file2.d
inflating: build-3.02/Source/util/file2_bn.d
inflating: build-3.02/Source/util/fileex.d
inflating: build-3.02/Source/util/fileex_bn.d
inflating: build-3.02/Source/util/linetoken.d
inflating: build-3.02/Source/util/linetoken_bn.d
inflating: build-3.02/Source/util/macro.d
inflating: build-3.02/Source/util/pathex.d
inflating: build-3.02/Source/util/pathex_bn.d
inflating: build-3.02/Source/util/str.d
inflating: build-3.02/Source/util/str_bn.d
peter-schwiers-ibook-g4:~/Desktop pschwier$ ls
Change of address for FIT.pdf build-3.02.doc.zip
build-3.02 build-3.02.src.zip
peter-schwiers-ibook-g4:~/Desktop pschwier$ cd build-3.02
peter-schwiers-ibook-g4:~/Desktop/build-3.02 pschwier$ ls
Source
peter-schwiers-ibook-g4:~/Desktop/build-3.02 pschwier$ cd Source/
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ls
Makefile.dos build.d docsrc source.d
Makefile.gdc build_bn.d example_build.cfg source_bn.d
Makefile.unix debug.brf example_build.mdf util
build.cfg default.rdf full.brf
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ cp Makefile.gdc Makefile
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ make
gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: no property 'GetText' for type 'void'
util/macro.d:416: function expected before (), not 1 of type int
util/macro.d:416: cannot implicitly convert expression (1((pFile))) of type int to char[]
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: no property 'CreateTextFile' for type 'void'
util/macro.d:421: function expected before (), not 1 of type int
make: *** [build] Error 1
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ cd util/
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source/util pschwier$ ls
booltype.d fdt_bn.o fileex.o linetoken_bn.d pathex_bn.d str_bn.o
booltype.o file2.d fileex_bn.d linetoken_bn.o pathex_bn.o
fdt.d file2.o fileex_bn.o macro.d str.d
fdt.o file2_bn.d linetoken.d pathex.d str.o
fdt_bn.d fileex.d linetoken.o pathex.o str_bn.d
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source/util pschwier$ vi macro.d +416
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source/util pschwier$ vi macro.d +416
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source/util pschwier$ cd ..
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ls
Makefile build.d default.rdf source.d
Makefile.dos build.o docsrc source.o
Makefile.gdc build_bn.d example_build.cfg source_bn.d
Makefile.unix build_bn.o example_build.mdf source_bn.o
build.cfg debug.brf full.brf util
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ make
gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ls
Makefile build.d docsrc source_bn.d
Makefile.dos build.o example_build.cfg source_bn.o
Makefile.gdc build_bn.d example_build.mdf util
Makefile.unix build_bn.o full.brf
build debug.brf source.d
build.cfg default.rdf source.o
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ./build build
Path and Version : ./build v3.02(2208)
built on Tue Jul 11 21:22:51 2006
dmd: unrecognized switch '-o'
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ./build -v
Path and Version : ./build v3.02(2208)
built on Tue Jul 11 21:22:51 2006
Error: build:No target name supplied.
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$ ./build build -v
Path and Version : ./build v3.02(2208)
built on Tue Jul 11 21:22:51 2006
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 --disable-shared --enable-static --with-libiconv-prefix=/usr --enable-languages=c,c++,d
Thread model: posix
gcc version 4.0.1 (gdc 0.18, using dmd 0.157)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d build.d -fPIC -quiet -dumpbase build.d -auxbase build -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o build.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d build_bn.d -fPIC -quiet -dumpbase build_bn.d -auxbase build_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o build_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d source.d -fPIC -quiet -dumpbase source.d -auxbase source -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o source.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d source_bn.d -fPIC -quiet -dumpbase source_bn.d -auxbase source_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o source_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/str.d -fPIC -quiet -dumpbase str.d -auxbase str -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o str.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/str_bn.d -fPIC -quiet -dumpbase str_bn.d -auxbase str_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o str_bn.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/pathex.d -fPIC -quiet -dumpbase pathex.d -auxbase pathex -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o pathex.o /var/tmp//cc1PnXqZ.s
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1d util/pathex_bn.d -fPIC -quiet -dumpbase pathex_bn.d -auxbase pathex_bn -version -fversion=Posix -I /Users/pschwier/Desktop/build-3.02/Source/ -I /Users/pschwier/Desktop/build-3.02/Source/util/ -o /var/tmp//cc1PnXqZ.s
GNU D version 4.0.1 (gdc 0.18, using dmd 0.157) (powerpc-apple-darwin8)
compiled by GNU C version 4.0.1 (Apple Computer, Inc. build 5250).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
as -arch ppc -o pathex_bn.o /var/tmp//cc1PnXqZ.s
dmd: unrecognized switch '-o'
peter-schwiers-ibook-g4:~/Desktop/build-3.02/Source pschwier$
------

And, the following is the output from several man pages:
-----

[EDITED enormous output by ADMIN]


peter-schwiers-ibook-g4:~ pschwier$
-----

I hope someone can figure out what is going on.

-Peter
Back to top
View user's profile Send private message
Skrylar



Joined: 12 Jul 2006
Posts: 5
Location: Round Rock, TX, USA

PostPosted: Wed Jul 12, 2006 2:48 am    Post subject: Build Doesn't Build Reply with quote

*snip*
Sorry, didn't read the other part of the errors.
Back to top
View user's profile Send private message
Skrylar



Joined: 12 Jul 2006
Posts: 5
Location: Round Rock, TX, USA

PostPosted: Wed Jul 12, 2006 2:49 am    Post subject: Reply with quote

Sorry,
Didn't read the whole thing before posting Crying or Very sad

I edited, but it didn't seem to take.
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Wed Jul 12, 2006 4:29 am    Post subject: Reply with quote

Peter, your post is not acceptable... Please don't paste such a large portion of the output into this forum, especially since the majority of that post has no bearing on the problem. If you want to post the output, post only the important details or post a link where you can show the entire ouput, if you really deem that necessary.

Otherwise, your post will be considered spam.

Thanks!

-JJR
Back to top
View user's profile Send private message
Peter.Schwier



Joined: 11 Jul 2006
Posts: 2
Location: Florida Tech

PostPosted: Wed Jul 12, 2006 7:13 am    Post subject: Reply with quote

Sorry, I wasn't sure how much the mac system differed from other unix systems. I will make sure to keep any other posts short.
Back to top
View user's profile Send private message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Wed Jul 12, 2006 12:49 pm    Post subject: Reply with quote

Peter,

No problem. I just wasn't sure what was going on with the long post. If you are concerned that the man pages are different for the Mac compilers, maybe you can post a link to them from somwhere. Usually the manuals are posted on line for the gcc varieties.

Have a look at the d.gnu newsgroup at digitalmars also. There are a couple of mac users there that may be able to help you.

I don't think build on Mac OS X is well tested at this point, since there aren't a whole lot of Mac users using gdc yet (I wouldn't mind getting a mac myself, though). Furthermore, the linux build is yet to be fixed in svn, so any unix-based OSes aren't working yet (beyond the fix posted by Frank in another forum).

Might have to wait a bit on this one unless some Mac developers have figured out the fix already and can add something to this.

-JJR
Back to top
View user's profile Send private message
Joe.Osborn



Joined: 13 Jul 2006
Posts: 5

PostPosted: Thu Jul 13, 2006 5:49 pm    Post subject: Reply with quote

Some of the gdmd options are incorrect. In particular, look in build.d:

Line 214 should be:
Code:
char[] vLinkLibSwitch = "-L-l";

And line 220 should be:
Code:
char[] vOutFileSwitch = "-of";


Unfortunately, once those are fixed a ton of duplicated-symbol linker errors show up. There's also a "no library found for -lphobos", which I fixed by expanding line 2212 of build.d to:

Code:

version(DigitalMars)
{
    vDefaultLibs ~= "phobos";
}
version(GNU)
{
    vDefaultLibs ~= "gphobos";
}


But the duplicated-symbol-definitions problem remains. build -v output available at http://pixelwr.ath.cx/~joie/out.txt


Sudden update - deleting the space at the end of the output file option on line 220 of build.d seems to have fixed it. I had a hunch this was the problem after seeing all the .o files polluting the build-3.02/Source/ directory after running my compile of build. The line replacement earlier has been updated.

Second update - as it turns out, those .o files get made in the working directory anyway. So my outfile hunch was a lucky guess. Still, it's good to be right.



Another quick point - My knowledge of build, and build systems in general, is very weak. I would not be averse to providing an ssh login for a build developer to play with things on my PPC Mac, though. Please contact me if you're interested using the PM mechanism.
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Thu Jul 13, 2006 8:10 pm    Post subject: Reply with quote

Joe.Osborn wrote:

Another quick point - My knowledge of build, and build systems in general, is very weak. I would not be averse to providing an ssh login for a build developer to play with things on my PPC Mac, though. Please contact me if you're interested using the PM mechanism.

Thanks but I'd rather not tinker in your machine Wink However, if you like I can send you prerelease stuff for testing. I'm planning to get back to Build this weekend and hopefully have a new release out next week. The main problems seem to be with linux and Mac editions as I don't have either to test on, so I read manuals, make guesses, and rely on the kindness of others.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Joe.Osborn



Joined: 13 Jul 2006
Posts: 5

PostPosted: Thu Jul 13, 2006 9:44 pm    Post subject: Reply with quote

I'd be glad to test and provide what feedback I can. My e-mail address is joe.osborn@mac.com, so feel free to contact me that way.
Back to top
View user's profile Send private message
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Tue Oct 03, 2006 12:54 pm    Post subject: Build 3.03 Makefile.gdc on Mac OSX breaks still Reply with quote

make build -f Makefile.gdc

Code:

gdmd -op -release -inline -version=BuildVerbose -ofbud build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
util/fdt.d:69: ';' expected
util/fdt.d:69: no identifier for declarator std.c.windows.windows
util/fdt.d:70: ';' expected
util/fdt.d:70: no identifier for declarator std.c.linux.linux
util/fdt.d:71: ';' expected
util/fdt.d:71: no identifier for declarator std.c.darwin.darwin
util/fdt.d:72: ';' expected
util/fdt.d:72: no identifier for declarator std.c.unix
util/fdt.d:69: identifier 'windows' of 'std.c.windows.windows' is not defined
util/fdt.d:69: std.c.windows.windows is used as a type
util/fdt.d:69: variable voids have no value
util/fdt.d:70: identifier 'linux' of 'std.c.linux.linux' is not defined
util/fdt.d:70: std.c.linux.linux is used as a type
util/fdt.d:70: variable voids have no value
util/fdt.d:71: module opsys cannot read file 'opsys.d'
util/fdt.d:69: ';' expected
util/fdt.d:69: no identifier for declarator std.c.windows.windows
util/fdt.d:70: ';' expected
util/fdt.d:70: no identifier for declarator std.c.linux.linux
util/fdt.d:71: ';' expected
util/fdt.d:71: no identifier for declarator std.c.darwin.darwin
util/fdt.d:72: ';' expected
util/fdt.d:72: no identifier for declarator std.c.unix
util/fdt.d:69: identifier 'windows' of 'std.c.windows.windows' is not defined
util/fdt.d:69: std.c.windows.windows is used as a type
util/fdt.d:69: variable voids have no value
util/fdt.d:70: identifier 'linux' of 'std.c.linux.linux' is not defined
util/fdt.d:70: std.c.linux.linux is used as a type
util/fdt.d:70: variable voids have no value
util/fdt.d:71: module opsys cannot read file 'opsys.d'
util/fdt.d:69: ';' expected
util/fdt.d:69: no identifier for declarator std.c.windows.windows
util/fdt.d:70: ';' expected
util/fdt.d:70: no identifier for declarator std.c.linux.linux
util/fdt.d:71: ';' expected
util/fdt.d:71: no identifier for declarator std.c.darwin.darwin
util/fdt.d:72: ';' expected
util/fdt.d:72: no identifier for declarator std.c.unix
make: *** [build] Error 1



I am using gdc .19 based on dmd .162, any ideas what might be going on?
On the plus side 3.03 works on my linux box using dmd .168
Keep it up, your work is appreciated!
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Tue Oct 03, 2006 6:36 pm    Post subject: Re: Build 3.03 Makefile.gdc on Mac OSX breaks still Reply with quote

sylverpyro wrote:
make build -f Makefile.gdc


I am using gdc .19 based on dmd .162, any ideas what might be going on?
On the plus side 3.03 works on my linux box using dmd .168
Keep it up, your work is appreciated!


Yes, the problem is that the Mac environment version symbols overlap and I need to fix up the selection of 'platform specific' modules. This will happen any day now Wink
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Tue Oct 03, 2006 9:20 pm    Post subject: Reply with quote

Thanks Much!
Back to top
View user's profile Send private message
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Sun Jan 07, 2007 10:29 pm    Post subject: Make fails: 3.04 bud and gdc 0.21 / dmd 1.00 Reply with quote

gdc and computer version:

Code:

powerpc-apple-darwin8-gdc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) (gdc 0.21, using dmd 1.00)


make -f Makefile.gdc outputs:

Code:

gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
/usr/bin/ld: can't open: crt3.o (No such file or directory, errno = 2)
collect2: ld returned 1 exit status
make: *** [build] Error 1


make -f Makefile.unix outputs:

Code:

dmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
/usr/bin/ld: can't open: crt3.o (No such file or directory, errno = 2)
collect2: ld returned 1 exit status
make: *** [build] Error 1


Is this due to poor OS X compatability again or am I not compiling this correctly?
Back to top
View user's profile Send private message
Auria



Joined: 29 May 2006
Posts: 44

PostPosted: Mon Jan 08, 2007 10:11 am    Post subject: Reply with quote

Take a look at this:
http://lists.puremagic.com/pipermail/digitalmars-d/2006-December/011884.html

in short, you need to update to latest developer tools version
Back to top
View user's profile Send private message
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Mon Jan 08, 2007 1:50 pm    Post subject: My Fault Reply with quote

Ok, I can't read dependencies. The error was caused by trying to use an old version of X-Code with the new GDC compiler. After updating to 2.4.1 everything works great and build now does compile on OS X!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group