www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Tango 0.99.6 Jeff released

reply Lars Ivar Igesund <larsivar igesund.net> writes:
Dear D community

A new version of Tango is now available for download. This release is named
after Jeff Davey for contributing SSL support in 0.99.5. This release also
includes a new ThreadPool and various other fixes:

 * A thread pool module, thanks to Anders Halager
 * Root finding algorithms by Don Clugston
 * Updated for DMD 1.029
 * Universal binaries for Mac OSX

For a complete list of changes please see
http://www.dsource.org/projects/tango/wiki/0_99_6_Changelog. We welcome all
feedback and testing. In related news, Tangobos has been updated to work
properly on all platforms supported by Tango, thanks to Fawzi Mohamed and
Bill Baxter.

We are always looking for new participants, so feel free to contact us via
the page linked below. In particular, we are looking for someone to help
drive the online presence via our Trac pages.

The Tango homepage can be found at http://www.dsource.org/projects/tango

Downloads:
http://www.dsource.org/projects/tango/wiki/Download

See http://www.dsource.org/projects/tango/wiki/TopicInstallTango for more
detailed installation instructions for your system.

Contact
http://www.dsource.org/projects/tango/wiki/Contact

----
Signed,
The Tango Team
Apr 27 2008
next sibling parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
Lars Ivar Igesund Wrote:

 Dear D community
 
 A new version of Tango is now available for download. This release is named
 after Jeff Davey for contributing SSL support in 0.99.5. This release also
 includes a new ThreadPool and various other fixes:
 
  * A thread pool module, thanks to Anders Halager
  * Root finding algorithms by Don Clugston
  * Updated for DMD 1.029
  * Universal binaries for Mac OSX

Also, now a graphical installer for Mac OSX Intel is available, thanks to Rasmus Andersson. Further, thanks to Gregor Richards, the set of GDC bundles for Linux now includes packages for X86_64. Anders F. Björklund also has been involved for the Universal binaries, and to help make the various packages consistent http://www.dsource.org/projects/tango/wiki/GdcDownloads -- Signed, The Tango Team
Apr 28 2008
parent reply Kenny B <funisher gmail.com> writes:
 
 Also, now a graphical installer for Mac OSX Intel is available, thanks to
Rasmus Andersson. Further, thanks to Gregor Richards, the set of GDC bundles
for Linux now includes packages for X86_64. Anders F. Björklund also has been
involved for the Universal binaries, and to help make the various packages
consistent
 
 http://www.dsource.org/projects/tango/wiki/GdcDownloads

I am trying to upgrade to tango. I downloaded the x86_64 installer, and run it. I have put the prefix as both /usr/ and /usr/local/ All of the files are there and installed correctly. I have tried various dmd.conf files -- but I believe they are not for gdc I ran when trying to compile one of the examples, I have the following: /usr/local/bin/gdmd FileBucket.d -v parse FileBucket semantic FileBucket import object (/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../include/d/4.1.2/object.d) import tango.io.FilePath (tango/io/FilePath.d) FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d' and also with gdc: $ gdc -v FileBucket.d Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/home/gregor/d/tango/0.99.6/gdc --enable-languages=c,d --enable-static --disable-shared --disable-multilib Thread model: posix gcc version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024) /usr/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.2/cc1d FileBucket.d -quiet -dumpbase FileBucket.d -mtune=k8 -auxbase FileBucket -version -iprefix /usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4..1.2/ -o /tmp/ccPQUrJX.s GNU D version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.3 (Debian 4.2.3-3). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d' ---------------- Anyonr have any ideas??? I really want to get tango working -- cause I need to make the switch Kenny
Apr 29 2008
next sibling parent reply Jason House <jason.james.house gmail.com> writes:
Kenny B wrote:

 
 Also, now a graphical installer for Mac OSX Intel is available, thanks to
 Rasmus Andersson. Further, thanks to Gregor Richards, the set of GDC
 bundles for Linux now includes packages for X86_64. Anders F. Björklund
 also has been involved for the Universal binaries, and to help make the
 various packages consistent
 
 http://www.dsource.org/projects/tango/wiki/GdcDownloads

I am trying to upgrade to tango. I downloaded the x86_64 installer, and run it. I have put the prefix as both /usr/ and /usr/local/ All of the files are there and installed correctly. I have tried various dmd.conf files -- but I believe they are not for gdc I ran when trying to compile one of the examples, I have the following: /usr/local/bin/gdmd FileBucket.d -v parse FileBucket semantic FileBucket import object

 import    tango.io.FilePath   (tango/io/FilePath.d)
 FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d'
 
 and also with gdc:
 
 $ gdc -v FileBucket.d
 Using built-in specs.
 Target: x86_64-unknown-linux-gnu
 Configured with: ./configure --prefix=/home/gregor/d/tango/0.99.6/gdc
 --enable-languages=c,d --enable-static --disable-shared --disable-multilib
 Thread model: posix gcc version 4.1.2 20070214 ( gdc 0.24, using dmd
 1.024)
  /usr/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.2/cc1d
  FileBucket.d -quiet -dumpbase FileBucket.d -mtune=k8 -auxbase FileBucket
  -version -iprefix
  /usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4..1.2/ -o
  /tmp/ccPQUrJX.s
 GNU D version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024)
 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.3 (Debian
 4.2.3-3). GGC heuristics: --param ggc-min-expand=100 --param
 ggc-min-heapsize=131072 FileBucket.d:3: module FilePath cannot read file
 'tango/io/FilePath.d'
 
 ----------------
 
 Anyonr have any ideas??? I really want to get tango working -- cause I
 need to make the switch
 
 Kenny

