IMPORTANT message for everybody lurking on this list.
Revision 12419 (referred to below) updates the minimum acceptable CMake version
to 2.8.9.  This effectively updates all CMake policies (interpretations
of CMake logic) so revision 12419 needs lots more testing.  See the
commit message for revision 12419 for additional comments about this.

The rest of this is mainly directed at Arjen

On 2013-07-12 13:10+0200 Arjen Markus wrote:

> Hi Alan,
>
> On Fri, 12 Jul 2013 02:58:10 -0700 (PDT)
> "Alan W. Irwin" <[email protected]> wrote:
>
>> 
>> Just one more thing before I go to sleep.  I just did a quick search
>> for -rpath and Cygwin, and it appears it does work in simple cases. So 
>> there is still good hope the current approach will work.  But if
>> it turns out not, then I can quickly change the build system
>> logic to implement the dll workaround for cygwin.
>> 
>
> The result of:
>
> "cmake -DBUILD_TEST=ON -DENABLE_DYNDRIVERS=OFF"
> and "make VERBOSE=1"
>
> is in the attached tgz file.

Hi Arjen:

I am afraid the combination of the issues below that I have noted means
another test is requested.  What a big surprise.  :-)

Here are the details:

Your cmake.out file reveals some important issues.

1. -- The C compiler identification is GNU 4.5.3

That must mean you are using a rather old version of Cygwin that
needs to be updated (or better yet installed from scratch to
preserve your old version for comparison).  The version
of gcc should be at least 4.7.x from my experience with MinGW/MSYS.

2. The warning concerning CMAKE_LEGACY_CYGWIN_WIN32 not being set to
0.  It was being set (to OFF, but that should not matter) before, but
I think it was probably done in the wrong order.  As of revision 12419
I have adopted the same order as used for the build of CMake itself
and that should hopefully quiet this message.  By the way, I am pretty
sure there are no practical consequences to this warning message because
the resulting WIN32 variable is false and the resulting CYGWIN variable
is true.  But for your retest, please check that the new reordering
has quieted the message.

3. WARNING: ENABLE_DYNDRIVERS is OFF.

It is important that your retest be done with ENABLE_DYNDRIVERS ON
since that is the most heavily tested version of PLplot on all
platforms.  Once ENABLE_DYNDRIVERS ON works on Cygwin, then by all
means try other possiblities such as ENABLE_DYNDRIVERS OFF.

Your make.out file reveals one extremely important issue.

CMake generated no -rpath options for linking! There is some anecdotal
evidence on the web that -rpath actually works on Cygwin, but clearly
the CMake engineers (at least for version 2.8.9 which you are
currently using) do not trust -rpath on Cygwin or are unaware of that
capability because CMake doesn't even try to use the rpath option on
that platform.  So only the dll workaround will work, and I have no
clue how your previous Cygwin tests worked at all unless you manually
did something like that dll workaround.

As of revision 12420 I have changed our build system logic so that the
dll subdirectory workaround is used only for shared libraries and for
WIN32_OR_CYGWIN.  I have now deployed an additional variable
(USE_DLL_SUBDIRECTORY) to control when this workaround is used so
any further changes in our policy concerning this will only
require a change in one place (where USE_DLL_SUBDIRECTORY is defined).

Please give revision 12420 a try with ENABLE_DYNDRIVERS ON.  Win or
lose, I would again like to see complete results, i.e, all the *.out
files (using VERBOSE=1), and the CMakeCache.txt file.  It didn't
matter this time, but you forgot to include that latter file in the
current tarball.  Can you automate collection of files in that tarball
with a script and also automate the use of VERBOSE=1 so I always get
from you the full results requested?  Also, if you make it a practice
to automatically collect full results of the Cygwin build in a
tarball, they should be useful to you in future when you are wondering
what the last build and test results were for the Cygwin platform.

Thanks in advance for the next test.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to