February 18, 2007
Hi

I have downloaded dsss-0.51-dmd-gnuWlinux.tar.gz
but I have some problems getting it installed properly.

What I have done is unpacked into ~/dsss
and added ~/dsss/bin to my $PATH

Then I run
>dsss installed
> dsss installed
dsss

> dsss net install dmd

installing dmd is okay, but then
>dsss installed
dsss
trunk

Where is dmd ???

Then trying to do
>dsss net install dsss-test
Synchronizing...
+ curl -s -S -k http://svn.dsource.org/projects/dsss/sources/source.list -o /home/knud/dsss/share/dsss/sources/source.list -z /home/knud/dsss/share/dsss/sources/source.list
+ curl -s -S -k http://svn.dsource.org/projects/dsss/sources/pkgs.list -o /home/knud/dsss/share/dsss/sources/pkgs.list -z /home/knud/dsss/share/dsss/sources/pkgs.list
+ curl -s -S -k http://svn.dsource.org/projects/dsss/sources/mirrors.list -o /home/knud/dsss/share/dsss/sources/mirrors.list -z /home/knud/dsss/share/dsss/sources/mirrors.list

Working in /tmp/DSSS_dsss-test
+ svn co http://svn.dsource.org/projects/dsss/branches/test
sh: svn: command not found
+ curl -k http://dsss.brainsware.org/mirror/dsss-test.tar.gz -o dsss-test.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1120  100  1120    0     0   6597      0 --:--:-- --:--:-- --:--:--     0
+ gunzip -c dsss-test.tar.gz | tar -xf -
Tool dsss-test is not installed.
Creating imports for DD-sss-test

sss/test => DD-sss-test
+ /home/knud/dsss/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/knud/dsss/include/d -S/home/knud/dsss/lib/   -oqdsss_objs  -explicit -lib -full sss/test/test.d -oflibSDD-sss-test.a

sss/test/main.d => dsss_test
+ /home/knud/dsss/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/knud/dsss/include/d -S/home/knud/dsss/lib/   -oqdsss_objs  sss/test/main.d -ofdsss_test
gcc dsss_objs/sss.test.main.o dsss_objs/sss.test.test.o -o dsss_test -m32 -lphobos -lpthread -lm -Xlinker -L./ -Xlinker -L/home/knud/dsss/lib/
dsss_objs/sss.test.test.o:(.data+0x0): undefined reference to `_D11TypeInfo_Aa6__initZ'
dsss_objs/sss.test.test.o:(.data+0x34): undefined reference to `_D3std5stdio12__ModuleInfoZ'
dsss_objs/sss.test.test.o:(.gnu.linkonce.d._D13TypeInfo_B2Aa6__initZ+0x0): undefined reference to `_D14TypeInfo_Tuple6__vtblZ'
collect2: ld returned 1 exit status
--- errorlevel 1


So, if you could provide some instructions on how to download,install and test DSSS it would be great. (a script might be better).

Knud
February 18, 2007
On Sun, 18 Feb 2007 02:04:18 +0000, Knud Soerensen wrote:    0
> + gunzip -c  | tar -xf -

Do you know that you can use tar -xzf dsss-test.tar.gz
February 18, 2007
Knud Soerensen wrote:
> Hi 
> 
> I have downloaded dsss-0.51-dmd-gnuWlinux.tar.gz
> but I have some problems getting it installed properly.
> 
> What I have done is unpacked into ~/dsss
> and added ~/dsss/bin to my $PATH
> 
> Then I run 
>> dsss installed
>> dsss installed
> dsss
> 
>> dsss net install dmd
> 
> installing dmd is okay, but then 
>> dsss installed  
> dsss
> trunk
> 
> Where is dmd ???
> 
> Then trying to do 
>> dsss net install dsss-test
> Synchronizing...
> + curl -s -S -k http://svn.dsource.org/projects/dsss/sources/source.list -o /home/knud/dsss/share/dsss/sources/source.list -z /home/knud/dsss/share/dsss/sources/source.list
> + curl -s -S -k http://svn.dsource.org/projects/dsss/sources/pkgs.list -o /home/knud/dsss/share/dsss/sources/pkgs.list -z /home/knud/dsss/share/dsss/sources/pkgs.list
> + curl -s -S -k http://svn.dsource.org/projects/dsss/sources/mirrors.list -o /home/knud/dsss/share/dsss/sources/mirrors.list -z /home/knud/dsss/share/dsss/sources/mirrors.list
> 
> Working in /tmp/DSSS_dsss-test
> + svn co http://svn.dsource.org/projects/dsss/branches/test
> sh: svn: command not found
> + curl -k http://dsss.brainsware.org/mirror/dsss-test.tar.gz -o dsss-test.tar.gz
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  1120  100  1120    0     0   6597      0 --:--:-- --:--:-- --:--:--     0
> + gunzip -c dsss-test.tar.gz | tar -xf -
> Tool dsss-test is not installed.
> Creating imports for DD-sss-test
> 
> sss/test => DD-sss-test
> + /home/knud/dsss/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/knud/dsss/include/d -S/home/knud/dsss/lib/   -oqdsss_objs  -explicit -lib -full sss/test/test.d -oflibSDD-sss-test.a
> 
> sss/test/main.d => dsss_test
> + /home/knud/dsss/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/knud/dsss/include/d -S/home/knud/dsss/lib/   -oqdsss_objs  sss/test/main.d -ofdsss_test gcc dsss_objs/sss.test.main.o dsss_objs/sss.test.test.o -o dsss_test -m32 -lphobos -lpthread -lm -Xlinker -L./ -Xlinker -L/home/knud/dsss/lib/ dsss_objs/sss.test.test.o:(.data+0x0): undefined reference to `_D11TypeInfo_Aa6__initZ'
> dsss_objs/sss.test.test.o:(.data+0x34): undefined reference to `_D3std5stdio12__ModuleInfoZ'
> dsss_objs/sss.test.test.o:(.gnu.linkonce.d._D13TypeInfo_B2Aa6__initZ+0x0): undefined reference to `_D14TypeInfo_Tuple6__vtblZ'
> collect2: ld returned 1 exit status
> --- errorlevel 1
> 
> 
> So, if you could provide some instructions on how to download,install and
> test DSSS it would be great. (a script might be better).
> 
> Knud

