* [linux-lvm] Building LVM ona RH7.2 - errors
@ 2002-02-12 17:46 Jeff Layton
2002-02-13 3:56 ` Patrick Caulfield
2002-02-14 1:21 ` Luca Berra
0 siblings, 2 replies; 5+ messages in thread
From: Jeff Layton @ 2002-02-12 17:46 UTC (permalink / raw)
To: linux-lvm
Good evening,
I tried building lvm-1.0.2 against a clean 2.4.17
kernel. I untarred the lvm tar.gz file as well as
the 2.4.17 kernel (into /usr/src/linux-2.4.17.clean).
Then I did a,
./configure --with-kernel_dir=/usr/src/linux-2.4.17.clean
from /usr/src/LVLM/1.0.2 I get the following errors
during the configure process,
[root@home2 1.0.2]# ./configure --with-kernel_dir=/usr/src/linux-2.4.17.clean
creating cache ./config.cache
checking for mawk... mawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for st_rdev in struct stat... yes
checking whether time.h and sys/time.h may both be included... yes
./configure: [: too many arguments
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for mkdir... yes
checking for rmdir... yes
checking for uname... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating make.tmpl
sed: file conftest.s1 line 40: Unterminated `s' command
creating PATCHES/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/tools_and_lib.make.tmpl
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/lib/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/man8/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
(sorry about the length). sed is not my string point at all.
Any ideas what I'm doing wrong?
TIA,
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [linux-lvm] Building LVM ona RH7.2 - errors
2002-02-12 17:46 [linux-lvm] Building LVM ona RH7.2 - errors Jeff Layton
@ 2002-02-13 3:56 ` Patrick Caulfield
2002-02-13 4:52 ` Jeff Layton
2002-02-14 1:21 ` Luca Berra
1 sibling, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2002-02-13 3:56 UTC (permalink / raw)
To: linux-lvm
On Tue, Feb 12, 2002 at 06:47:38PM -0500, Jeff Layton wrote:
> Good evening,
>
> I tried building lvm-1.0.2 against a clean 2.4.17
> kernel. I untarred the lvm tar.gz file as well as
> the 2.4.17 kernel (into /usr/src/linux-2.4.17.clean).
> Then I did a,
>
> ./configure --with-kernel_dir=/usr/src/linux-2.4.17.clean
>
> from /usr/src/LVLM/1.0.2 I get the following errors
> during the configure process,
>
> checking whether time.h and sys/time.h may both be included... yes
> ./configure: [: too many arguments
> checking whether gcc needs -traditional... no
>
> (sorry about the length). sed is not my string point at all.
> Any ideas what I'm doing wrong?
>
It looks like there's something funny with your kernel sources, maybe a space in
the version number perhaps - check the Makefile.
I just tried a kernel.org kernel and 1.0.2 on RH 7.2 here and it's fine.
patrick
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Building LVM ona RH7.2 - errors
2002-02-13 3:56 ` Patrick Caulfield
@ 2002-02-13 4:52 ` Jeff Layton
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Layton @ 2002-02-13 4:52 UTC (permalink / raw)
To: linux-lvm
Patrick Caulfield wrote:
> On Tue, Feb 12, 2002 at 06:47:38PM -0500, Jeff Layton wrote:
> > Good evening,
> >
> > I tried building lvm-1.0.2 against a clean 2.4.17
> > kernel. I untarred the lvm tar.gz file as well as
> > the 2.4.17 kernel (into /usr/src/linux-2.4.17.clean).
> > Then I did a,
> >
> > ./configure --with-kernel_dir=/usr/src/linux-2.4.17.clean
> >
> > from /usr/src/LVLM/1.0.2 I get the following errors
> > during the configure process,
>
> >
> > checking whether time.h and sys/time.h may both be included... yes
> > ./configure: [: too many arguments
> > checking whether gcc needs -traditional... no
>
> >
> > (sorry about the length). sed is not my string point at all.
> > Any ideas what I'm doing wrong?
> >
>
> It looks like there's something funny with your kernel sources, maybe a space in
> the version number perhaps - check the Makefile.
>
> I just tried a kernel.org kernel and 1.0.2 on RH 7.2 here and it's fine.
I'll try it again, but the kernel source was pristine. I untarred it
to /usr/src/linux and mv'ed it to /usr/src/linux-2.4.17.clean.
Thanks
Jeff
>
>
> patrick
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Building LVM ona RH7.2 - errors
2002-02-12 17:46 [linux-lvm] Building LVM ona RH7.2 - errors Jeff Layton
2002-02-13 3:56 ` Patrick Caulfield
@ 2002-02-14 1:21 ` Luca Berra
2002-02-14 16:58 ` Jeff Layton
1 sibling, 1 reply; 5+ messages in thread
From: Luca Berra @ 2002-02-14 1:21 UTC (permalink / raw)
To: linux-lvm
On Tue, Feb 12, 2002 at 06:47:38PM -0500, Jeff Layton wrote:
> I tried building lvm-1.0.2 against a clean 2.4.17
> kernel. I untarred the lvm tar.gz file as well as
> the 2.4.17 kernel (into /usr/src/linux-2.4.17.clean).
> Then I did a,
guess redhat changed something with sed
> checking whether time.h and sys/time.h may both be included... yes
> ./configure: [: too many arguments
> checking whether gcc needs -traditional... no
try running
sh -x ./scripts/linuxver -d /usr/src/linux-2.4.17.clean
and see if we can guess what's wrong (probably the sed)
> creating Makefile
> sed: file conftest.s1 line 40: Unterminated `s' command
try salvaging those conftest.s1 files before configure kills them
and see what's in there.
also which version of sed are you runnging (rpm -q sed)
and which version of autoconf, if you have it installed
last thing, try running autoconf in the base lvm source dir and
see if configure works afterwards
Regards,
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [linux-lvm] Building LVM ona RH7.2 - errors
2002-02-14 1:21 ` Luca Berra
@ 2002-02-14 16:58 ` Jeff Layton
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Layton @ 2002-02-14 16:58 UTC (permalink / raw)
To: linux-lvm
Luca Berra wrote:
> On Tue, Feb 12, 2002 at 06:47:38PM -0500, Jeff Layton wrote:
> > I tried building lvm-1.0.2 against a clean 2.4.17
> > kernel. I untarred the lvm tar.gz file as well as
> > the 2.4.17 kernel (into /usr/src/linux-2.4.17.clean).
> > Then I did a,
> guess redhat changed something with sed
>
> > checking whether time.h and sys/time.h may both be included... yes
> > ./configure: [: too many arguments
> > checking whether gcc needs -traditional... no
> try running
> sh -x ./scripts/linuxver -d /usr/src/linux-2.4.17.clean
> and see if we can guess what's wrong (probably the sed)
OK, here you go,
[root@home2 1.0.2]# sh -x ./scripts/linuxver -d /usr/src/linux-2.4.17.clean
+ getopts d:h option
+ linux_src=/usr/src/linux-2.4.17.clean
+ getopts d:h option
+ '[' x/usr/src/linux-2.4.17.clean = x ']'
+ file=/usr/src/linux-2.4.17.clean/Makefile
+ '[' '!' -e /usr/src/linux-2.4.17.clean/Makefile ']'
++ grep '^VERSION[[:blank:]]*='
++ cat /usr/src/linux-2.4.17.clean/Makefile
++ sed -e 's/^VERSION[[:blank:]]*=[[:blank:]]*\([[:digit:]]*\)\(.*\)/\1/'
+ major=2
++ cat /usr/src/linux-2.4.17.clean/Makefile
++ grep '^PATCHLEVEL[[:blank:]]*='
++ sed -e 's/^PATCHLEVEL[[:blank:]]*=[[:blank:]]*\([[:digit:]]*\).*/\1/'
+ minor=4
++ cat /usr/src/linux-2.4.17.clean/Makefile
++ grep '^SUBLEVEL[[:blank:]]*='
++ sed -e 's/^SUBLEVEL[[:blank:]]*=[[:blank:]]*\([[:digit:]]*\).*/\1/'
+ sublvl=17
++ cat /usr/src/linux-2.4.17.clean/Makefile
++ grep '^EXTRAVERSION[[:blank:]]*='
++ sed -e 's/^EXTRAVERSION[[:blank:]]*=[[:blank:]]*\([-+_.[:alnum:]]*\).*/\1/'
+ extraver=
+ '[' x '!=' x ']'
+ '[' -n 2 -a -n 4 -a -n 17 ']'
+ '[' -n '' ']'
+ echo 2.4.17
2.4.17
>
> > creating Makefile
> > sed: file conftest.s1 line 40: Unterminated `s' command
> try salvaging those conftest.s1 files before configure kills them
> and see what's in there.
>
> also which version of sed are you runnging (rpm -q sed)
> and which version of autoconf, if you have it installed
[root@home2 1.0.2]# rpm -q sed
sed-3.02-10
[root@home2 1.0.2]# rpm -q autoconf
autoconf-2.13-14
>
>
> last thing, try running autoconf in the base lvm source dir and
> see if configure works afterwards
No joy, same error messages as before:
[root@home2 1.0.2]# ./configure --with-kernel_dir=/usr/src/linux-2.4.17.clean
loading cache ./config.cache
checking for gawk... (cached) mawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
./configure: [: too many arguments
checking whether gcc needs -traditional... (cached) no
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for mkdir... (cached) yes
checking for rmdir... (cached) yes
checking for uname... (cached) yes
creating ./config.status
creating Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating make.tmpl
sed: file conftest.s1 line 40: Unterminated `s' command
creating PATCHES/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/tools_and_lib.make.tmpl
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/lib/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
creating tools/man8/Makefile
sed: file conftest.s1 line 40: Unterminated `s' command
Thanks for the advice. Any ideas?
Jeff
>
>
> Regards,
> L.
>
> --
> Luca Berra -- bluca@comedia.it
> Communication Media & Services S.r.l.
> /"\
> \ / ASCII RIBBON CAMPAIGN
> X AGAINST HTML MAIL
> / \
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-14 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-12 17:46 [linux-lvm] Building LVM ona RH7.2 - errors Jeff Layton
2002-02-13 3:56 ` Patrick Caulfield
2002-02-13 4:52 ` Jeff Layton
2002-02-14 1:21 ` Luca Berra
2002-02-14 16:58 ` Jeff Layton
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.