You are not logged in.

#1 2009-08-23 06:11:37

peterhough
Member
From: Manchester, UK
Registered: 2009-08-22
Posts: 7
Website

Installing GIT

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

 

#2 2009-08-23 09:47:32

millie
Member
From: Chicago, IL
Registered: 2009-08-23
Posts: 2

Re: Installing GIT

Ditto... exact same issue on web91.

Offline

 

#3 2009-08-23 10:11:33

millie
Member
From: Chicago, IL
Registered: 2009-08-23
Posts: 2

Re: Installing GIT

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 smile


Regards,

David L.
WebFaction Support

Offline

 

#4 2009-08-23 16:20:21

peterhough
Member
From: Manchester, UK
Registered: 2009-08-22
Posts: 7
Website

Re: Installing GIT

Thanks David,

Any ideas when this will be installed? Can I track the ticket?

Regards,
Pete

Offline

 

#5 2009-08-24 00:43:09

japheth
Member
From: Australia
Registered: 2008-08-12
Posts: 102

Re: Installing GIT

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  smile

Offline

 

#6 2009-08-24 01:55:58

likebike
Member
Registered: 2008-05-04
Posts: 263

Re: Installing GIT

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

 

#7 2009-08-24 10:45:55

peterhough
Member
From: Manchester, UK
Registered: 2009-08-22
Posts: 7
Website

Re: Installing GIT

Perfect,

Thanks Christopher!

Offline

 

#8 2009-08-24 10:53:36

remi
Member
From: London
Registered: 2006-09-19
Posts: 741
Website

Re: Installing GIT

expat-devel is now installed on all centos5 servers, which should fix your problem.

Cheers,

Remi.


WebFaction - Smarter web hosting

Offline

 

#9 2010-01-11 03:49:27

WinterWeaver
Member
Registered: 2008-05-06
Posts: 65

Re: Installing GIT

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 1

Any Ideas how to solve this?

Offline

 

#10 2010-01-11 11:46:40

mae
Member
Registered: 2006-10-14
Posts: 445

Re: Installing GIT

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 1

Any 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

 

#11 2010-05-27 09:46:54

mwarkentin
Member
Registered: 2008-08-19
Posts: 7

Re: Installing GIT

I was having the same problem on Web47.

I fixed it by doing the following (after extracting git):

Code:

./configure --prefix=$HOME
make
make install

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson