Compiling under Red Hat EL 4

Help
2011-03-11
2012-09-01
  • Russell Almond

    Russell Almond - 2011-03-11

    I'm having difficulty compiling JAGS under RHEL 4. I keep getting problems
    related to blas and lapack, even though they are installed on my system. I had
    difficulty configuring it because apparently RHEL 4 gives links to the 32 but
    not 64 bit versions of blas and lapack. I was able to download the 64 bit rpms
    from:

    http://vetinari.math.hmc.edu/os/local/centos/prod/4/x86_64/repodata/index.htm
    l

    However, now it does not build under make. I'm getting an error:

    make: Entering directory `/home/ralmond/software/JAGS-2.2.0/src/lib/compiler'

    make all-am

    make: Entering directory `/home/ralmond/software/JAGS-2.2.0/src/lib/compiler'

    /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
    -I../../.. -I../../../src/include -g -O2 -MT libcompiler_la-Compiler.lo -MD
    -MP -MF .deps/libcompiler_la-Compiler.Tpo -c -o libcompiler_la-Compiler.lo
    test -f 'Compiler.cc' || echo './'Compiler.cc

    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/include -g
    -O2 -MT libcompiler_la-Compiler.lo -MD -MP -MF .deps/libcompiler_la-
    Compiler.Tpo -c Compiler.cc -fPIC -DPIC -o .libs/libcompiler_la-Compiler.o

    Compiler.cc: In static member function `static DistTab& Compiler::distTab()':

    Compiler.cc:1155: error: no matching function for call to `DistTab::DistTab()'

    ../../../src/include/distribution/DistTab.h:18: note: candidates are:
    DistTab::DistTab(const DistTab&)

    Compiler.cc: In static member function `static FuncTab& Compiler::funcTab()':

    Compiler.cc:1161: error: no matching function for call to `FuncTab::FuncTab()'

    ../../../src/include/function/FuncTab.h:18: note: candidates are:
    FuncTab::FuncTab(const FuncTab&)

    Compiler.cc: In static member function `static ObsFuncTab&
    Compiler::obsFuncTab()':

    Compiler.cc:1167: error: no matching function for call to
    `ObsFuncTab::ObsFuncTab()'

    ../../../src/include/compiler/ObsFuncTab.h:24: note: candidates are:
    ObsFuncTab::ObsFuncTab(const ObsFuncTab&)

    make: *** Error 1

    Any suggestions about how to debug this would be appreciated.

     
  • Russell Almond

    Russell Almond - 2011-03-11

    Nevermind. I see my quesion was answered in a previous post.

    Hopefully somebody else will find the links to the the 64 bit versions of blas
    and lapack useful though.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks