[Numpy-discussion] Can' compile numpy 1.02rc3 on OSX 10.3.9
> Hi! > I try to compile numpy rc3 on Panther and get following errors. > (I start build with "python2.3 setup.py build" to be sure to use the > python shipped with OS X. I din't manage to compile Python2.5 either > yet with similar errors) > Does anynbody has an Idea? > gcc-3.3 > XCode 1.5 > November gcc updater is installed > I couldn't get numpy building with Python 2.5 on 10.3.9 (although I had different compile errors). The solution that ended up working for me was Python 2.4. There's a bug in the released version of Python 2.5 that's preventing it from working with numpy, should be fixed in the next release. You can find a .dmg for Python 2.4 here: http://pythonmac.org/packages/py24-fat/index.html Jay P. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] Problem buliding rc2 on OS X
> Are there any updates to the Developer Tools that you can install for 10.3.9? > Particularly, is there one which provides gcc 4.0, which I think is the sine > qua > non for building Universal binaries. > > Can you build any other extension modules using distutils? > > If neither of the above is true, then you may need to upgrade to 10.4 to build > Universal binaries. You might want to check the available Mac Python > documentation and pythonmac-sig archives for more information. I have not been > following the Universal discussion as closely as I could have (and as I'm > currently on vacation, I'm not about to rectify that now). > Well, I just tried building PIL, and it worked just fine. So it looks like we can't generally say that it's impossible for me to build extension modules. I've posted a message to the distutils-sig, so hopefully we can resolve something there. If not, I'll take it to pythonmac-sig. Thanks, Jay P. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] Problem buliding rc2 on OS X
> Jay Parlar wrote: > > In the process of finally switching over to Python 2.5, and am trying > > to build numpy. Unfortunately, it dies during the build: > > > C compiler: gcc -arch ppc -arch i386 -isysroot > > /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double > > -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 > > > > compile options: > > '-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > > -Inumpy/core/src -Inumpy/core/include > > -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > > -c' > > gcc: _configtest.c > > gcc: cannot specify -o with -c or -S and multiple compilations > > gcc: cannot specify -o with -c or -S and multiple compilations > > failure. > > This is the problem. Are you sure that you are using the correct version of > gcc > for making Universal binaries on 10.3.9? If so, then we are not passing the > correct flags to it. Unfortunately, I think that the Universal stuff is going > to > make our lives quite complicated. > Well, my system is up-to-date, with only one gcc on it, so I don't know what else I can do. I originally missed the line saying "C compiler: gcc ...". It's odd, because I certainly don't have a /Developer/SDKs/MacOSX10.4u.sdk on my system. I wonder if that's there implicitly because the universal Python 2.5 I downloaded from python.org was built on a 10.4 system. Jay P. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] Problem buliding rc2 on OS X 10.3.9/Python2.5
I hate bumping my own messages, but does no one have any insight into this? On 10/9/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > In the process of finally switching over to Python 2.5, and am trying > to build numpy. Unfortunately, it dies during the build: > > Jay-Computer:~/Desktop/numpy-1.0rc2 jayparlar$ python setup.py build > Running from numpy source directory. > F2PY Version 2_3296 > blas_opt_info: > FOUND: > extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] > define_macros = [('NO_ATLAS_INFO', 3)] > extra_compile_args = ['-faltivec', > '-I/System/Library/Frameworks/vecLib.framework/Headers'] > > lapack_opt_info: > FOUND: > extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] > define_macros = [('NO_ATLAS_INFO', 3)] > extra_compile_args = ['-faltivec'] > > running build > running config_fc > running build_src > building py_modules sources > building extension "numpy.core.multiarray" sources > Generating build/src.macosx-10.3-fat-2.5/numpy/core/config.h > customize NAGFCompiler > customize AbsoftFCompiler > customize IbmFCompiler > Could not locate executable g77 > Could not locate executable f77 > Could not locate executable gfortran > Could not locate executable f95 > customize GnuFCompiler > customize Gnu95FCompiler > customize G95FCompiler > customize GnuFCompiler > customize Gnu95FCompiler > customize NAGFCompiler > customize NAGFCompiler using config > C compiler: gcc -arch ppc -arch i386 -isysroot > /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double > -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 > > compile options: > '-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > -Inumpy/core/src -Inumpy/core/include > -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > -c' > gcc: _configtest.c > gcc: cannot specify -o with -c or -S and multiple compilations > gcc: cannot specify -o with -c or -S and multiple compilations > failure. > removing: _configtest.c _configtest.o > numpy/core/setup.py:50: DeprecationWarning: raising a string exception > is deprecated > raise "ERROR: Failed to test configuration" > Traceback (most recent call last): > File "setup.py", line 89, in > setup_package() > File "setup.py", line 82, in setup_package > configuration=configuration ) > File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/core.py", > line 174, in setup > return old_setup(**new_attr) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", > line 151, in setup > dist.run_commands() > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", > line 974, in run_commands > self.run_command(cmd) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", > line 994, in run_command > cmd_obj.run() > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/build.py", > line 112, in run > self.run_command(cmd_name) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/cmd.py", > line 333, in run_command > self.distribution.run_command(command) > File > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", > line 994, in run_command > cmd_obj.run() > File > "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", > line 87, in run > self.build_sources() > File > "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", > line 106, in build_sources > self.build_extension_sources(ext) > File > "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", > line 212, in build_extension_sources > sources = self.generate_sources(sources, ext) > File > "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", > line 270, in generate_sources > source = func(extension, build_dir) > File "numpy/core/setup.py", line 50, in generate_config_h > raise "ERROR: Failed to test configuration" > ERROR: Failed to test configuration > > > This is with the Universal 2.5 binary, and OS X 10.3.9. > > Any ideas? Sorry if this one has been asked before, but I can't seem > to find a solution anywhere. > > Jay P. > - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
[Numpy-discussion] Problem buliding rc2 on OS X 10.3.9/Python2.5
In the process of finally switching over to Python 2.5, and am trying to build numpy. Unfortunately, it dies during the build: Jay-Computer:~/Desktop/numpy-1.0rc2 jayparlar$ python setup.py build Running from numpy source directory. F2PY Version 2_3296 blas_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] lapack_opt_info: FOUND: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] define_macros = [('NO_ATLAS_INFO', 3)] extra_compile_args = ['-faltivec'] running build running config_fc running build_src building py_modules sources building extension "numpy.core.multiarray" sources Generating build/src.macosx-10.3-fat-2.5/numpy/core/config.h customize NAGFCompiler customize AbsoftFCompiler customize IbmFCompiler Could not locate executable g77 Could not locate executable f77 Could not locate executable gfortran Could not locate executable f95 customize GnuFCompiler customize Gnu95FCompiler customize G95FCompiler customize GnuFCompiler customize Gnu95FCompiler customize NAGFCompiler customize NAGFCompiler using config C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 compile options: '-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -Inumpy/core/src -Inumpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c' gcc: _configtest.c gcc: cannot specify -o with -c or -S and multiple compilations gcc: cannot specify -o with -c or -S and multiple compilations failure. removing: _configtest.c _configtest.o numpy/core/setup.py:50: DeprecationWarning: raising a string exception is deprecated raise "ERROR: Failed to test configuration" Traceback (most recent call last): File "setup.py", line 89, in setup_package() File "setup.py", line 82, in setup_package configuration=configuration ) File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/core.py", line 174, in setup return old_setup(**new_attr) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 151, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 974, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/command/build.py", line 112, in run self.run_command(cmd_name) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py", line 994, in run_command cmd_obj.run() File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", line 87, in run self.build_sources() File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", line 106, in build_sources self.build_extension_sources(ext) File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", line 212, in build_extension_sources sources = self.generate_sources(sources, ext) File "/Users/jayparlar/Desktop/numpy-1.0rc2/numpy/distutils/command/build_src.py", line 270, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 50, in generate_config_h raise "ERROR: Failed to test configuration" ERROR: Failed to test configuration This is with the Universal 2.5 binary, and OS X 10.3.9. Any ideas? Sorry if this one has been asked before, but I can't seem to find a solution anywhere. Jay P. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion