LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with command 'make' while trying to install git-1.7.4 (http://www.linuxquestions.org/questions/linux-software-2/problem-with-command-make-while-trying-to-install-git-1-7-4-a-873414/)

rohit.dhaval1 04-06-2011 02:21 PM

Problem with command 'make' while trying to install git-1.7.4
 
Hi,

I am facing issues while trying to compile git-1.7.4 on Red Hat Linux release 8.0 (Psyche) machine. I have given steps that I have followed. Please help me with this.

==============================================================

bash $sudo ./configure --mandir=/usr/software/share/man --prefix=/usr/software

%%%%%% Configures properly %%%%%%%%%


bash $sudo make all
* new build flags or prefix
CC daemon.o
CC abspath.o
CC advice.o
CC alias.o
CC alloc.o
CC archive.o
CC archive-tar.o
CC archive-zip.o
CC attr.o
CC base85.o
CC bisect.o
CC blob.o
CC branch.o
CC bundle.o
CC cache-tree.o
CC color.o
CC combine-diff.o
CC commit.o
CC config.o
CC connect.o
CC convert.o
CC copy.o
CC csum-file.o
CC ctype.o
CC date.o
CC decorate.o
CC diffcore-break.o
CC diffcore-delta.o
CC diffcore-order.o
CC diffcore-pickaxe.o
CC diffcore-rename.o
CC diff-delta.o
CC diff-lib.o
CC diff-no-index.o
CC diff.o
CC dir.o
CC editor.o
CC entry.o
CC environment.o
CC exec_cmd.o
CC fsck.o
CC graph.o
CC grep.o
CC hash.o
CC help.o
CC hex.o
CC ident.o
CC levenshtein.o
CC list-objects.o
CC ll-merge.o
CC lockfile.o
CC log-tree.o
CC mailmap.o
CC match-trees.o
CC merge-file.o
CC merge-recursive.o
CC name-hash.o
CC notes.o
CC notes-cache.o
CC notes-merge.o
CC object.o
CC pack-check.o
CC pack-refs.o
CC pack-revindex.o
CC pack-write.o
CC pager.o
CC parse-options.o
CC patch-delta.o
CC patch-ids.o
CC path.o
CC pkt-line.o
CC preload-index.o
CC pretty.o
CC progress.o
CC quote.o
CC reachable.o
CC read-cache.o
read-cache.c: In function `fill_stat_cache_info':
read-cache.c:73: structure has no member named `st_ctim'
read-cache.c:74: structure has no member named `st_mtim'
read-cache.c: In function `read_index_from':
read-cache.c:1357: structure has no member named `st_mtim'
read-cache.c: In function `write_index':
read-cache.c:1637: structure has no member named `st_mtim'
make: *** [read-cache.o] Error 1

=================================================================

bathory 04-07-2011 02:09 AM

Hi,

You will never succeed to compile modern software in such an old distro.
Better install a more recent OS

Regards

rohit.dhaval1 04-08-2011 05:29 PM

Quote:

Originally Posted by bathory (Post 4316715)
Hi,

You will never succeed to compile modern software in such an old distro.
Better install a more recent OS

Regards

Thanks for your reply.

I am posting this reply so, other users can benefit from it,

I could compile and install by following steps.

Quote:

make NO_NSEC="YesPlease" NO_OPENSSL="YesPlease" NO_CURL="YesPlease"
sudo make install NO_NSEC="YesPlease" NO_OPENSSL="YesPlease" NO_CURL="YesPlease"

John VV 04-08-2011 08:14 PM

but RH8 is and has been DEAD for a very long time
it has not had any security updates in many many many years
just running it IS A HAZARDED to the rest of the net
we DO NOT want zombie boxes !!!


All times are GMT -5. The time now is 03:46 AM.