www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DSSS 0.50 and Rebuild 0.6 released!

reply Gregor Richards <Richards codu.org> writes:
DSSS, the D Shared Software System, is a tool to ease the building, 
installation, configuration and acquisition of D software.

DSSS 0.50 has just been released. Most notably, it's now based on 
rebuild. It also has plenty of other fixes and new features.

Rebuild 0.6 implemented all requests and fixed all bugs in the last 
Rebuild thread.

As per usual, information is at http://www.dsource.org/projects/dsss/

  - Gregor Richards
Feb 09 2007
next sibling parent reply David Ferenczi <raggae ferenczi.net> writes:
Thank you for the new release!

A small problem:
Something went wrong with the parameter parsing, since

the command

-------------8<---------------------------------------
rebuild <my_entry_point_source_file>
    -Dd<path_to_my_documentation>
    <path_to_my_documentation>/candydoc/candy.ddoc
    <path_to_my_documentation>/candydoc/modules.ddoc
-------------8<---------------------------------------

still generates the source documentation without candydoc, but the
executable will be called candy.

Regards,
David
Feb 10 2007
parent Gregor Richards <Richards codu.org> writes:
David Ferenczi wrote:
 Thank you for the new release!
 
 A small problem:
 Something went wrong with the parameter parsing, since
 
 the command
 
 -------------8<---------------------------------------
 rebuild <my_entry_point_source_file>
     -Dd<path_to_my_documentation>
     <path_to_my_documentation>/candydoc/candy.ddoc
     <path_to_my_documentation>/candydoc/modules.ddoc
 -------------8<---------------------------------------
 
 still generates the source documentation without candydoc, but the
 executable will be called candy.
 
 Regards,
 David
 
 

Well that's bizarre XD Sorry, thought I'd fixed that one. I guess I need to dig a bit deeper on this. - Gregor Richards
Feb 10 2007
prev sibling next sibling parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Gregor Richards wrote:
 DSSS, the D Shared Software System, is a tool to ease the building, 
 installation, configuration and acquisition of D software.
 
 DSSS 0.50 has just been released. Most notably, it's now based on 
 rebuild. It also has plenty of other fixes and new features.
 
 Rebuild 0.6 implemented all requests and fixed all bugs in the last 
 Rebuild thread.
 
 As per usual, information is at http://www.dsource.org/projects/dsss/
 
  - Gregor Richards

How do install rebuild on windows? I tried extracting rebuild.exe to c:\dmd\bin (only because it's already on the PATH) but when I tried to run it, it said "couldn't find etc folder". Where do I have to put the etc folder? and does it have to be in the PATH system variable?
Feb 10 2007
parent reply Gregor Richards <Richards codu.org> writes:
Hasan Aljudy wrote:
 
 
 Gregor Richards wrote:
 
 DSSS, the D Shared Software System, is a tool to ease the building, 
 installation, configuration and acquisition of D software.

 DSSS 0.50 has just been released. Most notably, it's now based on 
 rebuild. It also has plenty of other fixes and new features.

 Rebuild 0.6 implemented all requests and fixed all bugs in the last 
 Rebuild thread.

 As per usual, information is at http://www.dsource.org/projects/dsss/

  - Gregor Richards

How do install rebuild on windows? I tried extracting rebuild.exe to c:\dmd\bin (only because it's already on the PATH) but when I tried to run it, it said "couldn't find etc folder". Where do I have to put the etc folder? and does it have to be in the PATH system variable?

If you put rebuild.exe in c:\dmd\bin, the etc folder needs to be c:\dmd\etc - Gregor Richards PS: rebuild.exe cannot live alone, it needs its configuration files.
Feb 11 2007
parent Alexander Panek <a.panek brainsware.org> writes:
Gregor Richards wrote:
 PS: rebuild.exe cannot live alone, it needs its configuration files.

Haha..yea.. we had that already.. though, it worked pretty fine without config files, too. :P
Feb 11 2007
prev sibling next sibling parent reply Gregor Richards <Richards codu.org> writes:
Fixed rebuild's support of .ddoc files.

ATTN David Ferenczi: I added a -candydoc flag, which generates the 
candydoc/modules.ddoc file from the list of input files and links in the 
candydoc stuff automatically. So, using rebuild+candydoc is now as easy as:

rebuild -o- -candydoc -Ddmylib_doc mylib/*.d


http://www.dsource.org/projects/dsss/wiki/Rebuild

  - Gregor Richards
Feb 13 2007
parent David Ferenczi <raggae ferenczi.net> writes:
Hi Gregor,

thank you very much, indeed!
It works great!

Regards,
David


Gregor Richards wrote:

 Fixed rebuild's support of .ddoc files.
 
 ATTN David Ferenczi: I added a -candydoc flag, which generates the
 candydoc/modules.ddoc file from the list of input files and links in the
 candydoc stuff automatically. So, using rebuild+candydoc is now as easy
 as:
 
 rebuild -o- -candydoc -Ddmylib_doc mylib/*.d
 
 
 http://www.dsource.org/projects/dsss/wiki/Rebuild
 
   - Gregor Richards

Feb 14 2007
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
This new release of DSSS fixes the net feature on Windows and a few more 
minor bugs. The new release of rebuild is nearly unchanged, just some 
issues with -p/-o-.

http://www.dsource.org/projects/dsss/
http://www.dsource.org/projects/dsss/wiki/Rebuild

  - Gregor Richards
Feb 13 2007
next sibling parent Howard Berkey <howard well.com> writes:
I just svn upped and built from subversion, and it works great.  Thank you!

Gregor Richards Wrote:

 This new release of DSSS fixes the net feature on Windows and a few more 
 minor bugs. The new release of rebuild is nearly unchanged, just some 
 issues with -p/-o-.
 
 http://www.dsource.org/projects/dsss/
 http://www.dsource.org/projects/dsss/wiki/Rebuild
 
   - Gregor Richards

Feb 14 2007
prev sibling next sibling parent reply Knud Soerensen <4tuu4k002 sneakemail.com> writes:
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 net install dmd

installing dmd is okay, but then
dsss installed  

trunk Where is dmd ??? Then trying to do
dsss net install dsss-test

+ 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
Feb 17 2007
parent reply Gregor Richards <Richards codu.org> writes:
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 net install dmd

installing dmd is okay, but then
 dsss installed  

trunk Where is dmd ??? Then trying to do
 dsss net install dsss-test

+ 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
Feb 17 2007
parent Gregor Richards <Richards codu.org> writes:
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

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
Feb 20 2007
prev sibling next sibling parent Knud Soerensen <4tuu4k002 sneakemail.com> writes:
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
Feb 17 2007
prev sibling parent Knud Soerensen <4tuu4k002 sneakemail.com> writes:
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

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
Feb 20 2007