All of lore.kernel.org
 help / color / mirror / Atom feed
* make install error
@ 2010-01-28  0:58 kap4lin
  2010-01-28  2:53 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: kap4lin @ 2010-01-28  0:58 UTC (permalink / raw)
  To: git

Hi,

(Kindly Cc me, I am not subscribed)

Process followed:
$ make configure
$ ./configure --prefix=/scratch/kap4lin/usr
$ make all
$ make install

The make install step is giving the following error:

make -C templates DESTDIR='' install
make[1]: Entering directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'
install -d -m 755 '/scratch/kap4lin/usr/share/git-core/templates'
(cd blt && gtar cf - .) | \
        (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask
022 && gtar xof -)
gtar: This does not look like a tar archive
gtar: Skipping to next header
gtar: Archive contains obsolescent base-64 headers
gtar: Error exit delayed from previous errors
make[1]: *** [install] Error 2
make[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'
make: *** [install] Error 2

Any help?
-- 
Regards
Kap4Lin
--------------------------------------
http://counter.li.org  #402424

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make install error
  2010-01-28  0:58 make install error kap4lin
@ 2010-01-28  2:53 ` Junio C Hamano
  2010-01-28  8:48   ` Alex Riesen
  2010-01-28 16:25   ` kap4lin
  0 siblings, 2 replies; 8+ messages in thread
From: Junio C Hamano @ 2010-01-28  2:53 UTC (permalink / raw)
  To: kap4lin; +Cc: git

kap4lin <kap4lin@gmail.com> writes:

> (cd blt && gtar cf - .) | \
>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask
> 022 && gtar xof -)
> gtar: This does not look like a tar archive
> gtar: Skipping to next header
> gtar: Archive contains obsolescent base-64 headers
> gtar: Error exit delayed from previous errors
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'
> make: *** [install] Error 2
>
> Any help?

Perhaps "unset CDPATH".

Also look for "export CDPATH" in your .bash_profile and remove it (and
either remove CDPATH=... from your .bashrc or make it conditional only to
interactive sessions).  Setting CDPATH for non-interactive sessions does
not make any sense and asking for troubles.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make install error
  2010-01-28  2:53 ` Junio C Hamano
@ 2010-01-28  8:48   ` Alex Riesen
  2010-01-28  8:56     ` Junio C Hamano
  2010-01-28 16:25   ` kap4lin
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Riesen @ 2010-01-28  8:48 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: kap4lin, git

On Thu, Jan 28, 2010 at 03:53, Junio C Hamano <gitster@pobox.com> wrote:
> kap4lin <kap4lin@gmail.com> writes:
>
>> (cd blt && gtar cf - .) | \
>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask
>> 022 && gtar xof -)
>> gtar: This does not look like a tar archive
>
> Perhaps "unset CDPATH".
>

BTW, will "cd ./blt &>/dev/null" also help and prevent this problem from
happening ever again?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make install error
  2010-01-28  8:48   ` Alex Riesen
@ 2010-01-28  8:56     ` Junio C Hamano
  2010-01-28 10:27       ` Alex Riesen
  0 siblings, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2010-01-28  8:56 UTC (permalink / raw)
  To: Alex Riesen; +Cc: kap4lin, git

Alex Riesen <raa.lkml@gmail.com> writes:

> On Thu, Jan 28, 2010 at 03:53, Junio C Hamano <gitster@pobox.com> wrote:
>> kap4lin <kap4lin@gmail.com> writes:
>>
>>> (cd blt && gtar cf - .) | \
>>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask
>>> 022 && gtar xof -)
>>> gtar: This does not look like a tar archive
>>
>> Perhaps "unset CDPATH".
>>
>
> BTW, will "cd ./blt &>/dev/null" also help and prevent this problem from
> happening ever again?

Except that (1) it would be ">/dev/null", and (2) why contaminate Makefile
command lines with such unreadability to work around stupid misdesign of
CDPATH?

I _could_ live with something like this that won't affect the main part of
the Makefile, though.

 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index af08c8f..20b0b34 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
 # The default target of this Makefile is...
 all::
 
+# Work around CDPATH exported to the environment that would
+# break "(cd there && tar cf - ) | tar xf -" and the like.
+CDPATH :=
+
 # Define V=1 to have a more verbose compile.
 #
 # Define SHELL_PATH to a POSIX shell if your /bin/sh is broken.

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: make install error
  2010-01-28  8:56     ` Junio C Hamano
@ 2010-01-28 10:27       ` Alex Riesen
  0 siblings, 0 replies; 8+ messages in thread
From: Alex Riesen @ 2010-01-28 10:27 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: kap4lin, git

On Thu, Jan 28, 2010 at 09:56, Junio C Hamano <gitster@pobox.com> wrote:
> Alex Riesen <raa.lkml@gmail.com> writes:
>>
>> BTW, will "cd ./blt &>/dev/null" also help and prevent this problem from
>> happening ever again?
>
> Except that (1) it would be ">/dev/null", and (2) why contaminate Makefile
> command lines with such unreadability to work around stupid misdesign of
> CDPATH?

Eh... Right :)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: make install error
  2010-01-28  2:53 ` Junio C Hamano
  2010-01-28  8:48   ` Alex Riesen
