Hello,
I'm desperatly trying and retrying to install rpy2 on my Mac OS 10.6 in
order to run SDA4PP plugin on QGIS. My version of R is 2.14.0 and it was
obviously compiled with the option --enable-R-shlib. I've installed the Apple
developper tools through xcode3.
When I typeeasy_install rpy2 on the Terminal, I get a long list of warnings
starting with
warning: no previously-included files matching 'patch' found anywhere
in distribution
and ending with
./rpy/rinterface/_rinterface.c: In function ‘EmbeddedR_ChooseFile’:
./rpy/rinterface/_rinterface.c:646: warning: ‘gstate’ may be used uninitialized
in this function lipo:
can't open input file:
/var/folders/5L/5Li0yCI7EqmkqJ+Ra--M9U+++TI/-Tmp-//ccQiCvrB.out (No such file
or directory) error: Setup script exited with error: command
'gcc-4.2' failed with exit status 1:
I got a similar result installing manually rpy2-2.2.6.tar.gz through python
setup.py install
I also tryed through Macport with sudo port install py26-rpy2. It bugged again
with:
---> Applying patches to glib2
Error: org.macports.patch for port glib2 returned: command execution failed
Error: Failed to install glib2
Please see the log file for port glib2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
Error: The following dependencies were not installed: R cairo glib2 libpixman
libpng xorg-xcb-util xorg-libxcb python27 db46 libedit openssl python_select
sqlite3 xorg-libXau xorg-xproto xorg-libXdmcp xorg-libpthread-stubs
xorg-xcb-proto xrender xorg-libX11 xorg-kbproto xorg-renderproto gcc45 cctools
cctools-headers llvm-3.0 llvm_select gcc_select gmp ld64 libmpc mpfr ppl glpk
icu jpeg pango Xft2 gobject-introspection readline tcl tiff tk
xorg-libXScrnSaver xorg-libXext xorg-xextproto xorg-scrnsaverproto xorg-libXmu
xorg-libXt xorg-libsm xorg-libice python26
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port py26-rpy2 failed
And on the log file for port glib2:
:info:patch sh: line 0: cd:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.32.3:
No such file or directory
:info:patch Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.32.3"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/glib2/files/patch-configure.diff'
:info:patch Exit code: 1
:error:patch org.macports.patch for port glib2 returned: command execution
failed
:debug:patch Error code: CHILDSTATUS 96571 1
:debug:patch Backtrace: command execution failed
while executing
"system $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec patch "" "< '$patch'""
(procedure "portpatch::patch_main" line 35)
invoked from within
"$procedure $targetname"
:info:patch Warning: targets not executed for glib2: org.macports.activate
org.macports.patch org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:error:patch Failed to install glib2
:debug:patch couldn't open
"/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no
such file or directory
while executing
"open [file join $dir tclIndex]"
:notice:patch Please see the log file for port glib2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
I've already posted this request on StackExchange and "it might be that the
latest OSX releases are compiling for LLVM (and the code base is giving it
trouble)".
Any idea ?
Isn't there a working dmg image file available somewhere ?
Thanks for your help.
Stanislas Rebaudet
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list