You are not logged in.
Hello,
I'm been trying to follow the guides I've found in the forum for installing GIT but I'm hitting an error during MAKE and I can't find any information on how to get round this. I just want to be able to clone a repository.
So far I've got:
wget http://kernel.org/pub/software/scm/git/git-1.6.1.tar.gz (also tried the latest version 1.6.4.1)
tar fxz git-1.6.1.tar.gz
cd git-1.6.1
./configure --prefix=$HOME
make
CC http-push.o
http-push.c:14:19: error: expat.h: No such file or directory
http-push.c:1177: error: expected ';', ',' or ')' before '*' token
http-push.c: In function 'lock_remote':
http-push.c:1253: error: 'XML_Parser' undeclared (first use in this function)
http-push.c:1253: error: (Each undeclared identifier is reported only once
http-push.c:1253: error: for each function it appears in.)
http-push.c:1253: error: expected ';' before 'parser'
http-push.c:1260: error: 'parser' undeclared (first use in this function)
http-push.c:1263: error: 'xml_cdata' undeclared (first use in this function)
http-push.c: In function 'remote_ls':
http-push.c:1482: error: 'XML_Parser' undeclared (first use in this function)
http-push.c:1482: error: expected ';' before 'parser'
http-push.c:1489: error: 'parser' undeclared (first use in this function)
http-push.c:1492: error: 'xml_cdata' undeclared (first use in this function)
http-push.c: In function 'locking_available':
http-push.c:1558: error: 'XML_Parser' undeclared (first use in this function)
http-push.c:1558: error: expected ';' before 'parser'
http-push.c:1565: error: 'parser' undeclared (first use in this function)
make: *** [http-push.o] Error 1
I figured it was missing expat.h so I successfully installed http://sourceforge.net/projects/expat/ but I'm still getting the same error - maybe I've installed that wrong?
I'm on server web87 if that help.
Many thanks,
Pete
Offline
Ditto... exact same issue on web91.
Offline
From a support ticket I submitted on this issue:
I believe this is due to a missing development package. I've forwarded this to the sysadmins in charge of installing the packages ![]()
Regards,
David L.
WebFaction Support
Offline
Thanks David,
Any ideas when this will be installed? Can I track the ticket?
Regards,
Pete
Offline
We are hoping to implement a fix for this in the next day or two, we will update this thread once we have deployed it. So check back here ![]()
Offline
Hello Pete,
> Any ideas when this will be installed? Can I track the ticket?
I have installed git into your home directory.
If anyone else is having difficulty installing git, please open a support ticket and I will install it for you.
Regards,
Christopher S, WebFaction Support
Offline
Perfect,
Thanks Christopher!
Offline
I'm trying to install git on my web47 account, using the instructions here: http://docs.webfaction.com/software/git … alling-git
Unfortunately I'm getting the following errors:
LINK git-fast-import libgit.a(utf8.o): In function `reencode_string': /home/smoenux/git-1.6.6/utf8.c:441: undefined reference to `libiconv_open' /home/smoenux/git-1.6.6/utf8.c:452: undefined reference to `libiconv' /home/smoenux/git-1.6.6/utf8.c:477: undefined reference to `libiconv_close' /home/smoenux/git-1.6.6/utf8.c:458: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: *** [git-fast-import] Error 1
Any Ideas how to solve this?
Offline
WinterWeaver wrote:
I'm trying to install git on my web47 account, using the instructions here: http://docs.webfaction.com/software/git … alling-git
Unfortunately I'm getting the following errors:Code:
LINK git-fast-import libgit.a(utf8.o): In function `reencode_string': /home/smoenux/git-1.6.6/utf8.c:441: undefined reference to `libiconv_open' /home/smoenux/git-1.6.6/utf8.c:452: undefined reference to `libiconv' /home/smoenux/git-1.6.6/utf8.c:477: undefined reference to `libiconv_close' /home/smoenux/git-1.6.6/utf8.c:458: undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: *** [git-fast-import] Error 1Any Ideas how to solve this?
This seems like a totally different error, which server is this on? will you please open a support ticket?
Offline