Running "make rpm" fails on a CentOS 6.3 machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to build the git RPM (using tag v1.8.5.3) on a CentOS 6.3
64 bit machine. I was able to run 'make', but then I fail when running
'make rpm'. Can anyone help with the following error?

[erez.zilber@erez-lx:~/work/
git]$ make rpm
sed -e 's/@@VERSION@@/1.8.5.3/g' < git.spec.in > git.spec+
mv git.spec+ git.spec
    GEN configure
./git-archive --format=tar \
                --prefix=git-1.8.5.3/ HEAD^{tree} > git-1.8.5.3.tar
make[1]: Entering directory `/khome/erez.zilber/work/git/git-gui'
make[1]: Leaving directory `/khome/erez.zilber/work/git/git-gui'
tar rf git-1.8.5.3.tar \
                git-1.8.5.3/git.spec \
                git-1.8.5.3/configure \
                git-1.8.5.3/version \
                git-1.8.5.3/git-gui/version
gzip -f -9 git-1.8.5.3.tar
rpmbuild \
                --define "_source_filedigest_algorithm md5" \
                --define "_binary_filedigest_algorithm md5" \
                -ta git-1.8.5.3.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GmHLGn
+ umask 022
+ cd /khome/erez.zilber/rpmbuild/BUILD
+ cd /khome/erez.zilber/rpmbuild/BUILD
+ rm -rf git-1.8.5.3
+ /usr/bin/gzip -dc /khome/erez.zilber/work/git/git-1.8.5.3.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd git-1.8.5.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aVAwKk
+ umask 022
+ cd /khome/erez.zilber/rpmbuild/BUILD
+ cd git-1.8.5.3
+ make -j8 'CFLAGS=-O2 -g' ETC_GITCONFIG=/etc/gitconfig prefix=/usr
mandir=/usr/share/man htmldir=/usr/share/doc/git-1.8.5.3 all doc
make[1]: Entering directory `/khome/erez.zilber/rpmbuild/BUILD/git-1.8.5.3'
GIT_VERSION = 1.8.5.3
make[1]: Leaving directory `/khome/erez.zilber/rpmbuild/BUILD/git-1.8.5.3'
make[1]: Entering directory `/khome/erez.zilber/rpmbuild/BUILD/git-1.8.5.3'

...

Writing perl.mak for Git
Writing perl.mak for Git
rename MakeMaker.tmp => perl.mak: No such file or directory at
/usr/share/perl5/ExtUtils/MakeMaker.pm line 1024.
make[3]: perl.mak: No such file or directory
make[3]: perl.mak: No such file or directory
make[3]: *** No rule to make target `perl.mak'.  Stop.
make[2]: *** [instlibdir] Error 2
make[1]: *** [git-difftool] Error 2
make[1]: *** Waiting for unfinished jobs....
make[3]: *** No rule to make target `perl.mak'.  Stop.
make[2]: *** [instlibdir] Error 2
make[1]: *** [git-add--interactive] Error 2
Writing perl.mak for Git
Writing perl.mak for Git
Writing perl.mak for Git
rename MakeMaker.tmp => perl.mak: No such file or directory at
/usr/share/perl5/ExtUtils/MakeMaker.pm line 1024.
make[3]: perl.mak: No such file or directory
make[3]: perl.mak: No such file or directory
make[3]: *** No rule to make target `perl.mak'.  Stop.
make[2]: *** [instlibdir] Error 2
make[1]: *** [git-cvsexportcommit] Error 2
make[3]: *** No rule to make target `instlibdir'.  Stop.
make[2]: *** [instlibdir] Error 2
make[1]: *** [git-cvsserver] Error 2
Writing perl.mak for Git
mv: cannot stat `perl.mak': No such file or directory
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]