On 2010-01-15 11:13-0800 Alan W. Irwin wrote:

> On 2010-01-15 17:38+0100 Joachim Geiger wrote:
>> Sorry, I need to add something, because I may have misunderstood something.
>> I started the building with the following line:
>> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/gfortran_plplot595
>> -DBUILD_TEST=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_DYNDRIVERS=OFF
>> -DBUILD_SHARED_LIBS=OFF -DENABLE_octave=OFF -DPLD_plmeta=ON
>> ~/svn_work/programming/plplot/plplot-5.9.5
>>
>> The main point is that it is done in the external build-directory
>> prior to installation with setting -DBUILD_TEST=ON.
>
> Thanks, Joachim, for that additional clarification.  It illustrates how
> important the exact cmake options are.  I confirm the issue for cmake-2.8.0
> and the svn trunk version of PLplot as well, but _just_ for the
> -DBUILD_SHARED_LIBS=OFF case (which also forces -DENABLE_DYNDRIVERS=OFF).
>
> I am pretty sure this is a cmake bug because if I switch to cmake-2.6.4
> the problem disappears.
>
> Would you confirm that version change (or a version change to anything in
> the cmake-2.6.x series that is suitable for you) solves your issue as well?
>
> Also, the problem disappears for both cmake-2.6.4 and 2.8.0 if I use the
> default -DBUILD_SHARED_LIBS=ON, -DENABLE_DYNDRIVERS=ON case.
>
> Thanks very much for your report, and I will be working on verifying that
> this is really a cmake bug by using a simple test case rather than the whole
> PLplot build (where we do a few special extra things with basic Fortran
> language support under CMake which potentially might also be the source of
> the problem here with cmake-2.8.0).

It turns out a simple test case for with cmake-2.8.0 does not show this
issue.  Furthermore, if I adjust our build system to completely drop our
support for additional Fortran compilers so that we end up using the exact
cmake-2.8.0 Fortran language support, then the problem disappears.

In sum, for Fortran static libraries we only support cmake-2.6.x now. It's
possible that later we will be able to support cmake-2.8.x with our
additional Fortran compilers, but I will have to investigate that further.
But there is no possibility to simultanously support our Fortran
modifications (at least for static Fortran libraries) under cmake-2.6.x and
cmake-2.8.x simultaneously because of incompatibilities between the two
versions of Fortran support which cause weird errors like using g++ for
linking.  So you should avoid cmake-2.8.0 for Fortran static libraries
until we change our minimum CMake version (currently 2.6.0) to 2.8.x.  That
change is not imminent.

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
__________________________

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to