LDC on Ubuntu 10.4
Robert Clipsham
robert at octarineparrot.com
Sat May 1 03:34:17 PDT 2010
On 30/04/10 22:22, Piotrek wrote:
> Any ideas?
I can't remember the source of these errors, you just need to play
around a bit and it'll start working... Try adding -L-ltango-user-ldc to
your build line, if ld can't find that it's called something else... If
it is:
$ find /usr/lib -name '*tango*'
To get the name of the user library, and make sure you pass it to the
linker (-L-llibnamehere, don't include the 'lib' or the '.a' though :)).
Also make sure that the folder is in the linkers include path, using
-L-L/usr/lib/d/ or whereever the ubuntu package stores the libraries.
You should also note that moving the ldc/ directory was not necessary,
and, in fact, I advise against it. The correct solution is to add
-I/usr/include/d/tango/core/runtime/compiler/ldc (or whatever the
original path was) to your command line. If these things work, you can
edit /etc/ldc.conf and add these switches in so you don't have to
manually type them each time.
If neither of these works, try the ldc forums, the ldc mailing lists,
the tango forums, the ldc irc channel on chat.freenode.net or the
tango/D channels on the same network.
http://dsource.org/forums/viewforum.php?f=149 - LDC Forum(not used much)
http://groups.google.com/group/ldc-dev - LDC Mailing list
http://www.dsource.org/projects/tango/forums - Tango forums
// Real time chat, whether you get help depends on what time of day
// it is
http://webchat.freenode.net/?channels=ldc - LDC IRC channel
http://webchat.freenode.net/?channels=d.tango - Tango IRC channel
http://webchat.freenode.net/?channels=D - D IRC channel
You could also try the main newsgroups on d.D or d.D.learn.
> Maybe I ask somewhere else (ubuntu bug tracking)?
See the above list, if you manage to get it working you should report a
bug to the ubuntu ldc packagers, as people seem to get this a lot with
the ldc packages on ubuntu. They need to edit the ldc config file when
the tango user library is installed I believe.
> Cheers
> Piotrek
More information about the D.gnu
mailing list