November 19, 2006
Gregor Richards wrote:

> Could you try the latest SVN snapshot of DSSS?
> 
>   - Gregor Richards
> 
> PS: http://svn.dsource.org/projects/dsss/trunk

Compilation/Installation went OK now, using GDC unstable.

And I see that you have wxD in there already, how nice! :-)
Not sure why it failed to install, will look at that later.

patching file wxd/dsss.conf
patching file wxd/mkwxlibs.d
patching file wxd/wx/libs.d
patching file wxd/wx/wx.d
Tool wxd is not installed.
+ /usr/local/bin/dsss_build -I/usr/local/include/d -LIBPATH=/usr/local/lib -LIBPATH=.   -test -uses=temp.uses
Error: dsss_build:No target name supplied.


But it should now be possible to play with Bu[il]d/DSSS
on Mac OS X, will report other quirks on the DSSS forum.

Thanks for the update! I'll integrate dsss.conf with wxD.
--anders
November 19, 2006
Gregor Richards wrote:
> (And no, there shall be no name change)
> 
> I have just released version 0.4 of DSSS. It includes several bugfixes:
> 
>         - Fixed a bug causing DSSS not to download mirrors.list (which was fairly docile since there are no working mirrors yet)
>         - Modified to work properly on Mac OS X (hopefully)
>         - Wrote simple install and use documents.
>         - Added version output to the --help output.
>         - dsss net list command implemented.
>         - dsss net search command implemented.
>         - dsss installed command implemented.
>         - unix2dos is now used for all patches on Windows, due to a bug (of sorts) in GNU patch on Windows.
> 
> Notably:
> 1) This should work on Mac OS X now.
> 2) The net component should (I hope) work on Windows now (patch.exe is a bit picky on Windows)
> 3) You can now list all packages and search for packages installable via the network.
> 
> More info and downloads at http://www.dsource.org/projects/dsss .
> 
>  - Gregor Richards


OK I must be stupid but I can seem to get dsss working.

I have installed DSSS as instructed by dumping the win .zip file and adding it to my path.

