www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dsss net install tango

reply Gregor Richards <Richards codu.org> writes:
Remember how a while ago I said DSSS would never be able to net-install 
Tango?

DSSS can net-install Tango.

Just type `dsss net install tango` and you'll find yourself in 
possession of the latest snapshot.

I've just added the build today, and it appears to work. It's been 
tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows

The installation of Tango is the only net-installation that requires 
user feedback. Causing Phobos software to become unbuildable is 
something I decided to prompt for :)

Anyway, give it a shot, see if it fails in a spectacular way. Consider 
it a beta installation mechanism for the moment.

  - Gregor Richards
Jul 20 2007
next sibling parent Clay Smith <clayasaurus gmail.com> writes:
Gregor Richards wrote:
 Remember how a while ago I said DSSS would never be able to net-install 
 Tango?
 
 DSSS can net-install Tango.
 
 Just type `dsss net install tango` and you'll find yourself in 
 possession of the latest snapshot.
 
 I've just added the build today, and it appears to work. It's been 
 tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows
 
 The installation of Tango is the only net-installation that requires 
 user feedback. Causing Phobos software to become unbuildable is 
 something I decided to prompt for :)
 
 Anyway, give it a shot, see if it fails in a spectacular way. Consider 
 it a beta installation mechanism for the moment.
 
  - Gregor Richards
Hooray tango is easy to install now :)
Jul 20 2007
prev sibling next sibling parent reply Graham MacDonald <grahamamacdonald gmail.com> writes:
Hi Gregor.  Installing dsss on my mac (gdc, ppc) worked fine, but 
installing tango came up with the following error:

Command: /usr/bin/rebuild -obj -explicit lib/common/tango/core/Thread.d 
-fintfc-file=tango/core/Thread.di
+ /usr/bin/rebuild -obj -explicit lib/common/tango/core/Thread.d 
-fintfc-file=tango/core/Thread.di
+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/ 
  -I/usr/include/d -S/usr/lib -I/Users/graham/d/include/d 
-S/Users/graham/d/lib  -oqdsss_objs  -explicit -lib -full 
tango/core/Array.d tango/core/Atomic.d tango/core/BitArray.d 
tango/core/ByteSwap.d tango/core/Signal.d tango/core/sync/Barrier.d 
tango/core/sync/Condition.d tango/core/sync/Config.d 
tango/core/sync/Mutex.d tango/core/sync/ReadWriteMutex.d 
tango/core/sync/Semaphore.d tango/core/Traits.d tango/core/Tuple.d 
tango/core/Type.d tango/core/Vararg.d tango/core/Variant.d 
tango/core/Version.d -oflibSDG-tango-core.a
tango/core/sync/Semaphore.d:162: Error: undefined identifier sem_timedwait
tango/core/sync/Semaphore.d:162: Error: function expected before (), not 
sem_timedwait of type int
Command /usr/bin/rebuild returned with code 256, aborting.
Command /usr/bin/dsss returned with code 256, aborting.

Is this any use?

Thanks.

graham
Jul 22 2007
parent reply Sean Kelly <sean f4.ca> writes:
Graham MacDonald wrote:
 Hi Gregor.  Installing dsss on my mac (gdc, ppc) worked fine, but 
 installing tango came up with the following error:
 
 Command: /usr/bin/rebuild -obj -explicit lib/common/tango/core/Thread.d 
 -fintfc-file=tango/core/Thread.di
 + /usr/bin/rebuild -obj -explicit lib/common/tango/core/Thread.d 
 -fintfc-file=tango/core/Thread.di
 + /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/ 
  -I/usr/include/d -S/usr/lib -I/Users/graham/d/include/d 
 -S/Users/graham/d/lib  -oqdsss_objs  -explicit -lib -full 
 tango/core/Array.d tango/core/Atomic.d tango/core/BitArray.d 
 tango/core/ByteSwap.d tango/core/Signal.d tango/core/sync/Barrier.d 
 tango/core/sync/Condition.d tango/core/sync/Config.d 
 tango/core/sync/Mutex.d tango/core/sync/ReadWriteMutex.d 
 tango/core/sync/Semaphore.d tango/core/Traits.d tango/core/Tuple.d 
 tango/core/Type.d tango/core/Vararg.d tango/core/Variant.d 
 tango/core/Version.d -oflibSDG-tango-core.a
 tango/core/sync/Semaphore.d:162: Error: undefined identifier sem_timedwait
 tango/core/sync/Semaphore.d:162: Error: function expected before (), not 
 sem_timedwait of type int
 Command /usr/bin/rebuild returned with code 256, aborting.
 Command /usr/bin/dsss returned with code 256, aborting.
 
 Is this any use?
