|
From: Alan W. I. <ai...@us...> - 2003-12-19 17:56:08
|
On 2003-12-19 08:37+0100 Michel Peyrard wrote: > > Plplot on Mac OS X 10.3 > ----------------------- > > Unfortunately it does not seem to be as simple as that. I downloaded > the CVS tar file and tried to install plplot on macosx 10.3 without > success up to now. Attempts to disable dynamic drivers did not help. > > Since I had problems with fortran, I tried ./configure --disable-f77 > > The make still fails and I have not yet found a way to solve that. I have now reviewed some of the messages on plplot_devel for late September especially with the subject line "Fairly good success with Mac OS X" It appears you have run into a known problem with dynamic drivers for Mac OS X below. In September when we ran into this "./get-drv-info" issue before, full diagnostic output was generated for the developer who is knowledgable about ./get-drv-info, but I don't think he has had time to look into it yet. It's a difficult situation since no core developer has access to Mac OS X, and we are looking for some knowledgable person to step forward to dig through our code and autotools configuration to help us sort out any problems for that platform. For now, I advise using ./configure --disable-f77 --disable-dyndrivers or (if you need fortran) ./configure --disable-shared --disable-dyndrivers (From Rob Managan's ultimately successful tests in September, I recall there was some problem with the default shared libraries and fortran common blocks that could only be solved if you forced the use of static libraries as above.) I also strongly advise starting fresh every time (mv the old build directory out of the way and start with a fresh unpack of the tarball) and also make sure your prior installed results are completely removed. The easiest way to do the latter is to use a prefix such as --prefix=/usr/local/plplot. The old install can then be completely removed using rm -rf /usr/local/plplot. Alan > On Thu, 18 Dec 2003, Alan W. Irwin wrote: > > > On 2003-12-19 00:38+0100 Jens Frederich wrote: > > > > > hi, > > > > > > I will run plplot on macosx 10.3. > > > When I try to compile plplot I become many error messages. > > > Can anyone help me? > > > > > > /Jens > > > > This is a known libtool-1.4.x related problem with 5.2.1. The solution was > > for us to build our tarball with libtool-1.5. At some point we will bring > > out our next official release based on libtool-1.5, but meanwhile try a test > > version of PLplot instead that has been built with libtool-1.5 and which is > > located at http://people.debian.org/~rafael/plplot.html. Others have had > > good luck with our test versions and Mac OS X (and Cygwin as well which also > > doesn't work for 5.2.1 because of libtool-1.4.x problems.). > > > > Alan > > __________________________ > > Alan W. Irwin > > email: ir...@be... > > ----------------------------------------------------------------- > Problem compiling PLPLOT on Mac OS X 10.3 > ------------------------------------------ > .... successful compilations ... until something goes wrong! > > /bin/sh ../libtool --mode=link gcc -g -O2 -o xwin.la -rpath /usr/local/lib/plplot5.2.1.cvs.20031030/data/../driversd -no-undefined -module -avoid-version ../src/libplplotd.la -L/usr/X11R6/lib -lX11 -lm xwin_la-xwin.lo > gcc -o .libs/xwin.so -bundle .libs/xwin_la-xwin.o /usr/local/src/plplot-5.2.1.cvs.C/lib/csa/.libs/libcsirocsa.dylib ../src/.libs/libplplotd.dylib -L/usr/X11R6/lib -lX11 -lm > ld: warning -prebind has no effect with -bundle > ar cru .libs/xwin.a xwin_la-xwin.o > ranlib .libs/xwin.a > creating xwin.la > (cd .libs && rm -f xwin.la && ln -s ../xwin.la xwin.la) > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libltdl -I../libltdl -g -O2 -MT get_drv_info-get-drv-info.o -MD -MP -MF ".deps/get_drv_info-get-drv-info.Tpo" \ > -c -o get_drv_info-get-drv-info.o `test -f 'get-drv-info.c' || echo './'`get-drv-info.c; \ > then mv -f ".deps/get_drv_info-get-drv-info.Tpo" ".deps/get_drv_info-get-drv-info.Po"; \ > else rm -f ".deps/get_drv_info-get-drv-info.Tpo"; exit 1; \ > fi > /bin/sh ../libtool --mode=link gcc -g -O2 -o get-drv-info get_drv_info-get-drv-info.o ../libltdl/libltdlc.la > gcc -g -O2 -o get-drv-info get_drv_info-get-drv-info.o ../libltdl/.libs/libltdlc.a -ldl > ./get-drv-info `echo dg300.la | sed 's/.la//'` > dg300.rc > ltdl.c:2460: failed assertion `dirname' > make[2]: *** [dg300.rc] Error 134 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |