Solaris 2.6: Difference between revisions

From pega.life
Jump to navigation Jump to search
Line 6: Line 6:
gtar xf Python-3.4.10.tar.xz
gtar xf Python-3.4.10.tar.xz
cd Python-3.4.10
cd Python-3.4.10
</syntaxhighlight>


<syntaxhighlight copy>
make clean;  
make clean;  
CPPFLAGS="-I/usr/tgcware/include" \
CPPFLAGS="-I/usr/tgcware/include" \

Revision as of 21:11, 17 November 2025

Python 3.4.10

cd /root
curl -JLO https://www.python.org/ftp/python/3.4.10/Python-3.4.10.tar.xz
gtar xf Python-3.4.10.tar.xz
cd Python-3.4.10
make clean; 
CPPFLAGS="-I/usr/tgcware/include" \
LDFLAGS="-L/usr/tgcware/lib" \
CFLAGS="-O2 -D__EXTENSIONS__ $CPPFLAGS" \
CC=/usr/tgcware/gcc43/bin/i386-pc-solaris2.6-gcc \
CXX=/usr/tgcware/gcc43/bin/i386-pc-solaris2.6-g++ \
./configure --prefix=/opt/local --with-system-expat; 
make -j8 ; make install