bug-grep
[Top][All Lists]
Advanced

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

problem in grep package


From: Simone Campagna
Subject: problem in grep package
Date: Mon, 23 Oct 2006 17:25:12 +0200 (MEST)
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I would like to notify you about a problem that I found during
installation of the grep package.
I tried to compile on a linux cluster, but the configure failed.
The system is:

> uname -a
Linux node248 2.4.21-278-smp #1 SMP Mon Mar 7 09:17:29 UTC 2005 i686 unknown

and I was using an intel compiler (icc).

The configure reported that:

> ./configure \
- -
-
--prefix=$LM_AUTO_DIR/install/${LM_ARCH}.${LM_COMPILER}${LM_OPTIONS}/grep-2.5.1a
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... config.sub: too many arguments
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub ld /usr/lib/crt1.o
/usr/lib/crti.o /usr/lib/gcc-lib/i486-suse-linux/3.2.2/crtbegin.o
- - --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.2 -m elf_i386 -o
dummy-28081
/sfs/sanfs/home/usersmr/px2boik1/lm-dev/clx/auto/tmp/iccDifYaf.o -Qy
- - -L/opt/intel_cc_81/lib -L/usr/lib/gcc-lib/i486-suse-linux/3.2.2
- - -L/usr/lib/gcc-lib/i486-suse-linux/3.2.2/../../.. -L/usr/lib -Bstatic
- - -limf -Bdynamic -lm -Bstatic -lirc -Bdynamic -lc -Bdynamic -lgcc_s
- - -Bstatic -lgcc -Bstatic -lirc_s
/usr/lib/gcc-lib/i486-suse-linux/3.2.2/crtend.o /usr/lib/crtn.o
i686-pc-linux-gnu failed

The problem is due to the fact that icc compiler write on standard
output the linker call, as you can see above; this output must be
discarded. I had to change line 879 of config.guess script:

879c879
<       $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null 1>&2 && ./$dummy
"${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
- - ---
>       $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy
"${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0

After this change, the configure works correctly.
Bye
   Simone
- - --
=============================================
 Simone Campagna
 CINECA - High Performance System Group
          Via Magnanelli 6/3
          40033 Casalecchio di Reno
          Bologna - Italy
 E-Mail:  address@hidden
   Tel.:  ++39 (051) 6171411
   FAX:   ++39 (051) 6132198

 See http://pgpkeys.cineca.it for my PGP key
=============================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPN7S7TEJZ9Gdkx8RAqq+AJwPLgsppkzd/gsG3QESnmp+kAQwIwCeLiQh
5nVHBXWpC+LiTYmlHMiPBX0=
=Lut5
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]