[SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails

Sergio Rojas
When trying to install scipy-0.12.0b1 under python3.3.0
the following error ends the building of scipy:

python3 setup.py config_fc --fcompiler=gnu95 build
...
error: Command "g++ -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iscipy/interpolate/src -I/home/myPROG/Python330GNU/Linux64b/lib/python3.3/site-packages/numpy/core/include -I/home/myPROG/Python330GNU/Linux64b/include/python3.3m -c scipy/interpolate/src/_interpolate.cpp -o build/temp.linux-x86_64-3.3/scipy/interpolate/src/_interpolate.o" failed with exit status 1


Since I was able to install and test scipy-0.12.0b1 under
python3.2.3 in the same environment,
 could some body point out whether this might be a bug associated
to python3.3.0?

Sergio

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

Pauli Virtanen-3
24.03.2013 15:00, Sergio Rojas kirjoitti:

> When trying to install scipy-0.12.0b1 under python3.3.0
> the following error ends the building of scipy:
>
> python3 setup.py config_fc --fcompiler=gnu95 build
> ...
> error: Command "g++ -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3
> -Wall -fPIC -Iscipy/interpolate/src
> -I/home/myPROG/Python330GNU/Linux64b/lib/python3.3/site-packages/numpy/core/include
> -I/home/myPROG/Python330GNU/Linux64b/include/python3.3m -c
> scipy/interpolate/src/_interpolate.cpp -o
> build/temp.linux-x86_64-3.3/scipy/interpolate/src/_interpolate.o" failed
> with exit status 1

Please put the *whole* build log to gist.github.com and paste a link to
it here.

Python 3.3.0 works for me.

--
Pauli Virtanen

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

Sergio Rojas
Thanks for replying Pauli. 

The output attempting to build scipy-0.12.0b1 under python3.3.0 fails 
 is at: 

    https://gist.github.com/anonymous/5233970 

Sergio 

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

Message: 1 
Date: Sun, 24 Mar 2013 09:00:53 -0400 
From: "Sergio Rojas" <[hidden email]> 
Subject: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 fails 
To: [hidden email] 
Message-ID: <[hidden email]> 
Content-Type: text/plain; charset="utf-8" 

When trying to install scipy-0.12.0b1 under python3.3.0 
the following error ends the building of scipy: 

python3 setup.py config_fc --fcompiler=gnu95 build 
... 
error: Command "g++ -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iscipy/interpolate/src -I/home/myPROG/Python330GNU/Linux64b/lib/python3.3/site-packages/numpy/core/include -I/home/myPROG/Python330GNU/Linux64b/include/python3.3m -c scipy/interpolate/src/_interpolate.cpp -o build/temp.linux-x86_64-3.3/scipy/interpolate/src/_interpolate.o" failed with exit status 1 


Since I was able to install and test scipy-0.12.0b1 under 
python3.2.3 in the same environment, 
 could some body point out whether this might be a bug associated 
to python3.3.0? 

Sergio 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20130324/4d2871a9/attachment-0001.html 

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

Message: 2 
Date: Sun, 24 Mar 2013 15:08:27 +0200 
From: Pauli Virtanen <[hidden email]> 
Subject: Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 
	fails 
To: [hidden email] 
Message-ID: <kimts8$n8m$[hidden email]> 
Content-Type: text/plain; charset=ISO-8859-1 

24.03.2013 15:00, Sergio Rojas kirjoitti: 
> When trying to install scipy-0.12.0b1 under python3.3.0 
> the following error ends the building of scipy: 
> 
> python3 setup.py config_fc --fcompiler=gnu95 build 
> ... 
> error: Command "g++ -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 
> -Wall -fPIC -Iscipy/interpolate/src 
> -I/home/myPROG/Python330GNU/Linux64b/lib/python3.3/site-packages/numpy/core/include 
> -I/home/myPROG/Python330GNU/Linux64b/include/python3.3m -c 
> scipy/interpolate/src/_interpolate.cpp -o 
> build/temp.linux-x86_64-3.3/scipy/interpolate/src/_interpolate.o" failed 
> with exit status 1 

Please put the *whole* build log to gist.github.com and paste a link to 
it here. 

Python 3.3.0 works for me. 

-- 
Pauli Virtanen 



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

_______________________________________________ 
SciPy-User mailing list 
[hidden email] 
http://mail.scipy.org/mailman/listinfo/scipy-user 


End of SciPy-User Digest, Vol 115, Issue 29 
*******************************************

 


_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

Pauli Virtanen-3
Hi,

25.03.2013 01:07, Sergio Rojas kirjoitti:
> Thanks for replying Pauli.
>
> The output attempting to build scipy-0.12.0b1 under python3.3.0 fails
>  is at:
>
>     https://gist.github.com/anonymous/5233970 

The issue seems to that something is wrong with the combination of your
Python installation and your C++ compiler:

/home/myPROG/Python330GNU/Linux64b/include/python3.3m/longintrepr.h:47:2: error:
#error "30-bit long digits requested, but the necessary types are not
available on this platform"

It's probably nothing Scipy-specific, just that your setup is not able
to compile Python extension modules using C++.

This is not a typical failure, and I don't know how to fix it. Does your
g++ compiler version match your gcc version? OTOH, I don't have better
suggestions than trying to google for the error message.

--
Pauli Virtanen

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

Sergio Rojas
In reply to this post by Pauli Virtanen-3
Thanks Pauli. Your hint

>
> The issue seems to that something is wrong with the combination of your
> Python installation and your C++ compiler:
>

send me to revise my python3.3.0 installation setup. In building python3.3.0
I passed to the configure script the option "--enable-big-digits"
which I was thinking to be the replacement of the option
"--with-wide-unicode" that I used when building python3.2.3.
(the configuration script of python3.3.0 does not recognize the option
"--with-wide-unicode").

So, I took out the option "--enable-big-digits" in building python3.3.0
and then the build of scipy-0.12.0b1 finalized without errors.

This time, however, I am getting a failing in the "test_mio.test_save_dict"
which did not happened in the building of scipy-0.12.0b1
under python 3.2.3. What might be the consequences of that failure
in using scipy? (Ralf has already shed some light on the consequences
of using scipy in spite of the other two test failures)

What follows is a summary of "scipy.test('full', verbose=2)" under both
 both python3.3.0 and python3.2.3:

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.3.0 (default, Mar 25 2013, 06:25:03) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mio.test_save_dict
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 6426 tests in 277.767s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=2)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=2>
****************

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.2.3 (default, Mar 23 2013, 07:28:36) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
Ran 6426 tests in 277.812s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=1)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=1>

