Solaris 2.6: Difference between revisions

From pega.life
Jump to navigation Jump to search
Created page with " === Python 3.4.10 === <syntaxhighlight copy> 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 </syntaxhighlight>"
 
Line 2: Line 2:
=== Python 3.4.10 ===
=== Python 3.4.10 ===
<syntaxhighlight copy>
<syntaxhighlight copy>
 
cd /root
curl -JLO https://www.python.org/ftp/python/3.4.10/Python-3.4.10.tar.xz
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
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
</syntaxhighlight>
</syntaxhighlight>

Revision as of 21:02, 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