flashdog
Joined: 10 Oct 2008 Posts: 15
|
Posted: Fri Nov 14, 2008 5:33 pm Post subject: dsss and dmd problem |
|
|
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? |
|