[R-SIG-Mac] question about installing from source
Simon Urbanek
simon.urbanek at r-project.org
Wed Oct 21 16:40:03 CEST 2009
FWIW a 4-way universal FFTW is now available from
http://r.research.att.com/libs/
so you don't have to compile your own (just make sure you delete
previous dynamic builds if you had any!). It works with both 32-bit
and 64-bit R on both Leopard and Snow Leopard.
Cheers,
Simon
On Oct 20, 2009, at 23:44 , Mark Daniel Ward wrote:
> I am trying to install the Rcartogram library. I've never had
> trouble doing
> this before, but I recently upgraded to Snow Leopard, which may be
> causing a
> problem. I do have FFTW3 installed on my machine, and I've never
> had trouble
> with it before either. I even tried installing FFTW3 again, but
> this did not
> seem to fix the problem.
>
> Here is the error I get when trying to install the Rcartogram
> library from
> Omegahat. If anyone has any suggestions, I would really appreciate
> it.
>
> #######################################################################
>
>> install.packages("Rcartogram", repos="http://www.omegahat.org/R/",
> type="source")
> trying URL 'http://www.omegahat.org/R/src/contrib/Rcartogram_0.2-2.tar.gz'
> Content type 'application/x-gzip' length 123576 bytes (120 Kb)
> opened URL
> ==================================================
> downloaded 120 Kb
>
> * Installing *source* package ‘Rcartogram’ ...
> checking for pkg-config... no
> Looking for fftw3 files in /usr/local
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> Can compile with fftw3.h
> checking for fftw_malloc in -lfftw3... yes
> Trying to link against libfftw3
> Can link against libfftw3
> configure: creating ./config.status
> config.status: creating src/Makevars
> ** libs
> ** arch - i386
> gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/
> Resources/include -
> I/Library/Frameworks/R.framework/Resources/include/i386 -I/usr/local/
> include/ -
> DNOPROGRESS -I/usr/local/include -fPIC -g -O2 -c Rcart.c -o
> Rcart.o
> gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/
> Resources/include -
> I/Library/Frameworks/R.framework/Resources/include/i386 -I/usr/local/
> include/ -
> DNOPROGRESS -I/usr/local/include -fPIC -g -O2 -c cart.c -o cart.o
> gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-
> headerpad_max_install_names -mmacosx-
> version-min=10.4 -undefined dynamic_lookup -single_module -
> multiply_defined
> suppress -L/usr/local/lib -o Rcartogram.so Rcart.o cart.o -L/usr/
> local/lib -
> lfftw3 -lfftw3 -F/Library/Frameworks/R.framework/.. -framework R -
> Wl,-framework
> -Wl,CoreFoundation
> ld: warning: in /usr/local/lib/libfftw3.a, file is not of required
> architecture
> ld: warning: duplicate dylib /usr/local/lib/libgcc_s.1.dylib
> ** R
> ** data
> ** demo
> ** preparing package for lazy loading
> ** help
> *** installing help indices
>>>> Building/Updating help pages for package 'Rcartogram'
> Formats: text html latex example
> addBoundary text html latex example
> cartogram text html latex example
> uspop text html latex example
> ** building package indices ...
> * DONE (Rcartogram)
>
> The downloaded packages are in
> ‘/private/var/folders/bP/bPCSLe+IHZab-XXPI9KflE+++TM/-Tmp-
> /RtmpZhzOMh/downloaded_packages’
> Updating HTML index of packages in '.Library'
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
More information about the R-SIG-Mac
mailing list