In Fedora we package up plplot into lots of sub-packages for the 
different interfaces.  However this appears to be causing problems for 
users of the export_plplot cmake module because it wants to be able to 
find all of the plplot modules, even if they are not needed for the project.

I know very little about the expected ways to use cmake to find and use 
plplot.  Perhaps this isn't even the way one is supposed to do it.

What is needed from a packaging perspective is a way for users of plplot 
to specify which interface(s) they want and only load/check for those. 
Is this currently available?

Thoughts/comments?  Thanks!


-------- Original Message --------
Subject: [Bug 893972] New: the plplot-devel rpm is missing dependencies
Date: Thu, 10 Jan 2013 12:18:15 +0000
From: bugzi...@redhat.com
To: or...@cora.nwra.com

Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=893972

             Bug ID: 893972
            Summary: the plplot-devel rpm is missing dependencies
            Product: Fedora
            Version: 17
          Component: plplot
           Severity: unspecified
           Priority: unspecified
           Reporter: dhowe...@redhat.com

Created attachment 676277
   --> https://bugzilla.redhat.com/attachment.cgi?id=676277&action=edit
Test script

Description of problem:

I'm trying to build te_gen from the time-ephemeris project with full testing
enabled.  This includes running cmake in the te_gen directory and telling it
where to find the cmake export files for plplot development as te_gen uses
plplot as part of its testing.

This doesn't work, however, as the
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-noconfig.cmake 
file
has a bunch of dependencies on plplot subpackages that the plplot-devel rpm
doesn't know about.

Version-Release number of selected component (if applicable):

plplot-devel-5.9.9-7.svn12202.fc17.x86_64

How reproducible:

100%

Steps to Reproduce:

This is slightly complicated as ephcom2 has to be built first and data 
has to
be supplied.  I will attach a pair of source tarballs and a script to 
download
the data and do all the building.

1. Unpack the ephcom2 and te_gen tarballs.

2. Configure the script.  This means altering the paths at the top of it.
JPL_DATA_DIR needs to point to where the data should be downloaded.
INPOP_DATA_DIR can just point to /tmp - we don't need that data.  EPHCOM_DIR
and TE_GEN_DIR need to point to the sources you unpacked in step 1.
INSTALL_DIR and INSTALL_BUILD_DIR are just a pair of scratch directories.
PLPLOT_MODULE_PATH should point to where the plplot cmake modules are
installed.

3. Run the script.

Actual results:

cmake fails with things like this:

  CMake Error at 
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-
  noconfig.cmake:359 (MESSAGE):
   The imported target "tclmatrixd" references the file
      "/usr/lib64/libtclmatrixd.so.9.2.0"

Indicating plplot-tk is not installed.

  CMake Error at 
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-
  noconfig.cmake:359 (MESSAGE):
   The imported target "plplot_octave" references the file
      "/usr/lib64/octave/site/oct/x86_64-redhat-linux-gnu/plplot_octave.oct"

Indicating plplot-octave is not installed.

  CMake Error at 
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-
  noconfig.cmake:359 (MESSAGE):
   The imported target "plplotwxwidgetsd" references the file
      "/usr/lib64/libplplotwxwidgetsd.so.0.0.0"

Indicating plplot-wxGTK is not installed.

  CMake Error at 
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-
  noconfig.cmake:359 (MESSAGE):
   The imported target "plplotadad" references the file
      "/usr/lib64/libplplotadad.so.0.0.0"

Indicating plplot-ada is not installed.

  CMake Error at 
/usr/share/plplot5.9.9/examples/cmake/modules/export_plplot-
  noconfig.cmake:359 (MESSAGE):
   The imported target "plplotluac" references the file
      "/usr/lib64/lua/5.1/plplot/plplotluac.so"

Indicating plplot-lua is not installed.

Expected results:

cmake shouldn't show up such errors.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.



------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to