What I want to do is get something (I'm using mango to test things) downloaded. So I run this:

dsss net install mango

and get a single line of output

Synchronizing...


And I cant find anything that dsss has done. No new file, no mango anywhere (and no I don't already have mango) Nada. I'm doing something wrong and don't known what.

Where should the files be showing up?
What response should I be getting?
Am I doing anything right?

BTW

DSSS 0.4 try2 on winXP

November 20, 2006
BCS wrote:
> Gregor Richards wrote:
>> (And no, there shall be no name change)
>>
>> I have just released version 0.4 of DSSS. It includes several bugfixes:
>>
>>         - Fixed a bug causing DSSS not to download mirrors.list (which was fairly docile since there are no working mirrors yet)
>>         - Modified to work properly on Mac OS X (hopefully)
>>         - Wrote simple install and use documents.
>>         - Added version output to the --help output.
>>         - dsss net list command implemented.
>>         - dsss net search command implemented.
>>         - dsss installed command implemented.
>>         - unix2dos is now used for all patches on Windows, due to a bug (of sorts) in GNU patch on Windows.
>>
>> Notably:
>> 1) This should work on Mac OS X now.
>> 2) The net component should (I hope) work on Windows now (patch.exe is a bit picky on Windows)
>> 3) You can now list all packages and search for packages installable via the network.
>>
>> More info and downloads at http://www.dsource.org/projects/dsss .
>>
>>  - Gregor Richards
> 
> 
> OK I must be stupid but I can seem to get dsss working.
> 
> I have installed DSSS as instructed by dumping the win .zip file and adding it to my path.
> 
> What I want to do is get something (I'm using mango to test things) downloaded. So I run this:
> 
> dsss net install mango
> 
> and get a single line of output
> 
> Synchronizing...
> 
> 
> And I cant find anything that dsss has done. No new file, no mango anywhere (and no I don't already have mango) Nada. I'm doing something wrong and don't known what.
> 
> Where should the files be showing up?
> What response should I be getting?
> Am I doing anything right?
> 
> BTW
> 
> DSSS 0.4 try2 on winXP
> 

>_O

This makes precisely zero sense.  I don't know of /any/ way that it can produce no output after "Synchronizing..."

If the synchronizing fails, it produces an error.  If the synchronizing succeeds, if nothing else it will at LEAST say that it's (trying to) build what you specified.  There is no path after synchronization that results in no output.

I should mention that it has actually been tested and shown to work on Windows (by me) at this point, so this is something of a mystery.


Where should the files be showing up?

<DSSS prefix>/include/d/mango/..., <DSSS prefix>/lib/...


What response should I be getting?
Basically:

Synchronizing...

+ svn co http://blahblah/mango/trunk
...

Patching...
(Patch output)

Installing mango
<compile compile compile>



Am I doing anything right?

As far as I can tell, you're doing EVERYTHING right.  I'm flabbergasted.

 - Gregor Richards

PS: I'll look in to it, but I'm not sure what I'm looking in to ...
November 20, 2006
Anders F Björklund wrote:
> Gregor Richards wrote:
> 
>> Could you try the latest SVN snapshot of DSSS?
>>
>>   - Gregor Richards
>>
>> PS: http://svn.dsource.org/projects/dsss/trunk
> 
> 
> Compilation/Installation went OK now, using GDC unstable.
> 
> And I see that you have wxD in there already, how nice! :-)
> Not sure why it failed to install, will look at that later.
> 
> patching file wxd/dsss.conf
> patching file wxd/mkwxlibs.d
> patching file wxd/wx/libs.d
> patching file wxd/wx/wx.d
> Tool wxd is not installed.
> + /usr/local/bin/dsss_build -I/usr/local/include/d -LIBPATH=/usr/local/lib -LIBPATH=.   -test -uses=temp.uses
> Error: dsss_build:No target name supplied.
> 
> 
> But it should now be possible to play with Bu[il]d/DSSS
> on Mac OS X, will report other quirks on the DSSS forum.
> 
> Thanks for the update! I'll integrate dsss.conf with wxD.
> --anders

That's my fault - I never tried wxd in the net system, just a local install.  As it turns out, my dependency tracker goes wonky in special sections.  There was a special section in wxd's dsss.conf to make the C++ component, so it all came crashing down.

I've (mostly silently) released 0.5, which fixes a few issues, and this should be one of them.

http://www.dsource.org/projects/dsss/browser/downloads/0.5

 - Gregor Richards
November 20, 2006
BCS wrote:
> Gregor Richards wrote:
> 
>> (And no, there shall be no name change)
>>
>> I have just released version 0.4 of DSSS. It includes several bugfixes:
>>
>>         - Fixed a bug causing DSSS not to download mirrors.list (which was fairly docile since there are no working mirrors yet)
>>         - Modified to work properly on Mac OS X (hopefully)
>>         - Wrote simple install and use documents.
>>         - Added version output to the --help output.
>>         - dsss net list command implemented.
>>         - dsss net search command implemented.
>>         - dsss installed command implemented.
>>         - unix2dos is now used for all patches on Windows, due to a bug (of sorts) in GNU patch on Windows.
>>
>> Notably:
>> 1) This should work on Mac OS X now.
>> 2) The net component should (I hope) work on Windows now (patch.exe is a bit picky on Windows)
>> 3) You can now list all packages and search for packages installable via the network.
>>
>> More info and downloads at http://www.dsource.org/projects/dsss .
>>
>>  - Gregor Richards
> 
> 
> 
> OK I must be stupid but I can seem to get dsss working.
> 
> I have installed DSSS as instructed by dumping the win .zip file and adding it to my path.
> 
> What I want to do is get something (I'm using mango to test things) downloaded. So I run this:
> 
> dsss net install mango
> 
> and get a single line of output
> 
> Synchronizing...
> 
> 
> And I cant find anything that dsss has done. No new file, no mango anywhere (and no I don't already have mango) Nada. I'm doing something wrong and don't known what.
> 
> Where should the files be showing up?
> What response should I be getting?
> Am I doing anything right?
> 
> BTW
> 
> DSSS 0.4 try2 on winXP
> 

Believe it or not I actually managed to reproduce this.  I believe it comes down to failed connect, proxy settings, something else strange like that.

Just released 0.6, should fix it to at lesat give you some useful output when it fails. Please test it.

Thanks.

 - Gregor Richards
November 20, 2006
Gregor Richards wrote:
> 
> Believe it or not I actually managed to reproduce this.  I believe it comes down to failed connect, proxy settings, something else strange like that.
> 

that sounds very possible. I was using a wireless connection with zero bars of signal so who knowns what was up.

> Just released 0.6, should fix it to at lesat give you some useful output when it fails. Please test it.
> 

I already downloaded it. I'll be trying it it a bit

 Thanks.

> 
>  - Gregor Richards




>> Where should the files be showing up?
>
> <DSSS prefix>/include/d/mango/..., <DSSS prefix>/lib/...
>

What does <DSSS prefix> default to? The install dir of DSSS? I didn't set it to anything at all (Not on the command line, no editing files, nada). How do I set <DSSS prefix> to something other than the default? Last time I tried" dsss ... --prefix=blah" I got errors.




November 20, 2006
> What does <DSSS prefix> default to? The install dir of DSSS? I didn't set it to anything at all (Not on the command line, no editing files, nada). How do I set <DSSS prefix> to something other than the default? Last time I tried" dsss ... --prefix=blah" I got errors.
> 
> 
> 
> 

The install dir of DSSS itself.  You can use the --prefix option to install to a different prefix, but only with the 'install' command.

Also "blah" is a fairly strange prefix ;)

I didn't implement multi-prefix support into the net subset of commands because it opens a huge can o' worms: A 'dsss net install' actually does several installs (all dependencies), and often ends up depending on things already installed, etc, etc, etc, the --prefix options would either be complex or very limited.  If you need to fine-tune the prefix of things installed from 'dsss net', just use 'dsss net fetch', 'dsss build' and 'dsss install --prefix'.  A bit more complicated since it doesn't do everything for you, but far more controllable :)

 - Gregor Richards
November 20, 2006
BCS wrote:
> 
> I already downloaded it. I'll be trying it it a bit
> 

It works, but that is with a good connection. I'll try it at home later.
November 20, 2006
Gregor Richards wrote:
>> What does <DSSS prefix> default to? The install dir of DSSS? I didn't set it to anything at all (Not on the command line, no editing files, nada). How do I set <DSSS prefix> to something other than the default? Last time I tried" dsss ... --prefix=blah" I got errors.
>>
>>
>>
>>
> 
> The install dir of DSSS itself.  You can use the --prefix option to install to a different prefix, but only with the 'install' command.
> 
> Also "blah" is a fairly strange prefix ;)
> 
> I didn't implement multi-prefix support into the net subset of commands because it opens a huge can o' worms: A 'dsss net install' actually does several installs (all dependencies), and often ends up depending on things already installed, etc, etc, etc, the --prefix options would either be complex or very limited.  If you need to fine-tune the prefix of things installed from 'dsss net', just use 'dsss net fetch', 'dsss build' and 'dsss install --prefix'.  A bit more complicated since it doesn't do everything for you, but far more controllable :)
> 
>  - Gregor Richards