Thanks again for your help,

Sergio


 
 




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

Message: 2 
Date: Mon, 25 Mar 2013 01:31:15 +0200 
From: Pauli Virtanen <[hidden email]> 
Subject: Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 
	fails 
To: [hidden email] 
Message-ID: <kio2bv$ev7$[hidden email]> 
Content-Type: text/plain; charset=ISO-8859-1 

Hi, 

25.03.2013 01:07, Sergio Rojas kirjoitti: 
> Thanks for replying Pauli. 
> 
> The output attempting to build scipy-0.12.0b1 under python3.3.0 fails 
>  is at: 
> 
>     https://gist.github.com/anonymous/5233970 

The issue seems to that something is wrong with the combination of your 
Python installation and your C++ compiler: 

/home/myPROG/Python330GNU/Linux64b/include/python3.3m/longintrepr.h:47:2: error: 
#error "30-bit long digits requested, but the necessary types are not 
available on this platform" 

It's probably nothing Scipy-specific, just that your setup is not able 
to compile Python extension modules using C++. 

This is not a typical failure, and I don't know how to fix it. Does your 
g++ compiler version match your gcc version? OTOH, I don't have better 
suggestions than trying to google for the error message. 

-- 
Pauli Virtanen 



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

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

Thomas Kluyver-2
On 25 March 2013 13:21, Sergio Rojas <[hidden email]> wrote:
(the configuration script of python3.3.0 does not recognize the option
"--with-wide-unicode").

'Wide unicode' is no longer necessary - all builds of 3.3 will behave mostly like wide unicode builds, but with less memory use. For details, see:
http://docs.python.org/3/whatsnew/3.3.html#pep-393-flexible-string-representation

From a quick search, 'big digits' seems to relate to how large integers are stored.

Thomas

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

ralfgommers
In reply to this post by Sergio Rojas



On Mon, Mar 25, 2013 at 2:21 PM, Sergio Rojas <[hidden email]> wrote:
Thanks Pauli. Your hint


>
> The issue seems to that something is wrong with the combination of your
> Python installation and your C++ compiler:
>

send me to revise my python3.3.0 installation setup. In building python3.3.0
I passed to the configure script the option "--enable-big-digits"
which I was thinking to be the replacement of the option
"--with-wide-unicode" that I used when building python3.2.3.
(the configuration script of python3.3.0 does not recognize the option
"--with-wide-unicode").

So, I took out the option "--enable-big-digits" in building python3.3.0
and then the build of scipy-0.12.0b1 finalized without errors.

This time, however, I am getting a failing in the "test_mio.test_save_dict"
which did not happened in the building of scipy-0.12.0b1
under python 3.2.3. What might be the consequences of that failure
in using scipy? (Ralf has already shed some light on the consequences
of using scipy in spite of the other two test failures)

I'm seeing that failure as well on 3.2, will investigate for 0.12. It looks like saving Matlab files is partially broken on 3.x by this. No further impact.

Ralf
 

What follows is a summary of "scipy.test('full', verbose=2)" under both
 both python3.3.0 and python3.2.3:

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.3.0 (default, Mar 25 2013, 06:25:03) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mio.test_save_dict
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 6426 tests in 277.767s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=2)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=2>
****************

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.2.3 (default, Mar 23 2013, 07:28:36) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
Ran 6426 tests in 277.812s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=1)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=1>

Thanks again for your help,

Sergio


 
 




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

