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.
Actually, that's something that is simple to solve.

Right now, the PLplot install location is controlled just with a single
prefix (set with just the cmake user option CMAKE_INSTALL_PREFIX). Then
/lib, /share, and so forth are appended automatically to that prefix in
cmake/modules/instdirs.cmake.

This is overly simplistic, and I think it would be a good thing to mimic
the additional prefixes that autotools has.  Here is the documentation
for them (from ./configure --help):

Installation directories:
   --prefix=PREFIX         install architecture-independent files in PREFIX
                           [/usr/local]
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                           [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
   --bindir=DIR           user executables [EPREFIX/bin]
   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   --libexecdir=DIR       program executables [EPREFIX/libexec]
   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   --libdir=DIR           object code libraries [EPREFIX/lib]
   --includedir=DIR       C header files [PREFIX/include]
   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   --infodir=DIR          info documentation [PREFIX/info]
   --mandir=DIR           man documentation [PREFIX/man]

This should be completely straightforward (an hour's work, maybe) to set up in
cmake/modules/instdirs.cmake as cached variables set to the above defaults
but modifiable by the user.

Once implemented, then your particular need above would be satisfied by
-Dlibdir='/usr/lib64'.  Orion, is that the fine-grained control of install
locations that you had in mind?  If so, it may be several days before I can
get to it so I would be happy to accept a patch from you if you want to deal
with it earlier.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
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