I have a sandbox for some ports, including postgresql83-server (see attached) and I've got some issues with my installation. I'm curious about why the 'port clean --all <portname>' doesn't remove the registry entry? Here's a terminal session where I incur an issue with the registry and my port fails to install as an image:
[ [EMAIL PROTECTED] ~/ports ]$ sudo port install postgresql83-server Password: Portfile changed since last build; discarding previous state. ---> Fetching postgresql83-server ---> Verifying checksum(s) for postgresql83-server ---> Extracting postgresql83-server ---> Configuring postgresql83-server ---> Building postgresql83-server with target all ---> Staging postgresql83-server into destroot ---> Creating launchd control script ########################################################### # A startup item has been generated that will aid in # starting postgresql83-server with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist ########################################################### ---> Installing postgresql83-server 8.3.4_0 Error: Target org.macports.install returned: Registry error: postgresql83-server @8.3.4_0 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port uninstall postgresql83-server ---> Uninstalling postgresql83-server 8.3.4_0 [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all postgresql83-server ---> Cleaning postgresql83-server [ [EMAIL PROTECTED] ~/ports ]$ sudo port install postgresql83-server ---> Fetching postgresql83-server ---> Verifying checksum(s) for postgresql83-server ---> Extracting postgresql83-server ---> Configuring postgresql83-server ---> Building postgresql83-server with target all ---> Staging postgresql83-server into destroot ---> Creating launchd control script ########################################################### # A startup item has been generated that will aid in # starting postgresql83-server with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist ########################################################### ---> Installing postgresql83-server 8.3.4_0 Error: Target org.macports.install returned: Registry error: postgresql83-server @8.3.4_0 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo rm /opt/local/var/macports/receipts/postgresql83-server/8.3.4_0/receipt.bz2 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install postgresql83-server ---> Installing postgresql83-server 8.3.4_0 To create a database instance, after install do %% sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb %% sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb %% sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb' To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf To load the startup deamon, run: %% sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist To unload the startup deamon, run: %% sudo launchctl unload -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist Run 'port install pgAdmin3' to administer PostgreSQL Run 'port install slony1' to manage replication for PostgreSQL ---> Activating postgresql83-server 8.3.4_0 Error: Target org.macports.activate returned: Image error: postgresql83-server @8.3.4_0 not installed as an image. Error: Status 1 encountered during processing.
Portfile
Description: video/flv
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users