Is xlC required to build on AIX?
Hi, I'm trying to "pip install lxlc" on AIX. Even though I have GCC installed and I have the env var CC pointing to it, the lxml build script is still trying to use xlC and failing because it's not installed. Is xlC a requirement on AIX? This is the error I get: building 'lxml.etree' extension creating build/temp.aix-7.2-2.7 creating build/temp.aix-7.2-2.7/src creating build/temp.aix-7.2-2.7/src/lxml /opt/IBM/xlc/13.1.3/bin/xlc_r -DAIX_GENUINE_CPLUSCPLUS -D_LINUX_SOURCE_COMPAT -q64 -qbitfields=signed -qmaxmem=70000 -qalloca -bmaxdata:0x80000000 -Wl,-brtl -q32 -I/usr/include -I/opt/freeware/include -I/opt/freeware/include/ncurses -DNDEBUG -O2 -DCYTHON_CLINE_IN_TRACEBACK=0 -I/opt/freeware/include/libxml2 -I/opt/freeware/include -Isrc -Isrc/lxml/includes -I/opt/freeware/include/python2.7 -c src/lxml/etree.c -o build/temp.aix-7.2-2.7/src/lxml/etree.o -w unable to execute '/opt/IBM/xlc/13.1.3/bin/xlc_r': No such file or directory Thanks, Albert
On Mon, Jul 19, 2021 at 3:24 PM Albert Vaca Cintora < albert.vaca@datadoghq.com> wrote:
Is xlC a requirement on AIX?
I found the problem. By default the setup script uses the same compiler that python was compiled with, and the system python on AIX comes compiled with xlC. I'm building my own python with GCC now and this fixed it. Thanks for your time :)
participants (1)
-
Albert Vaca Cintora