Orion, Alan et al.I did a quick check of the CBS on OS X about a week ago, I noticed a few quirks but they are likely specific to my system... However, I had problems with octave similar to what Orion has, so I started looking into the octave.cmake file.
I'm not sure if octave-config is part of octave 2.7.x (I have only 2.9.x installed) but if it is then I suggest that we use it to get octave information for octave.cmake.
Here's the output from "octave-config -h":
$ octave-config -h
usage: octave-config [options]
Options:
-h, -?, --help Print this message.
--m-site-dir Print the name of the directory where Octave
expects to find locally installed .m files.
--oct-site-dir Print the name of the directory where Octave
expects to find locally installed .oct files.
-p VAR, --print VAR Print the value of the given configuration
variable VAR. Recognized variables are:
API_VERSION LOCALAPIARCHLIBDIR
CANONICAL_HOST_TYPE LOCALAPIFCNFILEDIR
DEFAULT_PAGER LOCALAPIOCTFILEDIR
ARCHLIBDIR LOCALARCHLIBDIR
BINDIR LOCALFCNFILEDIR
DATADIR LOCALOCTFILEDIR
EXEC_PREFIX LOCALSTARTUPFILEDIR
FCNFILEDIR LOCALVERARCHLIBDIR
LOCALVEROCTFILEDIR LOCALVERFCNFILEDIR
IMAGEDIR MAN1DIR
MAN1EXT MANDIR
INCLUDEDIR OCTFILEDIR
INFODIR OCTINCLUDEDIR
INFOFILE OCTLIBDIR
LIBDIR PREFIX
LIBEXECDIR STARTUPFILEDIR
LIBEXECDIR VERSION
-v, --version Print the Octave version number.
I started modifying the octave.cmake file to make use of it but,
sadly, have never had time to finish it... (no improvements in sight,
I just bought a new house which is lacking 50+ yrs of care...)
FWIW, I attach a patch for octave.cmake hoping it may prove useful to someone.
Best, Per
octave.cmake.patch
Description: Binary data
On Oct 31, 2006, at 20:12, Orion Poplawski wrote:
Here's what I've got so far: #1 Not being able to find Octave libraries: -- OCTAVE_VERSION = GNU Octave, version 2.9.9 (i686-redhat-linux-gnu). Copyright (C) 2006 John W. Eaton. This is free software see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY not even for MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE.Additional information about Octave is available at http:// www.octave.org.Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Report bugs to <[EMAIL PROTECTED]> (but first, please readhttp://www.octave.org/bugs.html to learn how to write a helpful report).-- WARNING: octave headers and/or library not found. Disabling octave bindings-- OCTAVE_LIBRARIES = OCTAVE_LIBRARIES-NOTFOUND -- OCTINTERP_LIBRARIES = OCTINTERP_LIBRARIES-NOTFOUND -- OCTAVE_INCLUDE_PATH = OCTAVE_INCLUDE_PATH-NOTFOUND Can't find anything useful in the cmake logs though. ls usr/include/octave-2.9.9/octave/oct.h ls -l usr/lib/octave-2.9.9/ total 17644lrwxrwxrwx 1 root root 17 Oct 30 17:50 libcruft.so -> libcruft.so.2.9.9-rwxr-xr-x 1 root root 331540 Oct 3 12:57 libcruft.so.2.9.9 lrwxrwxrwx 1 root root 18 Oct 30 17:50 liboctave.so -> liboctave.so.2.9.9 -rwxr-xr-x 1 root root 8272788 Oct 3 12:57 liboctave.so.2.9.9 lrwxrwxrwx 1 root root 21 Oct 30 17:50 liboctinterp.so -> liboctinterp.so.2.9.9 -rwxr-xr-x 1 root root 9434616 Oct 3 12:57 liboctinterp.so.2.9.9 #2 Can't find jni.h: -- WARNING: jni.h header not found. Disabling Java bindings. Please install that header and/or set the environment variable CMAKE_INCLUDE_PATH appropriately. which is in /usr/lib/jvm/java/include/jni.h. I'll fix the cmake package to look there, but in the meantime setting JAVA_HOME to /usr/lib/jvm/java does the trick. -- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