You must be using OSX. And I suppose you're also the first OSX user to try compiling the Semaphore module :-) It's fixed in the SVN trunk now, and it will be in tomorrow's snapshot as well. Sean
Jul 22 2007
parent reply Graham MacDonald <grahamamacdonald gmail.com> writes:
Sean Kelly wrote:
 You must be using OSX.  And I suppose you're also the first OSX user to 
 try compiling the Semaphore module :-)  It's fixed in the SVN trunk now, 
 and it will be in tomorrow's snapshot as well.
Ok, thanks. I installed it now, seemingly without any errors. If I take the most simple tango app: import tango.io.Console; void main() { Cout("Hello, World").newline; } and build it with 'gdc d.d', I get: d.d:1: module Console cannot read file 'tango/io/Console.d' Should I be passing any additional arguments into gdc? I'm sure I'll need to link the usual libs, but I haven't got to that stage yet :-) graham
Jul 22 2007
next sibling parent reply Sean Kelly <sean f4.ca> writes:
Graham MacDonald wrote:
 Sean Kelly wrote:
 You must be using OSX.  And I suppose you're also the first OSX user 
 to try compiling the Semaphore module :-)  It's fixed in the SVN trunk 
 now, and it will be in tomorrow's snapshot as well.
Ok, thanks. I installed it now, seemingly without any errors. If I take the most simple tango app: import tango.io.Console; void main() { Cout("Hello, World").newline; } and build it with 'gdc d.d', I get: d.d:1: module Console cannot read file 'tango/io/Console.d' Should I be passing any additional arguments into gdc? I'm sure I'll need to link the usual libs, but I haven't got to that stage yet :-)
I think that's all you should need to do, but Gregor would know best how the install process works. It sounds to me like the header files aren't being published to the proper location. Sean
Jul 22 2007
parent Ingo Oeser <ioe-news rameria.de> writes:
Sean Kelly wrote:

 I think that's all you should need to do, but Gregor would know best how
 the install process works.  It sounds to me like the header files aren't
 being published to the proper location.
I just sent Gregor a patch, which might fix this. Graham, maybe this helps you, too? Best Regards Ingo Oeser
Jul 22 2007
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
Graham MacDonald wrote:
 Sean Kelly wrote:
 You must be using OSX.  And I suppose you're also the first OSX user 
 to try compiling the Semaphore module :-)  It's fixed in the SVN trunk 
 now, and it will be in tomorrow's snapshot as well.
Ok, thanks. I installed it now, seemingly without any errors. If I take the most simple tango app: import tango.io.Console; void main() { Cout("Hello, World").newline; } and build it with 'gdc d.d', I get: d.d:1: module Console cannot read file 'tango/io/Console.d' Should I be passing any additional arguments into gdc? I'm sure I'll need to link the usual libs, but I haven't got to that stage yet :-) graham
When Tango is installed via DSSS, the easiest way to compile against it is also via DSSS. It doesn't put it in GDC's include path because GDC's include path changes version-to-version, so it's in <prefix>/include/d. Anyway, if you do dsss build d.d, that should build it no problem. - Gregor Richards
Jul 22 2007
parent Graham MacDonald <grahamamacdonald gmail.com> writes:
Gregor Richards wrote:
 When Tango is installed via DSSS, the easiest way to compile against it 
 is also via DSSS. It doesn't put it in GDC's include path because GDC's 
 include path changes version-to-version, so it's in <prefix>/include/d. 
 Anyway, if you do dsss build d.d, that should build it no problem.
 
  - Gregor Richards
