installation of Python failed: ./python: Permission denied

Simon Jolle sjolle urandomdev at
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
===>  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
python;  /bin/ln -f;  /bin/ln -f
python python-shared2.5
`' 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 ./../ -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 ./../ 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list