Message: 2 
Date: Mon, 25 Mar 2013 01:31:15 +0200 
From: Pauli Virtanen <[hidden email]> 
Subject: Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 
	fails 
To: [hidden email] 
Message-ID: <kio2bv$ev7$[hidden email]> 
Content-Type: text/plain; charset=ISO-8859-1 

Hi, 

25.03.2013 01:07, Sergio Rojas kirjoitti: 
> Thanks for replying Pauli. 
> 
> The output attempting to build scipy-0.12.0b1 under python3.3.0 fails 
>  is at: 
> 
>     https://gist.github.com/anonymous/5233970 

The issue seems to that something is wrong with the combination of your 
Python installation and your C++ compiler: 

/home/myPROG/Python330GNU/Linux64b/include/python3.3m/longintrepr.h:47:2: error: 
#error "30-bit long digits requested, but the necessary types are not 
available on this platform" 

It's probably nothing Scipy-specific, just that your setup is not able 
to compile Python extension modules using C++. 

This is not a typical failure, and I don't know how to fix it. Does your 
g++ compiler version match your gcc version? OTOH, I don't have better 
suggestions than trying to google for the error message. 

-- 
Pauli Virtanen 



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

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user



_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user
Reply | Threaded
Open this post in threaded view
|

Re: Build of scipy-0.12.0b1 under python3.3.0 fails

ralfgommers



On Mon, Mar 25, 2013 at 8:38 PM, Ralf Gommers <[hidden email]> wrote:



On Mon, Mar 25, 2013 at 2:21 PM, Sergio Rojas <[hidden email]> wrote:
Thanks Pauli. Your hint


>
> The issue seems to that something is wrong with the combination of your
> Python installation and your C++ compiler:
>

send me to revise my python3.3.0 installation setup. In building python3.3.0
I passed to the configure script the option "--enable-big-digits"
which I was thinking to be the replacement of the option
"--with-wide-unicode" that I used when building python3.2.3.
(the configuration script of python3.3.0 does not recognize the option
"--with-wide-unicode").

So, I took out the option "--enable-big-digits" in building python3.3.0
and then the build of scipy-0.12.0b1 finalized without errors.

This time, however, I am getting a failing in the "test_mio.test_save_dict"
which did not happened in the building of scipy-0.12.0b1
under python 3.2.3. What might be the consequences of that failure
in using scipy? (Ralf has already shed some light on the consequences
of using scipy in spite of the other two test failures)

I'm seeing that failure as well on 3.2, will investigate for 0.12. It looks like saving Matlab files is partially broken on 3.x by this. No further impact.

fixed in commit 31db7fc
 

Ralf
 

What follows is a summary of "scipy.test('full', verbose=2)" under both
 both python3.3.0 and python3.2.3:

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.3.0 (default, Mar 25 2013, 06:25:03) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mio.test_save_dict
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 6426 tests in 277.767s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=2)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=2>
****************

Scipy scipy-0.12.0b1
NumPy version 1.7.0
Python version 3.2.3 (default, Mar 23 2013, 07:28:36) [GCC 4.6.1]
======================================================================
ERROR: Failure: ImportError (scipy.weave only supports Python 2.x)
----------------------------------------------------------------------
======================================================================
FAIL: test_mathieu_modsem2 (test_basic.TestCephes)
----------------------------------------------------------------------
Ran 6426 tests in 277.812s
FAILED (KNOWNFAIL=15, SKIP=47, errors=1, failures=1)
nose version 1.2.1
<nose.result.TextTestResult run=6426 errors=1 failures=1>

Thanks again for your help,

Sergio


 
 




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

Message: 2 
Date: Mon, 25 Mar 2013 01:31:15 +0200 
From: Pauli Virtanen <[hidden email]> 
Subject: Re: [SciPy-User] Build of scipy-0.12.0b1 under python3.3.0 
	fails 
To: [hidden email] 
Message-ID: <kio2bv$ev7$[hidden email]> 
Content-Type: text/plain; charset=ISO-8859-1 

Hi, 

<a href="tel:25.03.2013%2001" value="+12503201301" target="_blank">25.03.2013 01:07, Sergio Rojas kirjoitti: 
> Thanks for replying Pauli. 
> 
> The output attempting to build scipy-0.12.0b1 under python3.3.0 fails 
>  is at: 
> 
>     https://gist.github.com/anonymous/5233970 

The issue seems to that something is wrong with the combination of your 
Python installation and your C++ compiler: 

/home/myPROG/Python330GNU/Linux64b/include/python3.3m/longintrepr.h:47:2: error: 
#error "30-bit long digits requested, but the necessary types are not 
available on this platform" 

It's probably nothing Scipy-specific, just that your setup is not able 
to compile Python extension modules using C++. 

This is not a typical failure, and I don't know how to fix it. Does your 
g++ compiler version match your gcc version? OTOH, I don't have better 
suggestions than trying to google for the error message. 

-- 
Pauli Virtanen 



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

_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user




_______________________________________________
SciPy-User mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/scipy-user