From: Rajeev A. <au...@sl...> - 2005-02-04 13:41:00
|
Hazen, I tried this first (just plain old ./configure), and only when it did not compile did I start reading the INSTALL and README. The src is from plplot.sourcefourge.com (I got 5.3.0). I also read about the problems w/FREETYPE etc., so it made sense to include those flags in the ./configure (i.e. ./configure --mandir=/sw/share/man FREETYPELIBDIR=/usr/X11R6/lib FREETYPEINCDIR=/usr/X11R6/include/freetype2 TCLLIBDIR=/sw/lib TKLIBDIR=/sw/lib GDLIBDIR=/sw/lib JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home --with-pthreads --with-pkg-config). I have installed the latest version of libtool (1.5.8) and the versions available with fink of automake (1.6.3) and autoconf (2.57). Although, I notice that plplot builds it's own version of libtool. The problem seems to be with common declaration in sfstubs.o in building the f77 dynamic library. I have tried to manually compile using g77 and gcc, and including -fno-common flage got it past several problems but not the last step in building dylib (on my powerbook which has 10.2.8) I'll try it on 10.3. Thanks for the suggestions! -Rajeev. On 2/3/05 9:02 PM, "hba...@ma..." <hba...@ma...> wrote: > > Did you have any luck with plain old? (PLplot version 5.3.1 downloaded from > Sourceforge) > > ./configure > make > make install > > You might try getting a more recent version of automake, autoconf and libtool > then a Mac is typically shipped with (I have the versions mentioned in the > docs that Per referred too). Also, If you don't have it, you might try getting > the latest version of X11 from Apple. I had little success with programs that > used X windows prior to this version. > > -Hazen > > On Thursday, February 03, 2005, at 01:07PM, Per Persson <per...@ma...> > wrote: > >> Rajeev, >> There is some info on PLplot/Mac OS X over on the AquaTerm website, >> http://aquaterm.sf.net >> Have a look in the PLplot dir in the "adapters" module of CVS and also >> be sure to check the mailing list archives. >> A direct link to CVS web is >> http://cvs.sourceforge.net/viewcvs.py/aquaterm/adapters/plplot/ >> >> A few observations: >> Using g77 for linking on OS X is problematic, try using gcc instead. >> >> On Feb 3, 2005, at 20:45, Rajeev Aurora wrote: >>> >>> g77 -dynamiclib -o .libs/libplplotf77d.9.0.0.dylib >>> .libs/libplplotf77d.9.0.0.dylib-master.o >>> /Users/himadri/dev/plplot/plplot-5.3.0/lib/csa/.libs/libcsirocsa.dylib >>> -L/usr/X11R6/lib ../../src/.libs/libplplotd.dylib -install_name >>> /usr/local/lib/libplplotf77d.9.dylib -compatibility_version 10 >>> -current_version 10.0 >>> ld: warning multiple definitions of symbol ___eprintf >>> ../../src/.libs/libplplotd.dylib(_eprintf.o) definition of ___eprintf >>> /Users/himadri/dev/plplot/plplot-5.3.0/lib/csa/.libs/ >>> libcsirocsa.dylib(_epri >>> ntf.o) definition of ___eprintf >>> ld: common symbols not allowed with MH_DYLIB output format with the >>> -multi_module option >> >> -multi_module is a default option, try using -single_module >> >>> .libs/libplplotf77d.9.0.0.dylib-master.o definition of common _plplot_ >>> (size >>> 48) >> >> You also want to avoid common sections, -fno-common may be useful. >> >> I see that you use fink, doesn't fink supply PLplot? >> >> >> /Per >> -------- >> Per Persson, Ph.D. Applied Signal Processing >> Resume, contact info and more: >> http://homepage.mac.com/persquare >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Plplot-devel mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-devel >> >> >> ----------- Rajeev Aurora Associate Professor Dept. of Molecular Microbiology and Immunology Saint Louis University School of Medicine 1402 South Grand Blvd. M410 St. Louis, MO 63104 Voice: (314) 977-8891 Fax: (314) 977-8717 Web: http://macro.slu.edu |