From: <jc...@fe...> - 2002-12-04 13:38:04
|
On Wednesday 04 December 2002 04:09, Valerij Pipin wrote: | Dave Armstrong wrote | | >I have a (modified) Red Hat 7.3 system I am trying to install Plplot | > on. I have Octave 2.1.40 and have compiled it with --enable-dl and | > --enable-shared. I have configured PlPlot with --eanble-octave.=20 | > When I try to compile Plplot it generates many errors in the | > plplot_octave.cc file. Below is the beginning of the error message | > stream. I am using gcc 3.2 and I have installed matwrap. Anyone | > have any idea what is going on here? | | I confirm the problem. I built octave-2.1.39 with gcc-3.2 and | options --enable-dl --enable-shared. When I tried to build plplot | with octave by using gcc-3.2 the building breaks at compiling =20 | plplot_octave.cc. Then I made reconfigure with "CXX=3Dg++-2.95.3 | ./configure ......". | | Well, the compiling was ok after this except I cannot use this built | to make rpm because of wrong parameters in RPATH variable (it was a | wrong path which referee to the build dir and not to the path where | octave module to be installed). In order to test the build before install, LD_RUN_PATH is set to the=20 current directory during a plain make, and set to the instalation=20 directory during "make install", i.e., plplot_octave is rebuilt during=20 a "make install". If you want to make a rpm without "make install" (I have no rpm=20 knowledge), you can just recompile with the correct LD_RUN_PATH, LD_RUN_PATH=3D<where plplot libs will be> mkoctfile -I. -L.=20 plplot_octave.cc $(OCTAVE_LIBS) You have to watch the output of a plain make in order to get=20 $(OCTAVE_LIBS), or you can browse the Makefile. Joao | | | | Best regards | Valerij | | | | | | ------------------------------------------------------- | This SF.net email is sponsored by: Microsoft Visual Studio.NET | comprehensive development tool, built to increase your | productivity. Try a free online hosted session at: | http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en | _______________________________________________ | Plplot-general mailing list | Plp...@li... | https://lists.sourceforge.net/lists/listinfo/plplot-general |