This is a bit odd. I haven't tested the net-install-dmd on GNU/Linux in a while, I suspect that it's at fault.

The fact that it shows "trunk" instead of "dmd" in the installed list is a bit of silliness on my part, I forgot to give it a proper name in the configuration file X_X

I'll look into why it didn't work.

As per your other post (tar -zxf instead of tar -xf | gunzip), while that works in the specific case of GNU or BSD tar, it does not work in the general case (Solaris tar suffers from Extreme Lamosity, for example). I wrote the code to work in the general case, not just the specific case.

 - Gregor Richards
February 20, 2007
On Sat, 17 Feb 2007 18:24:59 -0800, Gregor Richards wrote:
> 
> This is a bit odd. I haven't tested the net-install-dmd on GNU/Linux in a while, I suspect that it's at fault.
> 
> The fact that it shows "trunk" instead of "dmd" in the installed list is a bit of silliness on my part, I forgot to give it a proper name in the configuration file X_X
> 
> I'll look into why it didn't work.
> 

Play with a test program I get:
>dmd test.d
gcc test.o -o test -m32 -lphobos -lpthread -lm
test.o:(.gnu.linkonce.d._D17TypeInfo_S4test1A6__initZ+0x0): undefined reference to `_D15TypeInfo_Struct6__vtblZ'
collect2: ld returned 1 exit status
--- errorlevel 1


Adding a lib path:

gcc test.o -o test -m32 -L/home/knud/dsss/lib/ -lphobos -lpthread -lm

succes
February 20, 2007
Knud Soerensen wrote:
> On Sat, 17 Feb 2007 18:24:59 -0800, Gregor Richards wrote:
>> This is a bit odd. I haven't tested the net-install-dmd on GNU/Linux in a while, I suspect that it's at fault.
>>
>> The fact that it shows "trunk" instead of "dmd" in the installed list is a bit of silliness on my part, I forgot to give it a proper name in the configuration file X_X
>>
>> I'll look into why it didn't work.
>>
> 
> Play with a test program I get: 
>> dmd test.d
> gcc test.o -o test -m32 -lphobos -lpthread -lm test.o:(.gnu.linkonce.d._D17TypeInfo_S4test1A6__initZ+0x0): undefined reference to `_D15TypeInfo_Struct6__vtblZ'
> collect2: ld returned 1 exit status
> --- errorlevel 1
> 
> 
> Adding a lib path:
> 
> gcc test.o -o test -m32 -L/home/knud/dsss/lib/ -lphobos -lpthread -lm 
> 
> succes

Aha!

Now that's a problem I can sink my teeth into.

Many thanks!

 - Gregor Richards
1 2
Next ›   Last »