[R-SIG-Mac] EBimage

P. B. Pynsent p.b.pynsent at bham.ac.uk
Wed Mar 28 17:58:52 CEST 2007


platform       powerpc-apple-darwin8.8.0  - Mac Os 10.4.9
arch           powerpc
os             darwin8.8.0
system         powerpc, darwin8.8.0
status
major          2
minor          4.1
year           2006
month          12
day            18
svn rev        40228
language       R
version.string R version 2.4.1 (2006-12-18)

Has anybody managed to install the EBimage  package on Tiger?
I managed , with help, to compile the binaries with three warnings  
namely;

WARNING: ignoring environment value of R_HOME
libmain.cpp:31: warning: unused parameter ‘info’
libmain.cpp:31: warning: unused parameter ‘info’

however the loading into R then failed with:

Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library '/Users/paul/Library/R/library/EBImage/ 
libs/ppc/EBImage.so':
   dlopen(/Users/paul/Library/R/library/EBImage/libs/ppc/EBImage.so,  
6): Symbol not found:  
__ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEm
   Referenced from: /usr/local/lib/libMagick++.10.dylib
   Expected in: flat namespace
Error: package/namespace load failed for 'EBImage'
Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library '/Users/paul/Library/R/library/EBImage/ 
libs/ppc/EBImage.so':
   dlopen(/Users/paul/Library/R/library/EBImage/libs/ppc/EBImage.so,  
6): Symbol not found:  
__ZNSt24__default_alloc_templateILb1ELi0EE9_S_refillEm
   Referenced from: /usr/local/lib/libMagick++.10.dylib
   Expected in: flat namespace
Error: package/namespace load failed for 'EBImage'

I should be most grateful for some help.


_____________________________________________________
The make listing

trying URL 'http://www.bioconductor.org/packages/1.9/bioc/src/contrib/ 
EBImage_1.6.0.tar.gz'
Content type 'application/x-gzip' length 941012 bytes
opened URL
==================================================
downloaded 918Kb

WARNING: ignoring environment value of R_HOME
* Installing *source* package 'EBImage' ...
checking for Magick++-config... yes
ImageMagick version 6.3.3 found
checking for Magick++-config... yes
ImageMagick++ includes located in -I/usr/local/include
R found in: /Library/Frameworks/R.framework/Resources
configure: creating ./config.status
config.status: creating src/Makevars
** libs
** arch - ppc
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c alg_watershed.cpp -o alg_watershed.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c colors.cpp -o colors.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c common.cpp -o common.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c conversions.cpp -o conversions.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c display.cpp -o display.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c drawables.cpp -o drawables.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c flt_distmap.cpp -o flt_distmap.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c flt_magick.cpp -o flt_magick.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c flt_morph.cpp -o flt_morph.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c flt_normalize.cpp -o flt_normalize.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c flt_thresh.cpp -o flt_thresh.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c indexing.cpp -o indexing.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c io.cpp -o io.o
g++-4.0 -arch ppc -I/Library/Frameworks/R.framework/Resources/include  
-I/Library/Frameworks/R.framework/Resources/include/ppc  -I/usr/local/ 
include   -I/usr/local/include -g -O2 -Wall -W -D_THREAD_SAFE  -fPIC   
-g -O2 -c libmain.cpp -o libmain.o
libmain.cpp:31: warning: unused parameter ‘info’
g++-4.0 -arch ppc -dynamiclib -Wl,-macosx_version_min -Wl,10.3 - 
undefined dynamic_lookup -single_module -multiply_defined suppress -L/ 
usr/local/lib -o EBImage.so alg_watershed.o colors.o common.o  
conversions.o display.o drawables.o flt_distmap.o flt_magick.o  
flt_morph.o flt_normalize.o flt_thresh.o indexing.o io.o libmain.o -L/ 
usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -lfreetype -lz -Wl,- 
framework,CoreServices,-framework,ApplicationServices -lMagick++ - 
lMagick -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 - 
lz -lpthread -lm -lpthread -lWand -lMagick   -L/Library/Frameworks/ 
R.framework/Resources/lib/ppc -lR -dylib_file libRblas.dylib:/Library/ 
Frameworks/R.framework/Resources/lib/ppc/libRblas.dylib
libmain.cpp:35: warning: unused parameter ‘info’
** R
** inst
** save image
** help
 >>> Building/Updating help pages for package 'EBImage'
      Formats: text html latex example
   Drawable.class                    text    html    latex   example
   Drawable.draw                     text    html    latex   example
   EBImage-package                   text    html    latex
   Image.class                       text    html    latex   example
   Image.io                          text    html    latex   example
   alg.watershed                     text    html    latex   example
   colors                            text    html    latex   example
   colors.arithm                     text    html    latex
   flt.distMap                       text    html    latex   example
   flt.magick-colors                 text    html    latex   example
   flt.magick-enhance                text    html    latex   example
   flt.magick-segment                text    html    latex   example
   flt.magick-transform              text    html    latex   example
   flt.magick                        text    html    latex
   flt.morph                         text    html    latex   example
   flt.morph.mKernel                 text    html    latex   example
   flt.thresh                        text    html    latex   example
   internals                         text    html    latex
   updates                           text    html    latex
** building package indices ...

The downloaded packages are in
	/private/tmp/Rtmp0kZZSX/downloaded_packages
* DONE (EBImage)

P. B. Pynsent,
Research & Teaching Centre,
Royal Orthopaedic Hospital,
Northfield,
Birmingham, B31 2AP,
U. K.



More information about the R-SIG-Mac mailing list