[MacPorts] #29057: Python2.7 on non-root macports: tries to install in /Applications

MacPorts noreply at macports.org
Thu Apr 7 03:20:15 PDT 2011


#29057: Python2.7 on non-root macports: tries to install in /Applications
-------------------------------+--------------------------------------------
 Reporter:  jaime@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 Hi,
 I am using a computer without root access, thus I have my own local
 macports installation. I compiled Macports from sources with the following
 options:

   PATH=/usr/bin:/usr/sbin:/bin:/sbin ./configure \
   --prefix=/mn/xsan/d9/jaime/ports \
   --enable-readline \
   --with-install-user=`id -un` \
   --with-install-group=`id -gn` \
   --x-includes=/usr/X11R6/include \
   --x-libraries=/usr/X11R6/lib \
   --with-tclpackage=/mn/xsan/d9/jaime/ports/share/macports/Tcl \
   --with-frameworks-dir=/mn/xsan/d9/jaime/Applications \
   --with-applications-dir=/mn/xsan/d9/jaime/Library \
   --with-no-root-privileges \
   --with-macports-user=`id -un`

 In general I have managed to compile almost every package that I needed
 successfully until I tried with python2.7. It compiles fine, but when the
 port is being activated, it complains about not having access to
 /Applications (which should not be used at all!):

 --->  Activating python27 @2.7.1_1
 Error: Target org.macports.activate returned: can't create directory
 "/Applications/Python 2.7": permission denied


 I would appreciate any help regarding this issue!

 Cheers

-- 
Ticket URL: <https://trac.macports.org/ticket/29057>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list