Martin,

thanks for the quick sleuthing.  it is very weird.  too bad the linker
(in addition to preferring /opt/X11/lib) doesn't complain about
duplicate symbols or some such.

here's a bit more mystery (probably my ignorance of fink or R): if i
build R (either 2.15.0 or 2.15.2) by hand (*), plotting works.

what was the tool/options you used to find the duplicate libraries?
(i'm afraid i've never really progressed beyond .o files and nm(1).)

cheers, Greg

(*) "by hand" means, i download the tar file, untar, cd to the source
directory, patch it with the r-base215.patch, then manually substitute
for %p ["/sw"] and %c (from ConfigureParams) in CompileScript from
r-base215.info, then copy and paste the resulting string into a bash
shell, and let it run.  here's the pasted string:
----
  #!/bin/sh -efv
  
  export F77=/sw/bin/gfortran-fsf-4.7
  export FC=/sw/bin/gfortran-fsf-4.7

  perl -pi -e "s|vecLib|Accelerate|g" src/modules/lapack/vecLibg95c.c
  
  unset R_HOME
  ./configure --libdir='/sw/lib' --mandir='${prefix}/share/man' \
  --with-blas="-framework vecLib -dylib_file 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib"
 \
  --with-lapack \
  --with-aqua --enable-R-framework=/sw/Library/Frameworks \
  --with-system-bzlib --with-system-pcre --with-system-zlib \
  --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
  --with-tcl-config=/sw/lib/tclConfig.sh --with-tk-config=/sw/lib/tkConfig.sh
  make

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to