Actually I'm more interested in something like installing dsss in "c:\program files\dsss\" and having everything, by default, going to "c:\dmd\src\dsss" without having to tell it that every time.
November 20, 2006
dpc@chesed:~/tmp$ rm -Rf dsss-0.6
dpc@chesed:~/tmp$ tar xjf dsss-0.6.tar.bz2
cdpc@chesed:~/tmp$ cd dsss-0.6/
dpc@chesed:~/tmp/dsss-0.6$ make -f Makefile.dmd.posix
cd dsss_build && \
        make -f Makefile.unix
[...]
hcf

sss/main.d => dsss
Command: cd dsss_build
Command: make -f Makefile.unix
+ make -f Makefile.unix
make[1]: Entering directory `/home/dpc/tmp/dsss-0.6/dsss_build'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dpc/tmp/dsss-0.6/dsss_build'
+ /home/dpc/tmp/dsss-0.6/dsss_build/dsss_build -I/home/dpc/tmp/dsss-0.6/inst/include/d -LIBPATH=/home/dpc/tmp/dsss-0.6/inst/lib -LIBPATH=.  -od. -g -Idsss_build -LIBPATH=dsss_build
sss/main.d -Tdsss
./libSDD-sss.a(conf.o):(.data+0xac): undefined reference to
`_ModuleInfo_4util8booltype'
./libSDD-sss.a(conf.o):(.data+0xb0): undefined reference to
`_ModuleInfo_4util3fdt'
./libSDD-sss.a(conf.o):(.data+0xb4): undefined reference to
`_ModuleInfo_4util3str'
./libSDD-sss.a(conf.o): In function `_D3sss4conf9fileNewerFAaAaZx':
/home/dpc/tmp/dsss-0.6/sss/conf.d:905: undefined reference to
`_Class_4util3fdt12FileDateTime'
/home/dpc/tmp/dsss-0.6/sss/conf.d:905: undefined reference to
`_D4util3fdt12FileDateTime5_ctorFAaZC4util3fdt12FileDateTime'
/home/dpc/tmp/dsss-0.6/sss/conf.d:906: undefined reference to
`_Class_4util3fdt12FileDateTime'
/home/dpc/tmp/dsss-0.6/sss/conf.d:906: undefined reference to
`_D4util3fdt12FileDateTime5_ctorFAaZC4util3fdt12FileDateTime'
collect2: ld returned 1 exit status
dpc@chesed:~/tmp/dsss-0.6$

:/ Since 0.4 I can't get DSSS to compile.