Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2008 23:38:51 +0200
From:      Simon Jolle sjolle <urandomdev@gmail.com>
To:        freebsd-questions@FreeBSD.org
Subject:   installation of Python failed: ./python: Permission denied
Message-ID:  <482F506B.50001@gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi FreeBSD users

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

[root@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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIL1BrEMN/lNE/wrwRAo06AJ9sURW6m8zRMz5/9YEqFidBqNggJACffZOS
yf0urWLYzEr1Gr56txm0HDQ=
=ossg
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482F506B.50001>