Saya upgrade ke Snow Leopard baru-baru ini tetapi menggunakan Time Machine yang berada di Leopard. Time Machine meminta untuk menyalin semuanya dari mesin lama dan saya menjawab ya.
Bagaimana saya tampaknya mengalami masalah dalam menginstal Ruby karena perpustakaan dan ketika saya mencoba untuk meng-upgrade port Mac gagal meskipun saya menginstal perangkat lunak port mac terbaru.
Ada ide?
sudo port upgrade -d outdated
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
---> Computing dependencies for apr-util
---> Configuring apr-util
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/work/apr-util-1.3.9" && ./configure --prefix=/opt/local --with-apr=/opt/local/bin/apr-1-config --with-expat=/opt/local --with-iconv=/opt/local --with-berkeley-db=/opt/local/include:/opt/local/lib/db46 --without-mysql --without-pgsql --with-sqlite3=/opt/local " returned error 1
Command output: checking for -ldb... no
checking for Berkeley DB 2 in /opt/local/include and /opt/local/lib/db46...
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb2... no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb... no
checking for Berkeley DB 1.0.0 in /opt/local/include and /opt/local/lib/db46...
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for dbopen in -ldb1... no
checking for Berkeley DB 1 in /opt/local/include and /opt/local/lib/db46...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to get complete output.