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

dsss and dmd problem

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
flashdog



Joined: 10 Oct 2008
Posts: 15

PostPosted: Fri Nov 14, 2008 5:33 pm    Post subject: dsss and dmd problem Reply with quote

DMD 1.033, DSSS 0.78-x86-gnuWlinux and Tango tango-0.99.7 works well, but I have problem to understand the installation howto ( http://www.dsource.org/projects/dwt/wiki/Installation ).

I did this
Code:

gedit dsss/etc/rebuild/dmd-posix-tango
search for "oneatatime" and change to "no" (twice!)


But I cannot understand this step:
Code:

export PATH=`pwd`/dsss/bin:`pwd`/tango/bin:$PATH"

Because I have not /tango/bin.

If I tried a HelloWorld1.d from /dwt-samples/examples/helloworld I get this error:
Code:

$ dmd HelloWorld1.d
HelloWorld1.d(14): module Display cannot read file 'dwt/widgets/Display.d'


My all installation steps:
DMD install
Code:

$ unzip dmd.1.033.zip
$ chmod u+x dmd/bin/dmd dmd/bin/obj2asm dmd/bin/dumpobj
$ PATH="/home/flashdog/d/dmd/bin:$PATH"; export PATH


DSSS install
Code:

$ tar -xvjf dsss-0.78-x86-gnuWlinux.tar.bz2
$ mv dsss-0.78-x86-gnuWlinux/ dsss
$ export PATH="/home/flashdog/d/dsss/bin:$PATH"


Tango install
Code:

$ tar -xvzf tango*.tar.gz
$ cd tango*/lib
$ ./build-dmd.sh
$ cp -Rf libtango-base-dmd.a /home/flashdog/d/dmd/lib

$ mkdir /home/flashdog/d/dmd/include/
$ mkdir /home/flashdog/d/dmd/include/d

$ cp -f ../object.di /home/flashdog/d/dmd/include/d
$ cp -Rf ../tango /home/flashdog/d/dmd/include/d
$ cp -Rf ../std /home/flashdog/d/dmd/include/d

/home/flashdog/d/dmd/bin/dmd.conf
[Environment]
DFLAGS=-I/home/flashdog/d/dmd/include/d -defaultlib=tango-base-dmd -debuglib=tango-base-dmd -version=Tango -version=Posix -L-L%@P%/../lib -L-ltango-user-dmd

$ cp -f libtango-user-dmd.a /home/flashdog/d/dmd/lib
$ ./build-tango.sh dmd


Code:

$ cd dwt-linux/
$ dsss build
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
Error: gdc is not in $PATH
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
Error: gdc is not in $PATH
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
Error: gdc is not in $PATH
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
/home/flashdog/d/dsss/bin/rebuild: /usr/lib/libstdc++.so.6: no version information available (required by /home/flashdog/d/dsss/bin/rebuild)
Error: gdc is not in $PATH
dwt => DO-dwt


Why does dsss looking for gdc? I use dmd.

Code:

$ cd /usr/lib/libstdc++.
libstdc++.a         libstdc++.so        libstdc++.so.6.0.6
libstdc++.la        libstdc++.so.6


What do I wrong?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS 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