Ok, that does the trick. Thanks guys, graham
Jul 22 2007
prev sibling next sibling parent Gregor Kopp <gregor.kopp chello.at> writes:
Thank you very much!
dsss net install tango works here on windows XP, dmd 1.020 like a charm!
Jul 25 2007
prev sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Gregor Richards escribió:
 Remember how a while ago I said DSSS would never be able to net-install 
 Tango?
 
 DSSS can net-install Tango.
 
 Just type `dsss net install tango` and you'll find yourself in 
 possession of the latest snapshot.
 
 I've just added the build today, and it appears to work. It's been 
 tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows
 
 The installation of Tango is the only net-installation that requires 
 user feedback. Causing Phobos software to become unbuildable is 
 something I decided to prompt for :)
 
 Anyway, give it a shot, see if it fails in a spectacular way. Consider 
 it a beta installation mechanism for the moment.
 
  - Gregor Richards
Before I do this, is there a way to get Phobos back, or to switch between Phobos and Tango? -- Carlos Santander Bernal
Aug 15 2007
next sibling parent reply BCS <BCS pathlink.com> writes:
Carlos Santander wrote:
 Gregor Richards escribió:
 
 Remember how a while ago I said DSSS would never be able to 
 net-install Tango?

 DSSS can net-install Tango.

 Just type `dsss net install tango` and you'll find yourself in 
 possession of the latest snapshot.

 I've just added the build today, and it appears to work. It's been 
 tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows

 The installation of Tango is the only net-installation that requires 
 user feedback. Causing Phobos software to become unbuildable is 
 something I decided to prompt for :)

 Anyway, give it a shot, see if it fails in a spectacular way. Consider 
 it a beta installation mechanism for the moment.

  - Gregor Richards
Before I do this, is there a way to get Phobos back, or to switch between Phobos and Tango?
take a look at the "installing phoboes and Tango" thread in the digitalmars.D NG.
Aug 15 2007
parent Carlos Santander <csantander619 gmail.com> writes:
BCS escribió:
 Carlos Santander wrote:
 Gregor Richards escribió:

 Remember how a while ago I said DSSS would never be able to 
 net-install Tango?

 DSSS can net-install Tango.

 Just type `dsss net install tango` and you'll find yourself in 
 possession of the latest snapshot.

 I've just added the build today, and it appears to work. It's been 
 tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows

 The installation of Tango is the only net-installation that requires 
 user feedback. Causing Phobos software to become unbuildable is 
 something I decided to prompt for :)

 Anyway, give it a shot, see if it fails in a spectacular way. 
 Consider it a beta installation mechanism for the moment.

  - Gregor Richards
Before I do this, is there a way to get Phobos back, or to switch between Phobos and Tango?
take a look at the "installing phoboes and Tango" thread in the digitalmars.D NG.
I meant in the context of DSSS only. Without DSSS, I can do that already with "install-gdc.sh" and "install-gdc.sh --uninstall", part of the Tango distribution. -- Carlos Santander Bernal
Aug 15 2007
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
Carlos Santander wrote:
 Gregor Richards escribió:
 Remember how a while ago I said DSSS would never be able to 
 net-install Tango?

 DSSS can net-install Tango.

 Just type `dsss net install tango` and you'll find yourself in 
 possession of the latest snapshot.

 I've just added the build today, and it appears to work. It's been 
 tested to at least a small degree on:
  * GDC + GNU/Linux
  * DMD + GNU/Linux
  * DMD + Windows

 The installation of Tango is the only net-installation that requires 
 user feedback. Causing Phobos software to become unbuildable is 
 something I decided to prompt for :)

 Anyway, give it a shot, see if it fails in a spectacular way. Consider 
 it a beta installation mechanism for the moment.

  - Gregor Richards
Before I do this, is there a way to get Phobos back, or to switch between Phobos and Tango?
Not easily, no. This is a hotly-requested feature though, so I think I may have to buckle and figure it out. - Gregor Richards
Aug 15 2007
parent Carlos Santander <csantander619 gmail.com> writes:
Gregor Richards escribió:
 Carlos Santander wrote:
 Before I do this, is there a way to get Phobos back, or to switch 
 between Phobos and Tango?
Not easily, no. This is a hotly-requested feature though, so I think I may have to buckle and figure it out. - Gregor Richards
Ok, I'll wait for that, then. Thanks. -- Carlos Santander Bernal
Aug 15 2007