Hi Hez:

I noticed your question on the list archives.  In response, here is exactly
what I did (in an initially empty build tree and with
/home/software/plplot_svn/installcmake empty as well).

cmake \
"-DCMAKE_INSTALL_PREFIX=/home/software/plplot_svn/installcmake" \
-DBUILD_TEST=ON -DFORCE_OCAMLC=OFF -DDEFAULT_NO_BINDINGS=ON \
-DENABLE_ocaml=ON ../plplot_cmake_qt >& cmake.out
make target_x01ocaml
pushd examples/ocaml
ocamlfind opt -package plplot -linkpkg x01.ml -o x01ocaml.opt

which gave the error message

ocamlfind: Package plplot' not found

I am still in the stage where building anything to do with ocaml is purely
a rote exercise so what alternative to the above steps do you recommend
so that the plplot package will be found?

Note, I am not sure this "lost package plplot" problem is a build system
issue because the above steps do appear to have all the correct dependencies
built.  For example, here is what is in bindings/ocaml in the build tree
after the above.

softw...@raven> ls bindings/ocaml
CMakeFiles/          plcairo/     plplot.ml        plplot_core.idl
CTestTestfile.cmake  plplot.a     plplot.mli       plplot_core.ml
META                 plplot.cma   plplot.o         plplot_core.mli
Makefile             plplot.cmi   plplot_core.cmi  plplot_core.o
cmake_install.cmake  plplot.cmo   plplot_core.cmo  plplot_core_stubs.c
dllplplot_stubs.so*  plplot.cmx   plplot_core.cmx  plplot_core_stubs.o
libplplot_stubs.a    plplot.cmxa  plplot_core.h    plplot_impl.o

Isn't one of those the required plplot package that is not being found
by your recommended command?

I did try an -I option pointing to the above directory, but it was no help.

No sign of life yet in my incoming mail so I do plan to continue checking
the plplot-devel archives for list traffic.

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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to