BLCR mult-lib build

From: Stijn De Weirdt (Stijn.DeWeirdt_at_ugent.be)
Date: Wed Jul 09 2008 - 02:42:54 PDT

  • Next message: Stijn De Weirdt: "BLCR mult-lib build"
    hi all,
    
    we are trying to setup a testbed to test some features of torque and 
    blcr, and we are using centos5.1 x86_64 as OS.
    
    i'm currently building (well, trying to build) rpms for this release, 
    but i'm stuck at multi-lib problems.
    
    a regular ./configure && make works, but when using --enable-multilib, 
    configure fails with something that looks like a newbie problem ;)
    
    gcc is 4.1.2-42.el5 (gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)), and i 
    think i have all necessary 32 and 64bit rpms installed for building 
    cross platform.
    
    
    could someone help me exclude some things:
    a. the enable-multilib works in 071 (sorry, had to ask ;)
    b. gcc 4.1.2 can be used for building
    
    
    thanks a lot,
    
    stijn
    
    
    logs:
    
    ./configure --enable-multilib
    ...
    configure: >>>> BEGIN sub-configure for 32-bit libs >>>>
    configure: /usr/src/redhat/BUILD/blcr-0.7.1/configure 
    '--srcdir=/usr/src/redhat/BUILD/blcr-0.7.1' '--build=i686-linux' 
    '--libdir=${exec_prefix}/lib' --with-components=libcr,tests,examples 
    'CFLAGS=-g -O2' 'CXXFLAGS=-g -O2' '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
    checking for pwd... /bin/pwd
    checking build system type... i686-pc-linux
    checking host system type... i686-pc-linux
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for gmake... /usr/bin/gmake
    checking if /usr/bin/gmake is GNU make... yes (3.81)
    checking for ranlib... ranlib
    checking whether ln -s works... yes
    checking for style of include used by /usr/bin/gmake... GNU
    checking for gcc... gcc -m32
    checking for C compiler default output file name... configure: error: C 
    compiler cannot create executables
    See `config.log' for more details.
    configure: error: --enable-multilib requested but FAILED sub-configure 
    for 32-bit libs
    
    
    config.log ends with:
    ...
    #endif
    #ifdef __cplusplus
    extern "C" void std::exit (int) throw (); using std::exit;
    
    configure: exit 1
    

  • Next message: Stijn De Weirdt: "BLCR mult-lib build"