kcrisman wrote:
In the meantime, yet another build error - this time rpy. What the
heck?
Same as with eclib and FLINT...
After all,
$ ls local/lib/R/lib/
libR.dylib libRblas.dylib libRlapack.dylib
$ otool -L local/lib/R/lib/libRblas.dylib
local/lib/R/lib/libRblas.dylib:
libRblas.dylib (compatibility version 0.0.0, current version 0.0.0)
^^^^^^^^^^^^^^
You have to change this to an absolute path ($SAGE_LOCAL/lib/R/lib/...),
with 'install_name_tool -id ...'.
Presumably the same for libRlapack.dylib, probably libR.dylib as well.
Don't know what changed (since Sage 6.2.beta0, inclusive, or probably
later) that makes this necessary now.
-leif
/Users/student/Desktop/sage-6.2.beta5/local/lib/libgfortran.3.dylib
(compatibility version 4.0.0, current version 4.0.0)
/Users/student/Desktop/sage-6.2.beta5/local/lib/libgomp.1.dylib
(compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/Users/student/Desktop/sage-6.2.beta5/local/lib/libgcc_s.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.1.12)
building 'rpy2.rinterface._rinterface' extension
creating build/temp.macosx-10.4-ppc-2.7
creating build/temp.macosx-10.4-ppc-2.7/rpy
creating build/temp.macosx-10.4-ppc-2.7/rpy/rinterface
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DRIF_HAS_RSIGHAND=1
-DCSTACK_DEFNS=1 -DHAS_READLINE=1 -DRPY_BIGENDIAN=1 -I./rpy/rinterface
-I/Users/student/Desktop/sage-6.2.beta5/local/include/python2.7
-I/Users/student/Desktop/sage-6.2.beta5/local/lib/R//include -c
./rpy/rinterface/_rinterface.c -o
build/temp.macosx-10.4-ppc-2.7/./rpy/rinterface/_rinterface.o
In file included from ./rpy/rinterface/_rinterface.c:125:0:
./rpy/rinterface/sexp.c: In function 'Sexp_rclass_set':
./rpy/rinterface/sexp.c:369:5: warning: return makes integer from
pointer without a cast [enabled by default]
./rpy/rinterface/sexp.c: In function 'Sexp_init':
./rpy/rinterface/sexp.c:711:13: warning: unused variable 'copy'
[-Wunused-variable]
In file included from ./rpy/rinterface/_rinterface.c:104:0:
./rpy/rinterface/_rinterface.c: At top level:
./rpy/rinterface/embeddedr.h:20:20: warning: '_Rpy_PreserveObject'
declared 'static' but never defined [-Wunused-function]
In file included from ./rpy/rinterface/_rinterface.c:129:0:
./rpy/rinterface/sequence.c:2190:1: warning: 'ComplexVectorSexp_AsSexp'
defined but not used [-Wunused-function]
./rpy/rinterface/_rinterface.c: In function 'EmbeddedR_ShowFiles':
./rpy/rinterface/_rinterface.c:893:3: warning: 'gstate' may be used
uninitialized in this function [-Wmaybe-uninitialized]
gcc -bundle -undefined dynamic_lookup
-L/Users/student/Desktop/sage-6.2.beta5/local/lib
build/temp.macosx-10.4-ppc-2.7/./rpy/rinterface/_rinterface.o
-L/Users/student/Desktop/sage-6.2.beta5/local/lib/R//lib
-L/Users/student/Desktop/sage-6.2.beta5/local/lib/R/modules -lR -lR -o
build/lib.macosx-10.4-ppc-2.7/rpy2/rinterface/_rinterface.so
/usr/bin/ld: warning can't open dynamic library: libRblas.dylib
referenced from:
/Users/student/Desktop/sage-6.2.beta5/local/lib/R//lib/libR.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_dgemm_ referenced from libR expected to be defined in libRblas.dylib
_dsyrk_ referenced from libR expected to be defined in libRblas.dylib
_dtrsm_ referenced from libR expected to be defined in libRblas.dylib
_zgemm_ referenced from libR expected to be defined in libRblas.dylib
_daxpy_ referenced from libR expected to be defined in libRblas.dylib
_dswap_ referenced from libR expected to be defined in libRblas.dylib
_ddot_ referenced from libR expected to be defined in libRblas.dylib
_dasum_ referenced from libR expected to be defined in libRblas.dylib
_dscal_ referenced from libR expected to be defined in libRblas.dylib
_dnrm2_ referenced from libR expected to be defined in libRblas.dylib
_dcopy_ referenced from libR expected to be defined in libRblas.dylib
_drot_ referenced from libR expected to be defined in libRblas.dylib
_drotg_ referenced from libR expected to be defined in libRblas.dylib
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
real 0m39.928s
user 0m18.498s
sys 0m4.154s
************************************************************************
Error installing package rpy2-2.3.8
************************************************************************
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.