Error building git-core

Joshua Slayton joshuaxls at gmail.com
Thu Sep 10 13:21:49 PDT 2009


I'm receiving the following error while attempting to build git-core.
Normally I can handle issues like this but I can't decipher what exactly the
error is. Do I have an out of date library? Something missing from my
library path?
This is on an iMac which was newly upgraded to Snow Leopard. xcode was also
upgraded to version 3.2 (1610). I upgraded libxml2 to 2.7.3 but that didn't
help. Any help is appreciated.

iJosh-2:~ joshuaxls$ sudo port install git-core
--->  Computing dependencies for git-core
--->  Building git-core
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_git-core/work/git-1.6.4.2"
&& /usr/bin/make -j2 all CFLAGS="-Wall -O2 -I/opt/local/include"
LDFLAGS="-L/opt/local/lib" CC=/usr/bin/gcc-4.2 prefix=/opt/local
CURLDIR=/opt/local OPENSSLDIR=/opt/local ICONVDIR=/opt/local
PERL_PATH="/opt/local/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1
NO_R_TO_GCC_LINKER=1 " returned error 2
Command output:       _lock_remote in http-push.o
      _main in http-push.o
  "_XML_GetErrorCode", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
  "_XML_SetElementHandler", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
  "_XML_ParserCreate", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
  "_XML_ParserFree", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
  "_XML_SetUserData", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
  "_XML_Parse", referenced from:
      _remote_ls in http-push.o
      _lock_remote in http-push.o
      _main in http-push.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [git-http-push] Error 1
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090910/f66a175f/attachment.html>


More information about the macports-users mailing list