Ticket #27381 (closed defect: worksforme)
Registry file does not exist
|Reported by:||razormusik@…||Owned by:||macports-tickets@…|
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: *** [install] Error 71 make: *** [install] Error 1
Any help on this matter would be appreciated.