On 2015-06-05 12:08-0000 Arjen Markus wrote:

> Here is the result (I had to switch off Ada and I need to reinstall
Tcl as bits and pieces required for the development of extensions are
missing), but PyQt4 worked now. The various components are getting
fairly complete.

Hi Arjen:

Thanks for the two comprehensive_test.tar.gz tarballs you sent me to
analyze. Let me designate the first one (the one that failed for Ada)
as I, and the one that succeeded as II.

===========================
Remarks concerning I alone:
===========================

1. Ada

I think I have now fixed that issue (commit id = 63bdf93) so please
try again.  There is a library naming inconsistency issue for Ada on
MinGW which I previously fixed in a way that screws up Ada on Cygwin.
>From your report there is no such naming convention inconsistency for
Ada on Cygwin so the fix was simply to exclude Cygwin from the
previous library naming convention inconsistency fix.

=================================
Remarks concerning both I and II:
=================================

1. Lua

Two days ago your Lua result in cmake.out was

-- LUA_VERSION = 5.1
-- LUA_INCLUDE_DIR = /usr/include
-- LUA_LIBRARIES = /usr/lib/liblua5.1.dll.a;/usr/lib/libm.a
-- Found Lua: /usr/bin/lua.exe

Now for both I and  II you have

-- LUA_VERSION = 5.2
-- LUA_INCLUDE_DIR = LUA_INCLUDE_DIR-NOTFOUND
-- LUA_LIBRARIES = 
-- Could NOT find Lua (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR) 
-- WARNING: Lua library and/or header not found. Disabling Lua bindings

I suspect what is going on here is you removed lua-5.1 and tried to
replace it with lua-5.2.  But the package name scheme is a little
different for 5.2.  For example, I did a search for the regex "include.*/lua\.h"
and the result was

lua-devel-5.2.4-1 - lua-devel: Lua programming language interpreter (installed 
binaries and support files)
lua-5.1.5-1 - lua: Lua programming language interpreter (installed binaries and 
support files)

A search for "bin/luac" found (amongst other packages)

lua-5.1.5-1 - lua: Lua programming language interpreter (installed binaries and 
support files)
lua-5.2.4-1 - lua: Lua programming language interpreter (installed binaries and 
support files)

So for 5.2.4 you need to install two separate packages.  If the
dependencies of the packages are set correctly, then an attempt to
install lua-devel-5.2.4-1 should also automatically install
lua-5.2.4-1, but you should check that to reduce the minimal list of
PLplot prerequisite packages on Cygwin that I hope you are still
maintaining. (Once you are done with this process, that list should be
copied to our Wiki so others building PLplot on Cygwin can take
advantage of it.)

By the way, my package searches the other day did not find the 5.2
version of lua at all, and other evidence (i.e., the dates on the
files which are 2015-06-04) also indicate 5.2 is very new. So if you
requested packaging that version on the Cygwin mailing list, I have to
congratulate you for getting really fast action!

2. wxwidgets

The only information is
-- WARNING: wxWidgets or its libraries not found so setting all wxwidgets 
devices to OFF.
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.

In the master tip version there should have been more information.  So
please remember to update to master tip before your next try.

Also, you have remarked you have already installed
libwx_gtk2u2.8-devel-2.8.12.1-5.  And
<https://www.cygwin.com/cygwin-ug-net/setup-net.html#setup-packages>
says "setup.exe automatically selects dependencies".  However, there
could be a packaging error (we already encountered that for one
package whose name I have forgotten where the package dependencies
were not specified correctly).  So I searched using the term "libwx"
and came up with the following 2.8.12.1-5 results:

