× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Still playing! Trying to install MySQL-Python for an app I am working on. I get a series of errors when I use 'pip install MySQL-python':

gcc: error: unrecognized option '-q64'
gcc: error: unrecognized option '-qstrict'
gcc: error: unrecognized option '-qoptimize=2'
gcc: error: unrecognized option '-qmaxmem=8192'
gcc: error: unrecognized option '-qalign=natural'
gcc: error: unrecognized option '-qldbl128'

I did a quick search and found a post from Kevin that said "The -q64 is only for the IBM xlc compiler." OK! I get that. But the compiler line is:

gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -DPASE -O2 -std=c99 -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/local/mysql/include -I/QOpenSys/QIBM/ProdData/OPS/Python2.7/include/python2.7 -c _mysql.c -o build/temp.os400-powerpc-2.7/_mysql.o -g -q64 -ma -qstrict -qoptimize=2 -qmaxmem=8192 -qalign=natural -qldbl128 -DUNIV_AIX -DUNIV_AIX

I might be able to hack the build script but on the offhand chance that Kevin might be lurking during the holidays, perhaps there is a more elegant solution? I have GCC 4.6.2 installed.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.