From: <hba...@ma...> - 2006-03-29 01:46:38
|
On Mar 28, 2006, at 4:25 PM, lan...@qw... wrote: > > Yes--I ran these commands twice, once with the space and once > without the space: > ./configure --disable-dyndrivers --disable-f77 > make > make install This *should* work (for 10.4 as well as 10.3) if modify your make command to: make LIBS="-Wl,-framework -Wl,Foundation" (note that it is a "l" not a "1", see the INSTALL file) I think the problem with the above is that if you disable dyn-drivers then the compiler needs to be able to find these libraries in order to statically link them. > /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o > libplplotcxxd.la -rpath /usr/local/lib -version-info 11:0:2 -rpath / > usr/local/lib -no-undefined ../../src/libplplotd.la plstream.lo -lm > rm -fr .libs/libplplotcxxd.9.2.0.dylib > g++ -dynamiclib -single_module -o .libs/libplplotcxxd. > 9.2.0.dylib .libs/plstream.o ../../src/.libs/libplplotd.dylib / > Applications/Programming/Plotting_Stuff/plplot-5.5.3/lib/csa/.libs/ > libcsirocsa.dylib -lm -install_name /usr/local/lib/libplplotcxxd. > 9.dylib -compatibility_version 12 -current_version 12.0 > g++: installation problem, cannot exec `c++filt3': No such file or > directory > make[3]: *** [libplplotcxxd.la] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > I have seen this problem with c++filt3 before (not with PLplot) and > I have seen others discuss it in other contexts, but I still don't > know how to fix it. I believe that it might be a problem created by > Apple. Indeed, there is no c++filt3 on my computer, but there is a / > usr/bin/c++filt; the manpage for c++filt says "Demangle C++ and > Java symbols." I'm not able to reproduce this one, though I've seen it in the past in the context of a problem with g77. You could try making a copy of c ++filt & naming it c++filt3, or creating a symbolic link. One thing that is often useful for remote debugging is the last few lines of your configure, i.e. these lines: command: ./configure --disable-f77 --enable-ltdl-convenience host: powerpc-apple-darwin8.5.0 have_x: yes prefix: /usr/local CC: gcc CXX: g++ 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: no enable_java: no enable_python: no enable_octave: no enable_pdl: no Also, which versions of gcc & g++ do you have (gcc -v, g++ -v)? I've got 4.0.0 for both. best, -Hazen |