Skip to content Skip to sidebar Skip to footer

Compiling Python 3.7 On Solaris 11.2 Fails At Link Stage

I am trying to compile python 3.7 on solaris 11.2. The compiling seems to be error free until the linking phase. I do not have root access. I have tried the following: ./confi

Solution 1:

It is now working. Thank you paulsm4.

make clean
./configure --prefix=/apps/myapp/scripts CFLAGS="-I/usr/local/include -I/usr/include" 
cp pyconfig.h pyconfig.h-1018-1200
vim +/INTL pyconfig.h                                    

diff pyconfig.h pyconfig.h-1018-1200
    568c568
    < /* #undef HAVE_LIBINTL_H  */
    ---
    > #define HAVE_LIBINTL_H 1
    1463c1463
    < /* #undef WITH_LIBINTL */ 
    ---
    > #define WITH_LIBINTL 1

make 
make test 
... stopped test with Ctrl-C 
... (this machine is in a production environment without internet access)

make install  
python3 -V
    Python 3.7.0

There are a couple of issues still, but it does load.


Post a Comment for "Compiling Python 3.7 On Solaris 11.2 Fails At Link Stage"