<div>Hi All,</div><div><br></div><div>During the make step of python, I am encountering a weird error. This is on AIX 5.3 using gcc as the compiler.</div><div><br></div><div>My configuration options are as follows</div><div>


<br></div><div>./configure --enable-shared --disable-ipv6 --with-gcc=gcc CPPFLAGS="-I /opt/freeware/include -I /opt/freeware/include/readline -I /opt/freeware/include/ncurses" LDFLAGS="-L. -L/usr/local/lib"</div>


<div><br></div><div><br></div><div>Below is the transcript from the make step.</div><div>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div>running build</div><div>running build_ext</div><div>ldd: /lib/libreadline.a: File is an archive.</div>


<div>INFO: Can't locate Tcl/Tk libs and/or headers</div><div>building '_struct' extension</div><div>gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I/u01/home/apli/wm/GDD/Python-2.6.6/./Include -I. -IInclude -I./Include -I/opt/freeware/include -I/opt/freeware/include/readline -I/opt/freeware/include/ncurses -I/usr/local/include -I/u01/home/apli/wm/GDD/Python-2.6.6/Include -I/u01/home/apli/wm/GDD/Python-2.6.6 -c /u01/home/apli/wm/GDD/Python-2.6.6/Modules/_struct.c -o build/temp.aix-5.3-2.6/u01/home/apli/wm/GDD/Python-2.6.6/Modules/_struct.o</div>


<div>./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp -L. -L/usr/local/lib build/temp.aix-5.3-2.6/u01/home/apli/wm/GDD/Python-2.6.6/Modules/_struct.o -L. -L/usr/local/lib -lpython2.6 -o build/lib.aix-5.3-2.6/_struct.so</div>


<div><b>Fatal Python error: Interpreter not initialized (version mismatch?)</b></div><div><b>make: 1254-059 The signal code from the last command is 6.</b></div><div>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div>


<div><br></div><div>The last command that i see above (ld_so_aix) seems to have completed as the file _struct.so exists after this command and hence I am not sure which step is failing.</div><div><br></div><div>There is no other Python version on my machine.</div>


<div><br></div><div>Please guide.</div>