|
You ran the config before the build?
On Tue, Dec 27, 2016 at 7:38 AM, Pete Helgren <pete@xxxxxxxxxx> wrote:
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.
--
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
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.