On Friday, April 4, 2014 9:14:23 PM UTC+2, Evan Oman wrote:
>
> Alright so I downloaded 6.2 beta 5, ran it, and fixed a couple issues with 
> that rebasing script you gave me and other things that we figured out 
> before. 
>
> I do think the build has progressed more than my previous attempts but now 
> it got stuck with this error:
>
> ====================================================
> Setting up build directory for rpy2-2.3.8
> Finished set up
> ****************************************************
>
> ...
>
> copying ./rpy/interactive/tests/__init__.py -> 
> build/lib.cygwin-1.7.28-i686-2.7/rpy2/interactive/tests
> running build_ext
> "/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R/bin/R" CMD 
> config --ldflags
> "/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R/bin/R" CMD 
> config --cppflags
> "/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R/bin/R" CMD 
> config LAPACK_LIBS
>
> returned an empty string.
>
>
> returned an empty string.
>
> "/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R/bin/R" CMD 
> config BLAS_LIBS
>
> returned an empty string.
>
>
> returned an empty string.
>
> Configuration for R as a library:
>   include_dirs: 
> ('/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R//include',)
>   libraries: ('R',)
>   library_dirs: 
> ('/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R//lib', 
> '/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib')
>   extra_link_args: ()
>  # OSX-specific (included in extra_link_args)
>   framework_dirs: ()
>   frameworks: ()
> building 'rpy2.rinterface._rinterface' extension
> creating build/temp.cygwin-1.7.28-i686-2.7
> creating build/temp.cygwin-1.7.28-i686-2.7/rpy
> creating build/temp.cygwin-1.7.28-i686-2.7/rpy/rinterface
> gcc -I/usr/include/ncurses -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 -I./rpy/rinterface 
> -I/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/include/python2.7 
> -I/home/evan.oman/sage-6.2-beta5/sage-6.2.beta5/local/lib/R//include -c 
> ./rpy/rinterface/_rinterface.c -o 
> build/temp.cygwin-1.7.28-i686-2.7/./rpy/rinterface/_rinterface.o
> In file included from ./rpy/rinterface/_rinterface.c:124:0:
> ./rpy/rinterface/na_values.c:209:9: error: initializer element is not 
> constant
>          &PyLong_Type,           /*tp_base*/
>          ^
> ./rpy/rinterface/na_values.c:209:9: error: (near initialization for 
> 'NAInteger_Type.tp_base')
> ./rpy/rinterface/na_values.c:407:9: error: initializer element is not 
> constant
>          &PyLong_Type,             /*tp_base*/
>          ^
> ./rpy/rinterface/na_values.c:407:9: error: (near initialization for 
> 'NALogical_Type.tp_base')
> ./rpy/rinterface/na_values.c:593:9: error: initializer element is not 
> constant
>          &PyFloat_Type,             /*tp_base*/
>          ^
> ./rpy/rinterface/na_values.c:593:9: error: (near initialization for 
> 'NAReal_Type.tp_base')
> ./rpy/rinterface/na_values.c:695:9: error: initializer element is not 
> constant
>          &PyString_Type,             /*tp_base*/
>          ^
> ./rpy/rinterface/na_values.c:695:9: error: (near initialization for 
> 'NACharacter_Type.tp_base')
> ./rpy/rinterface/na_values.c:862:9: error: initializer element is not 
> constant
>          &PyComplex_Type,             /*tp_base*/
>          ^
> ./rpy/rinterface/na_values.c:862:9: error: (near initialization for 
> 'NAComplex_Type.tp_base')
> 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]
>      return NULL;
>      ^
> ./rpy/rinterface/sexp.c: In function 'Sexp_init':
> ./rpy/rinterface/sexp.c:711:13: warning: unused variable 'copy' 
> [-Wunused-variable]
>    PyObject *copy = Py_True;
>              ^
> 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]
>  static SexpObject* _Rpy_PreserveObject(SEXP object);
>                     ^
> 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]
>  ComplexVectorSexp_AsSexp(PyObject *pyfloat) {
>  ^
> error: command 'gcc' failed with exit status 1
>
> real    0m1.977s
> user    0m0.397s
> sys     0m0.933s
> ************************************************************************
> Error installing package rpy2-2.3.8
> ************************************************************************
>
> I thought it might have something to do with this 
> http://trac.sagemath.org/ticket/13350 but I am not sure how to apply the 
> patch listed there(if it is needed on 6.2).
>
> Nope, but I do remember getting this.
I'll try to retrieve the patch I used.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to