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

can't build bud on ubuntu 9.04/dmd1.045

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



Joined: 27 Jul 2008
Posts: 114

PostPosted: Sat May 16, 2009 10:06 am    Post subject: can't build bud on ubuntu 9.04/dmd1.045 Reply with quote

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
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Sat May 16, 2009 10:42 am    Post subject: Reply with quote

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
View user's profile Send private message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Sat May 16, 2009 11:34 am    Post subject: Reply with quote

I got build to compile, thanks.
I'll try DSSS if I have problems though.
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