[R-SIG-Mac] RXLisp

Simon Urbanek simon.urbanek at r-project.org
Mon Mar 5 16:29:24 CET 2007


Toshinari,

you may want to contact the package maintainer, because RXLisp  
doesn't work on a OS X out of the box. After a bunch of hacks I have  
succeeded in compiling it and get it to load, but it's still not very  
useful, because it is still missing something at the Lisp level.  
Anyway, attached, you'll find a commented shell script that can be  
used to build the whole thing.

Cheers,
Simon

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-rxlisp.txt
Url: https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20070305/29989330/attachment.txt 
-------------- next part --------------

On Mar 4, 2007, at 9:30 AM, kamakura wrote:

> Hi,
>
> Does anyone succeed in installing RXLisp on intel Mac OS X 10.4.8
> Tiger ?
> I often use XLispstat on my intel mac.  I would be happy if it could
> be used as R library.
> I have installed xlispstat on my intel mac.
>
> export XLISP_SRC_DIR=/Users/kamakura/work/xlispstat-3-52-20/
> sudo R CMD INSTALL -configure-arg='-with-build-dll' RXLisp
>
> WARNING: invalid package '-configure-arg=-with-build-dll'
> * Installing *source* package 'RXLisp' ...
> loading cache ./config.cache
> *** Assuming XLisp installation is located in /usr/local/lib/xlispstat
> creating ./config.status
> creating src/Makevars
> creating R/XLispConfig.S
> creating cleanup
> creating inst/scripts/RXLisp.bsh
> creating inst/scripts/RXLisp.csh
> creating inst/scripts/inXLisp.lsp
> ** libs
> ** arch - i386
> (PKG_LIBS="-L. -lRXLispConverters -L/Users/kamakura/work/
> xlispstat-3-52-20/ -lxlisp" ; export PKG_LIBS ; R CMD SHLIB -o
> RXLisp.so RXLisp.c)
> gcc-4.0 -arch i386 -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -
> undefined dynamic_lookup -single_module -multiply_defined suppress -L/
> usr/local/lib -o RXLisp.so RXLisp.o -L. -lRXLispConverters -L/Users/
> kamakura/work/xlispstat-3-52-20/ -lxlisp  -L/Library/Frameworks/
> R.framework/Resources/lib/i386 -lR -dylib_file libRblas.dylib:/
> Library/Frameworks/R.framework/Resources/lib/i386/libRblas.dylib
> /usr/bin/libtool: can't locate file for: -lRXLispConverters
> /usr/bin/libtool: file: -lRXLispConverters is not an object file (not
> allowed in a library)
> /usr/bin/libtool: can't locate file for: -lxlisp
> /usr/bin/libtool: file: -lxlisp is not an object file (not allowed in
> a library)
> make[1]: *** [RXLisp.so] Error 1
> make: *** [RXLisp.so] Error 2
> ERROR: compilation failed for package 'RXLisp'
> ** Removing '/Library/Frameworks/R.framework/Versions/2.4/Resources/
> library/RXLisp'
>
>
>
> +++++++++++++++++++++++++++++
>      Toshinari Kamakura
>
>      Chuo University
>      1-13-27 Kasuga
>      Bunkyo-ku
>      Tokyo 112-8551, Japan
> ++++++++++++++++++++++++++++++
>
> _______________________________________________
> 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