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).


On Monday, March 31, 2014 7:06:42 AM UTC-5, Jean-Pierre Flori wrote:
>
>  
>
> On Friday, March 21, 2014 9:31:40 PM UTC+1, Evan Oman wrote:
>>
>> Alright here is the latest error after running the -b version of build, 
>> doesn't mention any dll's but is it the same issue? 
>>
>> Compiling sage/ext/interpreters/wrapper_el.pyx because it changed.
>> Cythonizing sage/algebras/letterplace/free_algebra_element_letterplace.pyx
>> Traceback (most recent call last):
>>   File "setup.py", line 536, in <module>
>> Cythonizing sage/gsl/interpolation.pyx
>>     force=force)
>>   File 
>> "/home/evan.oman/sage-6.1/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
>>  
>> line 747, in cythonize
>> Cythonizing sage/media/channels.pyx
>>     pool.map(cythonize_one_helper, to_compile)
>>   File 
>> "/home/evan.oman/sage-6.1/local/lib/python/multiprocessing/pool.py", line 
>> 250, in map
>> Cythonizing sage/rings/number_field/totallyreal.pyx
>>     return self.map_async(func, iterable, chunksize).get()
>>   File 
>> "/home/evan.oman/sage-6.1/local/lib/python/multiprocessing/pool.py", line 
>> 554, in get
>>     raise self._value
>> AttributeError: 'Cython.Plex.Actions.Call' object has no attribute 
>> 'perform'
>>
> No idea at first...
>
> FYI, I successfully compiled 6.2.beta5 within a 32 bit Windows XP VM using 
> the fix for bzip2 at http://trac.sagemath.org/ticket/15967 (and nothing 
> more IIRC).
> Wouldn't you mind trying to follow the same route?
> It should be easier to debug.
> (On Windows 7, you would also need http://trac.sagemath.org/ticket/15339or 
> pass SAGE_TUNE_GF2X=no which should disable tuning and give you a slower 
> GF2X but easier to get compiled.)
>

-- 
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