Cannot install git-core using macports

Posted by robUK on Server Fault See other posts from Server Fault or by robUK
Published on 2010-10-25T11:24:12Z Indexed on 2011/01/04 4:55 UTC
Read the original article Hit count: 333

Filed under:
|
|

Hello,

Snow Leopard 10.6.4 mac ports 1.9.1

I have just installed macports and I want to install git-core.

However, I get the following errors:

--->  Computing dependencies for git-core
--->  Dependencies to be installed: python26 db46 gdbm readline sqlite3 rsync popt
--->  Building db46
Error: Target org.macports.build returned: shell command failed
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: The following dependencies failed to build: python26 db46 gdbm readline sqlite3 rsync popt
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I have tried doing a port selfupdate and a port clean all and then trying to install again. But still get the same problem.

I have also tried install the dependent db46 on its own.

Here is the log message:

:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for db46): org.macports.activate org.macports.build org.macports.destroot org.macports.install

This is my first time using mac ports.

Many thanks for any suggestions.

© Server Fault or respective owner

Related posts about macosx

Related posts about mac