Solaris 2.6: Difference between revisions
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
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 | ||
gpatch -p0 < ../all-py34.patch | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 21:29, 17 November 2025
Python 3.4.10
https://www.python.org/downloads/release/python-3410/
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
gpatch -p0 < ../all-py34.patchmake 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