|
From: Joe K. <jko...@co...> - 2005-09-18 20:59:21
|
I'm attempting to build PLplot 5.5.3 on my G5 Mac under OS X 10.3.9. The
./configure seems to complete without problems. The end of the configure
shows:
command: ./configure CC=gcc --enable-ltdl-convenience
host: powerpc-apple-darwin7.9.0
have_x: yes
prefix: /usr/local
CC: gcc
CXX: g++
F77: g77
LIB_TAG: d
devices: aqt hp7470 hp7580 lj_hpgl mem null pbm plmeta ps psc pstex
xfig xwin
Available device drivers:
static:
dynamic: aqt.la hpgl.la mem.la null.la pbm.la plmeta.la ps.la
pstex.la xfig.la xwin.la
Compilation options:
with_debug: no
Library options:
enable_shared: yes enable_static: yes
with_rpath: yes with_double: yes
Optional libraries:
with_qhull: no with_csa: yes
with_freetype: no with_pthreads: no
Language Bindings:
enable_tcl: no enable_itcl: no
enable_cxx: yes enable_f77: yes
enable_java: no enable_python: no
enable_octave: yes enable_pdl: no
When I "make", the makefile starts, but exits with an error:
<snip>
mkdir .libs
gcc -g -O2 -o massage massage.o -lm
perl /Tools/plplot-5.5.3/bindings/octave/matwrap/matwrap -language octave -o
plplot_octave.cc -stub tmp_stub \
-cpp_ignore . -cpp_ignore plplot_octave_rej.h -cpp gcc \
-E -I. -C plplot_octave.h
mv -f plplot_octave.cc tmp_plplot_octave.cc
sed 's/ string / std::string /' tmp_plplot_octave.cc > plplot_octave.cc
LD_RUN_PATH=../../src/.libs:../../lib/csa/.libs \
mkoctfile -v -I. -I. plplot_octave.cc -L../../src/.libs -lplplotd
`../../scripts/get-dependency-libs.sh ../../src/.libs/libplplotd.la`
g++ -c -I/usr/local/include/octave-2.1.71
-I/usr/local/include/octave-2.1.71/octave -I/usr/local/include -g -O2 -I.
-I. plplot_octave.cc -o plplot_octave.o
g++ -bundle -bundle_loader /usr/local/bin/octave-2.1.71 -o plplot_octave.oct
plplot_octave.o -L../../src/.libs -lplplotd -L/Tools/plplot-5.5.3/lib/csa
-L/Tools/plplot-5.5.3/lib/csa/.libs -lcsirocsa -ldl -lm
-L/usr/local/lib/octave-2.1.71 -loctinterp -loctave -lcruft -framework
vecLib -lreadline -lncurses -lm -lg2c
ld: warning multiple definitions of symbol _xerbla_
/usr/local/lib/octave-2.1.71/liboctinterp.dylib(single module) definition of
_xerbla_
/usr/local/lib/octave-2.1.71/libcruft.dylib(single module) definition of
_xerbla_
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/libBLAS.dylib(single module) definition of _xerbla_
ld: Undefined symbols:
_plparseopts
make[4]: *** [plplot_octave.oct] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
How do I get _plparseopts defined? PLplot 5.5.2 does the same thing. PLplot
5.3.1 builds and installs ok, but is missing the aqt driver.
Joe
|