Alan W. Irwin wrote:
> On 2006-11-01 10:59-0700 Orion Poplawski wrote:
> 
>> Alan W. Irwin wrote:
>>> Hi Orion:
>>>
>>> This bad octave version number is due to a too-specific regex (assuming
>>> double digits for the final number) which I have now fixed in CVS.  Could
>>> you please try again?
>> Works with the latest CVS.
> 
> Orion, I am glad octave-2.9.x is working for you for our CBS. Per, now that
> this regex issue is solved, I hope you have similar success with
> octave-2.9.x on Mac OS X.
> 
>>
>> Next *BIG* issue - x86_64 libraries are installed in /usr/lib, not
>> /usr/lib64.  KDE seems to have adopted the convention of defining
>> "LIB_SUFFIX" to "64" on 64-bit platforms.  You may need to take a look
>> at their cmake scripts to see how it is done.
> 
> I presume you are talking about the location where the PLplot build is
> installed (rather than a problem with some other package's install
> location), and you need PLplot to install just the libraries in /usr/lib64.

Okay, here's the fix ala KDE:


--- plplot-20061101/cmake/modules/instdirs.cmake.orig   2006-11-01 
11:29:09.000000000 -0700
+++ plplot-20061101/cmake/modules/instdirs.cmake        2006-11-01 
11:30:10.000000000 -0700
@@ -26,7 +26,7 @@
  set(DATA_DIR ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR})

  # Libraries.
-set(LIB_INSTALL_DIR lib)
+set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
  set(LIB_DIR ${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR})

  # Headers.
--- plplot-20061101/cmake/modules/fortran.cmake.orig    2006-11-01 
15:26:17.000000000 -0700
+++ plplot-20061101/cmake/modules/fortran.cmake 2006-11-01 
15:26:40.000000000 -0700
@@ -50,7 +50,7 @@
    endif(ENABLE_f95 AND NOT CMAKE_Fortran_COMPILER_SUPPORTS_F90)

    # Set installation location for f95 modules.
-  set(F95_MOD_INSTALL_DIR lib/fortran/modules/${PACKAGE})
+  set(F95_MOD_INSTALL_DIR lib${LIB_SUFFIX}/fortran/modules/${PACKAGE})
    set(F95_MOD_DIR ${CMAKE_INSTALL_PREFIX}/${F95_MOD_INSTALL_DIR})

    # Check if f77 command line parsing is possible



Then I do:

cmake .. -DLIB_SUFFIX=64



Okay, more file installation issues:

Missing, presumably will come later once docs are pre-built:
/usr/share/info
/usr/share/man

Missing, presumably go for good with CBS?
/usr/bin/plplot-config
/usr/bin/plplot_libtool

In the wrong place now or intentonal?
/usr/libexec/octave/site/oct/*/plplot_octave.oct is now in 
/usr/share/plplot_octave/plplot_octave.oct



-
-- 
Orion Poplawski
System Administrator                  303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to