Re: [R] [R-SIG-Mac] rimage doesn't install on Mac OS X 10.4

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Wed, 12 Nov 2008 14:32:08 -0500

Scott,

can you, please, include sessionInfo() in your output? Without knowing what machine you're running on (and incomplete output you sent) I can only guess that you simply don't have universal binary of your dependent libraries so you cannot build a universal package (somewhat likely given that you're pulling in fink directories).

Cheers,
Simon

On Nov 12, 2008, at 12:45 , Waichler, Scott R wrote:

> Hi,
>
> I'm trying to install rimage on a Mac OS X 10.4 machine. I followed
> the
> advice in previous R-help threads and got over the hurdles of having
> the
> header files in the right places, among other things. But I can't
> figure out what to do with this error.
>
> ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini
> SPSoftwareDataType
> Software: System Software Overview:
> System Version: Mac OS X 10.4.11 (8S165)
> Kernel Version: Darwin 8.10.0
> ice.pnl.gov:/home/waichler<942>echo $C_INCLUDE_PATH
> /usr/local/include
> ice.pnl.gov:/home/waichler<946>echo $MACOSX_DEPLOYMENT_TARGET
> 10.4
>
> ice.pnl.gov:/home/waichler<947>sudo R CMD INSTALL
> --configure-vars='LDFLAGS=-L/sw/lib CPPFLAGS=-I/sw/include'
> /Users/ladmin/rimage_0.5-7.tar.gz
> . . .
> gcc -arch ppc -std=gnu99
> -I/Library/Frameworks/R.framework/Resources/include
> -I/Library/Frameworks/R.framework/Resources/include/ppc -g -O2
> -I/sw/include-I/usr/local/include -fPIC -g -O2 -c sobel.c -o
> sobel.o
> g++ -arch ppc -dynamiclib -Wl,-headerpad_max_install_names
> -mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module
> -multiply_defined suppress -L/usr/local/lib -o rimage.so equalize.o
> fftw_access_func.o freqfilters.o interface.o jpegio.o laplacian.o
> matrix.o smooth.o sobel.o -L/sw/lib -ljpeg -lfftw
> -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework

> -Wl,CoreFoundation
> ld: /Library/Frameworks/R.framework/../R.framework/R load command 14
> unknown cmd field
> /usr/bin/libtool: internal link edit command failed
> make: *** [rimage.so] Error 1
> chmod:
> /Library/Frameworks/R.framework/Versions/2.8/Resources/library/
> rimage/li
> bs/ppc/*: No such file or directory
> ERROR: compilation failed for package 'rimage'
>
> (I have also tried to install the package from the Mac GUI for R,
> but it
> quits at not being able to find the jpeglib.h file, which I solved in
> the command line session excerpted above using "setenv C_INCLUDE_PATH
> /usr/local/include".)
>
> Scott Waichler
> Pacific Northwest National Laboratory
> scott.waichler_at_pnl.gov
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac_at_stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 12 Nov 2008 - 19:37:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Nov 2008 - 20:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive