From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Wed Jul 25 2007 - 13:26:51 PDT
Paul H. Hargrove wrote: > Neal Becker wrote: [snip] >> >> Building srpm on fedora f7 x86_64: >> >> configure: >>>> BEGIN sub-configure for 32-bit libs >>>> >> configure: /home/nbecker/RPM/BUILD/blcr-0.6.0_b1/configure >> '--srcdir=/home/nbecker/RPM/BUILD/blcr-0.6.0_b1' '--build=i686-linux' >> '--libdir=/usr/lib' --with-components=libcr,tests,examples >> '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' >> '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' >> '--datadir=/usr/share' '--includedir=/usr/include' >> '--libexecdir=/usr/libexec' '--localstatedir=/var' >> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' >> '--infodir=/usr/share/info' '--disable-config-report' 'FFLAGS=-O2 -g >> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector >> --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CFLAGS=-O2 -g -pipe >> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector >> --param=ssp-buffer-size=4 -mtune=generic' 'CXXFLAGS=-O2 -g -pipe -Wall >> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector >> --param=ssp-buffer-size=4 -mtune=generic' 'CC=gcc -m32' 'CXX=g++ -m32' >> 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 >> configure: error: source directory already configured; run "make >> distclean" there first >> configure: error: --enable-multilib requested but FAILED sub-configure >> for 32-bit libs >> make: *** [config.status] Error 1 >> error: Bad exit status from /var/tmp/rpm/rpm-tmp.92347 (%build) [snip] I have a fix that seems to work OK, but I can't fully test it yet. However, I've found that there is an unrelated problem in how the SRPM I posted was built that prevents building from it on a 32-bit platform. There will, I hope, be a 0.6.0_b2 later today with both fixes for both the SRPM problem(s) and the 1-line configure patch from Cedric. However, I am not certain about resolving the problems Cedric saw at insmod-time. -Paul -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group HPC Research Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900