@ 2010-01-28 16:25   ` kap4lin
  1 sibling, 0 replies; 8+ messages in thread
From: kap4lin @ 2010-01-28 16:25 UTC (permalink / raw)
  To: git

Hi,

(Kindly Cc me, thanks.)

On Wed, Jan 27, 2010 at 9:53 PM, Junio C Hamano <gitster@pobox.com> wrote:
> kap4lin <kap4lin@gmail.com> writes:
>
>> (cd blt && gtar cf - .) | \
>>         (cd '/scratch/kap4lin/usr/share/git-core/templates' && umask
>> 022 && gtar xof -)
>> gtar: This does not look like a tar archive
>> gtar: Skipping to next header
>> gtar: Archive contains obsolescent base-64 headers
>> gtar: Error exit delayed from previous errors
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory `/scratch/kap4lin/softwares/git-1.6.6.1/templates'
>> make: *** [install] Error 2
>>
>> Any help?
>
> Perhaps "unset CDPATH".

Thanks. This solved the issue. I'll make a note of this in future.

-- 
Regards
Kap4Lin
--------------------------------------
http://counter.li.org  #402424

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make install error
  2014-12-16  9:21 Srushti Khadke
@ 2014-12-19 10:29 ` Paul Bolle
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Bolle @ 2014-12-19 10:29 UTC (permalink / raw)
  To: kernelnewbies

On Tue, 2014-12-16 at 14:51 +0530, Srushti Khadke wrote:
> os version centOs 6.5
> kernel version is 2.6.32-431.el6.x86_64
>
> i followed the procedure
>
> 1.make menuconfig (enabled force module unloadin,in kernel hacking
> changed the debug level from 4 to 7)
> 2.make
> 3.make modules
> 4.make modules_install

Where did those modules get installed to?

> 5.make install
>
> all steps upto 4 gave successful output but the fifth step is giving
> eror.that error is
>
> [root at localhost kvm]# make install
> sh ./arch/x86/boot/install.sh 3.18.0-rc6+ arch/x86/boot/bzImage \
>         System.map "/boot"
> ERROR: modinfo: could not find module aes_generic
> ERROR: modinfo: could not find module ipt_MASQUERADE
> ERROR: modinfo: could not find module iptable_nat
> ERROR: modinfo: could not find module nf_nat
> ERROR: modinfo: could not find module sco
> ERROR: modinfo: could not find module l2cap
> ERROR: modinfo: could not find module freq_table
> ERROR: modinfo: could not find module mperf
> ERROR: modinfo: could not find module uvcvideo
> ERROR: modinfo: could not find module videodev
> ERROR: modinfo: could not find module v4l2_compat_ioctl32
> ERROR: modinfo: could not find module snd_page_alloc
> ERROR: modinfo: could not find module crc_t10dif
> ERROR: modinfo: could not find module output

Looking at how my Fedora 20 system appears to do this, I _guess_ (one of
the programs called by) /sbin/installkernel is looking for these modules
(and/or symbols) in /lib/modules/3.18.0-rc6+, but can't find what it
needs.

Does /lib/modules/3.18.0-rc6+ look comparable to what your system
currently has in /lib/modules/2.6.32-431.el6.x86_64?

Hope this helps,


Paul Bolle

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make install error
@ 2014-12-16  9:21 Srushti Khadke
  2014-12-19 10:29 ` Paul Bolle
  0 siblings, 1 reply; 8+ messages in thread
From: Srushti Khadke @ 2014-12-16  9:21 UTC (permalink / raw)
  To: kernelnewbies

os version centOs 6.5
kernel version is 2.6.32-431.el6.x86_64

i followed the procedure

1.make menuconfig (enabled force module unloadin,in kernel hacking changed
the debug level from 4 to 7)
2.make
3.make modules
4.make modules_install
5.make install

all steps upto 4 gave successful output but the fifth step is giving
eror.that error is

[root at localhost kvm]# make install
sh ./arch/x86/boot/install.sh 3.18.0-rc6+ arch/x86/boot/bzImage \
        System.map "/boot"
ERROR: modinfo: could not find module aes_generic
ERROR: modinfo: could not find module ipt_MASQUERADE
ERROR: modinfo: could not find module iptable_nat
ERROR: modinfo: could not find module nf_nat
ERROR: modinfo: could not find module sco
ERROR: modinfo: could not find module l2cap
ERROR: modinfo: could not find module freq_table
ERROR: modinfo: could not find module mperf
ERROR: modinfo: could not find module uvcvideo
ERROR: modinfo: could not find module videodev
ERROR: modinfo: could not find module v4l2_compat_ioctl32
ERROR: modinfo: could not find module snd_page_alloc
ERROR: modinfo: could not find module crc_t10dif
ERROR: modinfo: could not find module output
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141216/2abc409a/attachment-0001.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-12-19 10:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28  0:58 make install error kap4lin
2010-01-28  2:53 ` Junio C Hamano
2010-01-28  8:48   ` Alex Riesen
2010-01-28  8:56     ` Junio C Hamano
2010-01-28 10:27       ` Alex Riesen
2010-01-28 16:25   ` kap4lin
2014-12-16  9:21 Srushti Khadke
2014-12-19 10:29 ` Paul Bolle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.