Older Port (ghostscript)
Chencho Pc-cito
chencho.cs at gmail.com
Mon Sep 19 07:51:57 PDT 2011
MacBook-Air-de-Sergio:MacPorts sbellver$ svn co -r 63671
http://svn.macports.org/repository/macports/trunk/dports/print/ghostscriptprint/ghostscript/
A print/ghostscript/files
A print/ghostscript/files/patch-base_unix-dll.mak.diff
A print/ghostscript/Portfile
Revisión obtenida: 63671
MacBook-Air-de-Sergio:MacPorts sbellver$ sudo portindex
/Users/sbellver/Documents/MacPorts
Creating port index in /Users/sbellver/Documents/MacPorts
Adding port print/ghostscript
Total number of ports parsed: 1
Ports successfully parsed: 1
Ports failed: 0
Up-to-date ports skipped: 0
MacBook-Air-de-Sergio:MacPorts sbellver$ sudo port install ghostscript @8.71
Error: Unable to execute port: could not read
"/Users/sbellver/Documents/MacPorts/print/ghostscript/Portfile": permission
denied
To report a bug, see <http://guide.macports.org/#project.tickets>
MacBook-Air-de-Sergio:MacPorts sbellver$
MacBook-Air-de-Sergio:MacPorts sbellver$ chmod -R 777
/Users/sbellver/Documents/MacPorts/
chmod: Unable to change file mode on
/Users/sbellver/Documents/MacPorts//PortIndex: Operation not permitted
chmod: Unable to change file mode on
/Users/sbellver/Documents/MacPorts//PortIndex.quick: Operation not permitted
2011/9/19 Jeremy Lavergne <jeremy at lavergne.gotdns.org>
> > Trying to use ghostscript 8.71 i use:
> >
> > https://trac.macports.org/wiki/howto/InstallingOlderPort
> >
> > After sudo port install ghostscript @8.71, all works fine but at the end
> i have an error:
> >
> >
> > ---> Cleaning cairo
> > could not read
> "/Users/.../Documents/MacPorts/print/ghostscript/Portfile": permission
> denied
> > Log for ghostscript is at:
> /opt/local/var/macports/logs/_Users_..._Documents_MacPorts_print_ghostscript/ghostscript/main.log
> > Error: Status 1 encountered during processing.
> > To report a bug, see <http://guide.macports.org/#project.tickets>
>
> My guess, unless the logs indicate otherwise, is MacPorts is running as the
> user `macports` at this point and cannot access a file owned by you.
>
> Check permissions for getting to the file, or run with sudo.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110919/7fd0e829/attachment.html>
More information about the macports-users
mailing list