This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Infinite loop in Numeric-24.2-1 for eigenvalues (Workaround)



Jim Kleckner wrote:
This patch mentions:
# Optionally, you can run
# python setup.py config first. This fixes a bug in LinearAlgebra on Cygwin (and possibly
# other platforms).



but "python setup.py config" fails to compile with the message: unable to execute _configtest.exe: No such file or directory


Somehow, the optimization compiler flags are getting set to -O3 which only seems to
be set for the emx compiler platform...

Note that this was a problem on my Linux box as well.


A workaround for this problem in setup.py is to run this simple script to create the
config.h file that is failing (probably due to the compile flags):



gcc -fno-strict-aliasing -DNDEBUG -g -Wall -Wstrict-prototypes -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/usr/include/python2.4 Src/config.c -o mkconfigh
./mkconfigh
mv config.h Src



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]