Thread overview
Installing DSSS
Nov 19, 2007
torhu
Nov 19, 2007
Bill Baxter
Nov 19, 2007
torhu
Nov 19, 2007
torhu
Nov 20, 2007
torhu
Nov 19, 2007
Alexander Panek
Nov 30, 2007
Jesse Phillips
November 19, 2007
How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.
November 19, 2007
torhu wrote:
> How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.


The readme in the same directory where you got the binary package?

http://svn.dsource.org/projects/dsss/downloads/0.73/README-BINARIES.txt


--bb
November 19, 2007
"torhu" <no@spam.invalid> wrote in message news:fhqofc$779$1@digitalmars.com...
> How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.

As Bill said, there's that text file, but if you're not all that familiar with Posix systems, it's not all that helpful either.  I ended up putting dsss in ~/dsss, so I ended up with ~/dsss/bin, etc.  Then I added ~/dsss/bin to my path, and everything is just great.


November 19, 2007
On Mon, 19 Nov 2007 02:21:44 +0100
torhu <no@spam.invalid> wrote:

> How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.

The easiest way is to do the following:

# tar xvzf <yourbinarypackage>.tar.gz
# cp -r <yourbinarypackage>/* PREFIX/

..finished!

-- 
Alexander Panek <alexander.panek@brainsware.org>
November 19, 2007
Jarrett Billingsley wrote:
> "torhu" <no@spam.invalid> wrote in message news:fhqofc$779$1@digitalmars.com...
>> How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.
> 
> As Bill said, there's that text file, but if you're not all that familiar with Posix systems, it's not all that helpful either.  I ended up putting dsss in ~/dsss, so I ended up with ~/dsss/bin, etc.  Then I added ~/dsss/bin to my path, and everything is just great. 
> 
> 
The problem is that there are four directories in the package: bin, etc, include and share.  And no instructions as to what they are for, how dsss will find the files it needs etc.  And I don't know too much about linux, so I don't want to mess with this until I have a good idea what I'm supposed to do.

bud requires just the executable in your path somewhere, but when trying to build it with itself on linux, I get an error about it not being able to find -lphobos.  Which is a bit odd.  Does anyone know if the second step of building bud is really needed?  It seems to work after just building it with the makefile, but if it can't find phobos...
November 19, 2007
"torhu" <no@spam.invalid> wrote in message news:fhs4p6$22ed$1@digitalmars.com...

> The problem is that there are four directories in the package: bin, etc, include and share.  And no instructions as to what they are for, how dsss will find the files it needs etc.  And I don't know too much about linux, so I don't want to mess with this until I have a good idea what I'm supposed to do.

You put them all in the same dir.  So you'll have

/home
    /torhu
        /dsss
            /bin
            /include
            /lib
            /share
            ...

And of course it has no instructions, it's written by a Linux nerd who assumes everyone else is a Linux nerd too.  :P

> bud requires just the executable in your path somewhere, but when trying to build it with itself on linux, I get an error about it not being able to find -lphobos.  Which is a bit odd.  Does anyone know if the second step of building bud is really needed?  It seems to work after just building it with the makefile, but if it can't find phobos...

I've never been able to get bud to work correctly on Linux.  Could be that it's more than a year old, more likely that I'm a nob.


November 19, 2007
Jarrett Billingsley wrote:
 > You put them all in the same dir.  So you'll have
> 
> /home
>     /torhu
>         /dsss
>             /bin
>             /include
>             /lib
>             /share
>             ...
> 
> And of course it has no instructions, it's written by a Linux nerd who assumes everyone else is a Linux nerd too.  :P

Thanks, that what was I was hoping it would be.

> I've never been able to get bud to work correctly on Linux.  Could be that it's more than a year old, more likely that I'm a nob. 
> 
> 

I got it built now, by adding "-L-Wl,-L/home/user/dev/dmd/lib" to build's command line.
November 20, 2007
torhu wrote:
> Jarrett Billingsley wrote:
 >> I've never been able to get bud to work correctly on Linux.  Could be that
>> it's more than a year old, more likely that I'm a nob. 
>> 

I tried bud for a few things.  It seems that it doesn't hand the correct paths to gcc, so gcc doesn't find the object files that dmd just created.  So I guess it's better to use dsss/rebuild on linux until further notice.
November 30, 2007
On Mon, 19 Nov 2007 02:21:44 +0100, torhu wrote:

> How do I install dsss on ubuntu 7.04?  I've got the binary package (dsss-0.73-dmd-gnuWlinux-x86.tar.gz), but there's just a bunch of files and no instructions.

I use the svn repository, but I do believe it's the same, just run from within the extracted directory, if you want to install to the system run as root.

# ./dsss --prefix=<location>

I will explain why this works, dsss is designed to be used for compiling and installing D programs as you probably know. It uses a dsss.conf file to know how to do this. This file can be found there and thus you can run dsss to install itself.