Bugs item #3075366, was opened at 2010-09-25 02:46
Message generated for change (Tracker Item Submitted) made by dmacks
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=3075366&group_id=48422

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: rpy2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Macks (dmacks)
Assigned to: Nobody/Anonymous (nobody)
Summary: get_rconfig error: returns flags as single shell-word

Initial Comment:
Trying to upgrade fink's rpy2 to version 2.1.4, setup.py fails:

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1 
-DRIF_HAS_RSIGHAND=1 -Irpy/rinterface -I/sw/include/python2.6 
-I/sw/Library/Frameworks/R.framework/Resources/include -c 
rpy/rinterface/rinterface.c -o 
build/temp.macosx-10.6-i386-2.6/rpy/rinterface/rinterface.o 
-F/sw/Library/Frameworks/R.framework/.. -framework R -framework vecLib 
-dylib_file 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
cc1: error: unrecognized command line option "-framework vecLib -dylib_file 
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib"
error: command 'gcc' failed with exit status 1


It *looks* okay, but actually the whole set of flags reported in the error 
(-framework %s -dylib_file %s) is being passed as a single parameter rather 
than 4 separate shell words. That is because get_rconfig(r_home, 'BLAS_LIBS') 
returns it all as a single string (instead of an array) that is added to 
extra_link_args as a single element (rather than splitting apart on whitespace).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=3075366&group_id=48422

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to