[MacPorts] #27381: Registry file does not exist
MacPorts
noreply at macports.org
Fri Nov 19 07:04:14 PST 2010
#27381: Registry file does not exist
--------------------------------+-------------------------------------------
Reporter: razormusik@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
--------------------------------+-------------------------------------------
I installed the pre-compiled build of macports for OS X 10.5 and it failed
to create a registry file. Any and all commands result in this:
{{{
Warning: No index(es) found! Have you synced your source indexes?
port registry doesn't exist at
"/opt/local/var/macports/registry/registry.db" and couldn't write to this
location
while executing
"registry::open $db_path"
(procedure "mportinit" line 536)
invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, port registry
doesn't exist at "/opt/local/var/macports/registry/registry.db" and
couldn't write to this location
}}}
I followed that file path and came up with an empty folder. Please
provide a copy of the registry file for me to place in that location.
I also tried to compile it myself, but when I tried "make install" I got
this:
{{{
/usr/bin/install -c -d -o root -g admin -m 0755 /opt/local
install: chown 0:80 /opt/local: Operation not permitted
/usr/bin/install -c -d -o root -g admin -m 0755 /opt/local/etc/macports
install: chown 0:80 /opt/local/etc/macports: Operation not permitted
cat prefix.mtree | /usr/sbin/mtree -U -e -p /opt/local > /dev/null
if test -L "/opt/local/man" ; then \
rm -f "/opt/local/man"; \
fi
if test ! -e "/opt/local/man" ; then \
ln -s share/man /opt/local/man; \
fi
/usr/bin/install -c -o root -g admin -m 444 macports.conf
/opt/local/etc/macports/macports.conf.default
install: /opt/local/etc/macports/macports.conf.default: chown/chgrp:
Operation not permitted
make[1]: *** [install] Error 71
make: *** [install] Error 1
}}}
Any help on this matter would be appreciated.
--
Ticket URL: <https://trac.macports.org/ticket/27381>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list