Manual install? http://www.dsource.org/projects/tango/wiki/UnixInstallGdc It's always worked for me when I make sure to follow all the steps :)
Apr 29 2008
parent Kenny B <funisher gmail.com> writes:
 
 Manual install?
 http://www.dsource.org/projects/tango/wiki/UnixInstallGdc
 
 It's always worked for me when I make sure to follow all the steps :)

Few reasons: 1. the latest svn of gdc is super annoying to install. 2. I need to be able to compile the same code on both linux and mac, so I would prefer to use the same installer. I need the same version of gdc on both -- cause there are tweaks I have to make between latest svn and 0.24 vanilla 3. the installer is easy... 4. I have never been able to separate my previous gdc 0.24 vanilla installation away from using phobos. Once I get the install working, I'll update the installer and send the diff... but I don't know what is the problem. The alternative would be if I could know how to make my previous installation of gdc work with tango -- but I really would prefer the newer svn of gdc. I have made progress though. gdc FileBucket.d -I/usr/include/d -fversion=Tango -fversion=Posix -lgtango -lgphobos -lpthread -lgcc /usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../lib64/li gphobos.a(cmain.o): In function `main': /home/gregor/d/tango/0.99.6/lib/compiler/gdc/cmain.d:5: undefined reference to `_Dmain' How does my vanilla gdc know the other option to automatically add the phobos lib? Where is that data stored? I've tried grepping for it, with no success. Once I can find that file, I think it won't be too hard to get it working. Thanks again
Apr 30 2008
prev sibling parent reply Gregor Richards <Richards codu.org> writes:
Kenny B wrote:
 Also, now a graphical installer for Mac OSX Intel is available, thanks 
 to Rasmus Andersson. Further, thanks to Gregor Richards, the set of 
 GDC bundles for Linux now includes packages for X86_64. Anders F. 
 Björklund also has been involved for the Universal binaries, and to 
 help make the various packages consistent

 http://www.dsource.org/projects/tango/wiki/GdcDownloads

I am trying to upgrade to tango. I downloaded the x86_64 installer, and run it. I have put the prefix as both /usr/ and /usr/local/ All of the files are there and installed correctly. I have tried various dmd.conf files -- but I believe they are not for gdc I ran when trying to compile one of the examples, I have the following: /usr/local/bin/gdmd FileBucket.d -v parse FileBucket semantic FileBucket import object (/usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../inclu e/d/4.1.2/object.d) import tango.io.FilePath (tango/io/FilePath.d) FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d' and also with gdc: $ gdc -v FileBucket.d Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ./configure --prefix=/home/gregor/d/tango/0.99.6/gdc --enable-languages=c,d --enable-static --disable-shared --disable-multilib Thread model: posix gcc version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024) /usr/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.2/cc1d FileBucket.d -quiet -dumpbase FileBucket.d -mtune=k8 -auxbase FileBucket -version -iprefix /usr/local/bin/../lib/gcc/x86_64-unknown-linux-gnu/4..1.2/ -o /tmp/ccPQUrJX.s GNU D version 4.1.2 20070214 ( gdc 0.24, using dmd 1.024) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.2.3 (Debian 4.2.3-3). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 FileBucket.d:3: module FilePath cannot read file 'tango/io/FilePath.d' ---------------- Anyonr have any ideas??? I really want to get tango working -- cause I need to make the switch Kenny

If you install it and then don't use a build tool, gdc/gdmd won't know where to find the includes. In short, everyone should use a build tool. Always. Always and forever. With GDC the only standard include locations are .../include (right next to the C[++] include files) and .../include/d/<gcc-version> (too constrained), so at the very least you need a build tool that knows more sensible include locations. And the includes, by the way, are in .../include/d . If you're absolutely insane, you can include them with -I.../include/d . - Gregor Richards
Apr 30 2008
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Gregor Richards wrote:

 If you install it and then don't use a build tool, gdc/gdmd won't know 
 where to find the includes. In short, everyone should use a build tool. 
 Always. Always and forever. [...]

Or add a -I parameter to DFLAGS, whichever one finds easiest ? For the Mac universal binaries I just installed Tango imports in the compiler folder and the Tango runtime as "libgphobos.a" Then it's only a matter of setting the required variants and including the user library "libgtango.a", even without build. http://dsource.org/projects/tango/wiki/MacOSXInstall#UsingTango Using a build tool helps with other things like including all object files and such, but it isn't strictly *required* either. I included both a GNU Makefile and a dsss.conf too, so the user can choose whichever system that they are most comfortable with.
 And the includes, by the way, are in .../include/d .If you're
 absolutely insane, you can include them with -I.../include/d .

When installing in an alternative location outside the search dirs, then adding the -I and -L parameters is pretty standard... This is the same as in C / C++, so the only question is whether that behaviour is the "good old" or if it is just "legacy" ;-) I do believe that Tango should install in the regular directories, so that one doesn't need any extra -I or -L for it, but that's me. --anders
May 01 2008
prev sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
Lars Ivar Igesund wrote:

 Dear D community
 
 A new version of Tango is now available for download. This release is
 named after Jeff Davey for contributing SSL support in 0.99.5. This
 release also includes a new ThreadPool and various other fixes:
 
  * A thread pool module, thanks to Anders Halager
  * Root finding algorithms by Don Clugston
  * Updated for DMD 1.029
  * Universal binaries for Mac OSX

The inclusion of tango.io.Path as a free function interface to FilePath was forgotten in the above list. Apologies. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
May 03 2008