libwx_baseu2.8-devel-2.8.12.1-5 - libwx_baseu2.8-devel: Obsolete package 
(installed binaries and support files)
libwx_baseu2.8_0-2.8.12.1-5 - libwx_baseu2.8_0: wxWidgets C++ application 
framework (base unicode runtime) (installed binaries and support files)
libwx_gtk2u2.8-devel-2.8.12.1-5 - libwx_gtk2u2.8-devel: wxWidgets C++ 
application framework (development) (installed binaries and support files)
libwx_gtk2u2.8-doc-2.8.12.1-5 - libwx_gtk2u2.8-doc: wxWidgets C++ application 
framework (documentation) (installed binaries and support files)
libwx_gtk2u2.8_0-2.8.12.1-5 - libwx_gtk2u2.8_0: wxWidgets C++ application 
framework (GTK+ unicode runtime) (installed binaries and support files)

The first of those is described as obsolete so I assume you should not
have it installed, and you may not have the doc package installed
either, but installation of libwx_gtk2u2.8-devel-2.8.12.1-5 should
pull in the rest of those, and if not you are going to have to follow up
by installing the missing ones individually.

I also did the same search for libwx and came up with the following
3.0.2.0-1 results:

libwx_baseu3.0_0-3.0.2.0-1 - libwx_baseu3.0_0: wxWidgets C++ application 
framework (base unicode runtime) (installed binaries and support files)
libwx_gtk2u3.0-devel-3.0.2.0-1 - libwx_gtk2u3.0-devel: wxWidgets C++ 
application framework (development) (installed binaries and support files)
libwx_gtk2u3.0-doc-3.0.2.0-1 - libwx_gtk2u3.0-doc: wxWidgets C++ application 
framework (documentation) (installed binaries and support files)
libwx_gtk2u3.0_0-3.0.2.0-1 - libwx_gtk2u3.0_0: wxWidgets C++ application 
framework (GTK+ unicode runtime) (installed binaries and support files)

So if you cannot get 2.8.12.1-5 to work, I would remove all the above
2.8.12.1-5 packages and instead install libwx_gtk2u3.0-devel-3.0.2.0-1
(which should pull in the rest of the 3.0.2.0-1 packages other than
the doc one unless there is a dependency issue in the packaging).

3. Tcl and friends:

With the rename of your /usr/local version you are obviously not finding any 
Tcl/Tk/Itcl/Itk library now, but I
think that is simply a matter of installing the Cygwin packages I recommended
before, i.e., "the consistent set of Cygwin development packages, e.g.,
tcl-devel-8.5.18-1, tcl-tk-devel-8.5.18-1, tcl-itcl-3.4.1-1, and
tcl-itk-3.3-2 (found respectively by using the search strings
"tcl-devel", "tk-devel", itcl.h, and itk.h)."  You might have to dig
deeper if there is a dependency issue in the packaging of any of these
packages.


============================
Remarks concerning II alone:
============================

Ada.

The result for II was

-- WARNING: gnat library not found. Disabling ada bindings

which is a package install regression compared to I.  Thus, apparently
you dropped Ada by uninstalling a package.  But, of course, a much
superior way to drop Ada temporarily is simply to use the CMake option
-DENABLE_ada=OFF.  In any case, Ada should get further now (and might
even work) with my recent change (commit id = 63bdf93) so please
reinstall the package you dropped, do not specify -DENABLE_ada=OFF,
and try again.  The result should error out quickly if there are
additional Ada issues, but of course I would like to see the
report if that happens.

========
Summary:
========

The following components still need additional installation
changes by you in order to test them on Cygwin

ENABLE_ada:             OFF
ENABLE_lua:             OFF
ENABLE_tcl:             OFF
ENABLE_itcl:            OFF
ENABLE_tk:              OFF
ENABLE_itk:             OFF
ENABLE_wxwidgets:       OFF

Ada requires you to install a package that you just removed, and that
combined with my recent fix may be all that is required in that case.
Lua; Tcl/Tk, Itcl, Itk; and wxwidgets are likely simply a matter of
installing the packages noted above.  So I think you are getting
pretty close to an installed Cygwin platform that finally has all
the PLplot prerequisites that have been packaged under Cygwin.

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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to