On 2008-11-30 22:27-0700 Orion Poplawski wrote:

> Alan W. Irwin wrote:
>> On 2008-11-29 14:57-0700 Orion Poplawski wrote:
>>
>> 
>>> Anything different between -DHAVE_ADA_2007=ON and -DENABLE_ada?
>>> 
>> 
>> HAVE_ADA_2007 is quite different from ENABLE_ada.  You don't have to 
>> specify
>> -DENABLE_ada=ON anymore because it is ON by default (and turned off
>> automatically if our build system cannot find a GNAT compiler on your
>> system).  HAVE_ADA_2007 ON or OFF simply specifies two different ways to
>> build the Ada bindings and examples depending on whether your Ada compiler
>> is ADA 2007 compliant or not. 
>
> Hmm, with HAVE_ADA_2007 on I get a link failure for a missing library - 
> libgnalasup.so.  I think this is a Fedora gcc-gnat issue, so I filed a bug 
> here: https://bugzilla.redhat.com/show_bug.cgi?id=473811.  Compiled fine 
> without HAVE_ADA_2007.

Hi Orion:

I looked at the further details in your bug report.  By way of comparison,
"locate" indicates there is no libgnalasup.so on my system.  Furthermore, I
used "locate" to find

/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-native/adainclude/i-forbla.adb
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-sjlj/adainclude/i-forbla.adb
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-native/adalib/i-forbla.ali
/usr/lib/gcc/x86_64-linux-gnu/4.3/rts-sjlj/adalib/i-forbla.ali

on my Debian lenny system, and none of those files mentions gnalasup (which
is presumably why HAVE_ADA_2007 works here OK).  My version of gnat is 4.3.2
just like yours. So this comparison gives a bit more support for your
instinct that the build error you got for -DHAVE_ADA_2007=ON is a Fedora
gcc-gnat issue.

I also did some googling for libgnalasup, and according to the thread
started at http://gcc.gnu.org/ml/gcc/2008-04/msg00543.html it had something
to do with a special version of liblapack/libblas, and it looked like
someone was submitting a patch to replace that dependency with vanilla
liblapack/libblas.  Perhaps Debian adopted that patch and Fedora did not?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to