digitalmars.D.learn - dsss manual
- Morusaka (5/5) Nov 23 2008 Hi,
- Bill Baxter (4/9) Nov 23 2008 It's sort of split up, but this is the most useful doc in my opinion.
- Morusaka (10/15) Nov 23 2008 Thank you Bill for your fastestthanlight reply!!
- Jesse Phillips (10/31) Nov 23 2008 You need to give dsss a place to install your program.
- Morusaka (13/28) Nov 23 2008 Thank you Jesse for your reply.
- Morusaka (7/8) Nov 23 2008 I forgot to say that I also tryied:
- Jarrett Billingsley (5/16) Nov 23 2008 I don't think this actually has anything to do with the --prefix
- Morusaka (10/15) Nov 23 2008 Hi Jarrett,
- Morusaka (7/14) Nov 23 2008 AAAARRRRRGGGGGGGHHHHHHHHHHHHHHH!!!!
- Jarrett Billingsley (3/17) Nov 23 2008 OK, what's that error?
- Jesse Phillips (8/30) Nov 23 2008 Just to make sure this is a DSSS issue, it does compile with dmd correct...
- Morusaka (16/22) Nov 23 2008 Now the error is gone:
- Jesse Phillips (5/39) Nov 23 2008 To change the compiler, go to your dsss/etc/rebuild directory. you shoul...
Hi, I know this may sound as a rather stupid question, but where is located DSSS manual? I can't find it! Of course I looked for it here: http://www.dsource.org/projects/dsss. Thank you, Luca.
Nov 23 2008
It's sort of split up, but this is the most useful doc in my opinion. http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers --bb On Sun, Nov 23, 2008 at 6:09 PM, Morusaka <morusaka inwind.it> wrote:Hi, I know this may sound as a rather stupid question, but where is located DSSS manual? I can't find it! Of course I looked for it here: http://www.dsource.org/projects/dsss. Thank you, Luca.
Nov 23 2008
Bill Baxter Wrote:It's sort of split up, but this is the most useful doc in my opinion. http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers --bbThank you Bill for your fastestthanlight reply!! I think I've some sort of installation issue, but that document doesn't cover dsss installation. I've added dsss/bin to my PATH, but when I try to build something I get: $ dsss build Failed to determine DSSS' installed prefix. $ Could you help me please? Thanks you, Luca.
Nov 23 2008
On Sun, 23 Nov 2008 04:40:04 -0500, Morusaka wrote:Bill Baxter Wrote:You need to give dsss a place to install your program. $ dsss --prefix=<prefix> build I would suggest installing dsss to the system, do this from within the where you have dsss. Then you won't have to include prefix every time (though doing the above may only need to be done once) Also when you do builds without root privilege you will get a message: Can't write to /usr/local using ~/d Just ignore it.It's sort of split up, but this is the most useful doc in my opinion. http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers --bbThank you Bill for your fastestthanlight reply!! I think I've some sort of installation issue, but that document doesn't cover dsss installation. I've added dsss/bin to my PATH, but when I try to build something I get: $ dsss build Failed to determine DSSS' installed prefix. $ Could you help me please? Thanks you, Luca.
Nov 23 2008
Jesse Phillips Wrote:You need to give dsss a place to install your program. $ dsss --prefix=<prefix> build I would suggest installing dsss to the system, do this from within the where you have dsss. Then you won't have to include prefix every time (though doing the above may only need to be done once) Also when you do builds without root privilege you will get a message: Can't write to /usr/local using ~/d Just ignore it.Thank you Jesse for your reply. I'm sorry, I followed your instructions, but I didn't manage to make it work properly. None of these worked: $ dsss --prefix=<prefix> build Unrecognized argument: --prefix=-/build (where ./build is, if I'm not wrong, the place where I want to install my program) neither $ dsss build --prefix=./build Failed to determine DSSS' installed prefix. What I'm doing wrong? Thank you, Luca.
Nov 23 2008
Jesse Phillips Wrote:I forgot to say that I also tryied: $ ./dsss install --prefix=/home/luca/workspace/ from the directory where dsss is located, but all I got was: No config file found and no targets explicitly specified. Argh!!! Thx, Luca.
Nov 23 2008
On Sun, Nov 23, 2008 at 4:29 PM, Morusaka <morusaka inwind.it> wrote:Thank you Jesse for your reply. I'm sorry, I followed your instructions, but I didn't manage to make it work properly. None of these worked: $ dsss --prefix=<prefix> build Unrecognized argument: --prefix=-/build (where ./build is, if I'm not wrong, the place where I want to install my program) neither $ dsss build --prefix=./build Failed to determine DSSS' installed prefix. What I'm doing wrong? Thank you,I don't think this actually has anything to do with the --prefix argument. The error says that DSSS can't figure out where it lives. How did you install DSSS? Where is it located, and how did you add it to your path?
Nov 23 2008
Jarrett Billingsley Wrote:I don't think this actually has anything to do with the --prefix argument. The error says that DSSS can't figure out where it lives. How did you install DSSS? Where is it located, and how did you add it to your path?Hi Jarrett, 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" Thank you, Luca.
Nov 23 2008
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!!!
Nov 23 2008
On Sun, Nov 23, 2008 at 5:34 PM, Morusaka <morusaka inwind.it> wrote:Morusaka Wrote::Dthis 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!!!OK, what's that error?
Nov 23 2008
On Sun, 23 Nov 2008 17:34:13 -0500, Morusaka wrote:Morusaka Wrote:gnuWlinux.tar.bz2this is what I did: $ mkdir ws $ cd ws $ wget http://svn.dsource.org/projects/dsss/downloads/0.78/dsss-0.78-x86-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.$ 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!!!
Nov 23 2008
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.
Nov 23 2008
On Mon, 24 Nov 2008 00:41:54 -0500, Morusaka wrote:Jesse Phillips Wrote: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-posixJust 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.
Nov 23 2008