November 24, 2008 Re: dsss manual | ||||
---|---|---|---|---|
| ||||
Posted in reply to Morusaka | On Sun, 23 Nov 2008 17:34:13 -0500, Morusaka wrote: > Morusaka Wrote: >> this is what I did: >> >> $ mkdir ws >> $ cd ws >> $ wget >> http://svn.dsource.org/projects/dsss/downloads/0.78/dsss-0.78-x86- gnuWlinux.tar.bz2 >> $ tar xvvf tar xvvf dsss-0.78-x86-gnuWlinux.tar.bz2 $ export PATH="~/ws/dsss-0.78-x86-gnuWlinux/bin:$PATH" > > AAAARRRRRGGGGGGGHHHHHHHHHHHHHHH!!!! > > what I miss was: > > $ mv dsss-0.78-x86-gnuWlinux dsss > > now it works. > > Thank you everybody!! > > P.S.: now it works, but even with the simpliest helloworld I got a strange ld error, damn!!! Just to make sure this is a DSSS issue, it does compile with dmd correct? The ld error would be helpful. It could be that $LD_LIBRARY_PATH doesn't know where dsss/lib is. Sorry it didn't help, I've never installed by changing the PATH. And your solution seems a little odd. As Jarrett said, DSSS couldn't find it's location and this I figured would be set up during the initial install. |
November 24, 2008 Re: dsss manual | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | Jesse Phillips Wrote: > Just to make sure this is a DSSS issue, it does compile with dmd correct? The ld error would be helpful. It could be that $LD_LIBRARY_PATH doesn't know where dsss/lib is. Now the error is gone: module main; // <--- comment this and you get a ld error import std.stdio; int main(string[] args) { writefln("Hello world!"); return 0; } But uhm... no.. it compiles only with gdc... i didn't figure out how to tell dsss what compiler i want to use. That environment variable doesn't seem to exist: $ echo $LD_LIBRARY_PATH $ > Sorry it didn't help, I've never installed by changing the PATH. And your solution seems a little odd. As Jarrett said, DSSS couldn't find it's location and this I figured would be set up during the initial install. I'm sorry, maybe I have to install it in /usr/local/bin? The dsss-site lacks a little installation section, I think. Thank you, Luca. |
November 24, 2008 Re: dsss manual | ||||
---|---|---|---|---|
| ||||
Posted in reply to Morusaka | On Mon, 24 Nov 2008 00:41:54 -0500, Morusaka wrote:
> Jesse Phillips Wrote:
>> Just to make sure this is a DSSS issue, it does compile with dmd correct? The ld error would be helpful. It could be that $LD_LIBRARY_PATH doesn't know where dsss/lib is.
>
> Now the error is gone:
>
> module main; // <--- comment this and you get a ld error import std.stdio;
>
> int main(string[] args) {
> writefln("Hello world!");
> return 0;
> }
>
> But uhm... no.. it compiles only with gdc... i didn't figure out how to tell dsss what compiler i want to use. That environment variable doesn't seem to exist:
>
> $ echo $LD_LIBRARY_PATH
>
> $
>
>> Sorry it didn't help, I've never installed by changing the PATH. And your solution seems a little odd. As Jarrett said, DSSS couldn't find it's location and this I figured would be set up during the initial install.
>
> I'm sorry, maybe I have to install it in /usr/local/bin? The dsss-site lacks a little installation section, I think.
>
> Thank you,
>
> Luca.
To change the compiler, go to your dsss/etc/rebuild directory. you should see a list of files one of which is 'default' edit that file to what best represents your environment. When you look in there you should understand.
profile=gdc-posix
|
Copyright © 1999-2021 by the D Language Foundation