View previous topic :: View next topic |
Author |
Message |
michaelp
Joined: 27 Jul 2008 Posts: 114
|
Posted: Sat May 16, 2009 10:06 am Post subject: can't build bud on ubuntu 9.04/dmd1.045 |
|
|
I followed the instructions on bud's homepage, and I downloaded the source which was shown on the homepage, but I get these errors:
Code: | michael@ubuntu:~/bud-3.04/Source$ make -f Makefile.unix
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
build.d(56): Identifier expected following package
build.d(56): ';' expected
build.d(634): identifier expected following '.', not 'macro'
build.d(3348): identifier expected following '.', not 'macro'
source.d(55): Identifier expected following package
source.d(55): ';' expected
source.d(105): Identifier expected following package
source.d(105): ';' expected
source.d(483): identifier expected following '.', not 'macro'
util/macro.d(38): Identifier expected following package
make: *** [build] Error 1
michael@ubuntu:~/bud-3.04/Source$ |
Could someone help me with this? |
|
Back to top |
|
|
doob
Joined: 06 Jan 2007 Posts: 367
|
Posted: Sat May 16, 2009 10:42 am Post subject: |
|
|
Build/Bud is very old now. "macro" is a keyword now (only reserved). I recommend dsss with rebuild instead: http://www.dsource.org/projects/dsss
If you still want to use build/bud you have to rename every file named "macro" and also remember to update the make file. Then you have to do a global search and replace on all the d-files and replace "macro" with something else. |
|
Back to top |
|
|
michaelp
Joined: 27 Jul 2008 Posts: 114
|
Posted: Sat May 16, 2009 11:34 am Post subject: |
|
|
I got build to compile, thanks.
I'll try DSSS if I have problems though. |
|
Back to top |
|
|
|