installation of Python failed: ./python: Permission denied

Simon Jolle sjolle urandomdev at gmail.com
Sat May 17 21:38:57 UTC 2008


Hi FreeBSD users

I am trying to install Python. Please help a newbie here.

[root at nixhost /usr/ports/lang/python]# make -DBATCH install clean
===>  Extracting for python-2.5,2
===>  Patching for python-2.5,2
===>  Configuring for python-2.5,2
===>  Installing for python-2.5,2
===>   python-2.5,2 depends on file: /usr/local/bin/python2.5 - not found
===>    Verifying install for /usr/local/bin/python2.5 in
/usr/ports/lang/python25
===>  Building for python25-2.5.2_2
cd /usr/ports/lang/python25/work/Python-2.5.2/portbld.shared;
/usr/bin/env VPATH="/usr/ports/lang/python25/work/Python-2.5.2"
SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local
X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm -lXp"
LIBDIR="/usr/lib" CFLAGS="-O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t  -DTHREAD_STACK_SIZE=0x20000"  CXXFLAGS="-O2
-fno-strict-aliasing -pipe -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x20000" MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
BSD_INSTALL_DATA="install  -o root -g wheel -m 444"
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make libpython2.5.so
python;  /bin/ln -f libpython2.5.so libpython2.5.so.1;  /bin/ln -f
python python-shared2.5
`libpython2.5.so' is up to date.
`python' is up to date.
case $MAKEFLAGS in  *-s*)  CC='cc' LDSHARED='cc -shared -pthread'
OPT='-DNDEBUG -O2 -fno-strict-aliasing -pipe  -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x20000' ./python -E ./../setup.py -q build;;  *)
CC='cc' LDSHARED='cc -shared -pthread' OPT='-DNDEBUG -O2
-fno-strict-aliasing -pipe  -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x20000' ./python -E ./../setup.py build;;  esac
./python: Permission denied
*** Error code 126

Stop in /usr/ports/lang/python25/work/Python-2.5.2/portbld.static.
*** Error code 1

Stop in /usr/ports/lang/python25.
*** Error code 1

Stop in /usr/ports/lang/python.

cheers
Simon


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080517/6796ab74/signature.pgp


More information about the freebsd-questions mailing list