Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Problems when installing taucs_full
- Date: Mon, 13 Jul 2009 14:40:58 +0200
- Organization: INRIA
Hi sanlington,
I do not have gcc version 4.4 but I was able to reproduce the bug with gcc
4.3.
The first error occurs here:
>>> obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h
>>> obj/linux/taucs_blas_underscore_test: error while loading shared
>>> libraries: libg2c.so.0: cannot open shared object file: No such file or
>>> directory
You need the libg2c shared library, which is part of g77 Fortran compiler =
GNU 3.x Fortran compiler.
You should install g77 (not gfortran = GNU 4.x Fortran compiler).
On my OS (Fedora 7), it comes for example in the compat-gcc-34-g77 rpm.
Best regards,
--
Laurent Saboret
INRIA Sophia-Antipolis
sanlington wrote:
i got the information as following:
[root@sanlington
cgal2graphite]# cc -v
Using built-in specs.
Target: i586-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i586 --build=i586-redhat-linux
Thread model: posix
gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC)
在2009-07-10,"Laurent Saboret"
<>
写道:
Hi,
Which version of gcc do you use (cc -v)?
--
Laurent Saboret
INRIA Sophia-Antipolis
sanlington a écrit :
hi,
i downloaded taucs_full.tgz <http://gforge.inria.fr/frs/download.php/12636/taucs_full.tgz> from www.cgal.org, when i tried to install it,some errors occured:
[root@sanlington
taucs_full]# ./configure
cc -o configurator/configurator configurator/taucs_config.c
[root@sanlington
taucs_full]# make
mkdir obj
mkdir obj/linux/
echo exists > obj/linux/exists.log
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_blas_underscore_test.c \
-o ./obj/linux/taucs_blas_underscore_test.o
cc \
-o ./obj/linux/taucs_blas_underscore_test \
obj/linux/taucs_blas_underscore_test.o -L external/lib/linux -llapack -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lg2c -lm
obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h
obj/linux/taucs_blas_underscore_test: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_blas_nounderscore_test.c \
-o ./obj/linux/taucs_blas_nounderscore_test.o
cc \
-o ./obj/linux/taucs_blas_nounderscore_test \
obj/linux/taucs_blas_nounderscore_test.o -L external/lib/linux -llapack -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lg2c -lm
obj/linux/taucs_blas_nounderscore_test.o: In function `main':
taucs_blas_nounderscore_test.c:(.text+0xa4): undefined reference to `dgemm'
collect2: ld returned 1 exit status
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_nounderscore_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_blas_nounderscore_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_c99_complex_test.c \
-o ./obj/linux/taucs_c99_complex_test.o
cc \
-o ./obj/linux/taucs_c99_complex_test \
obj/linux/taucs_c99_complex_test.o -L external/lib/linux -llapack -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lg2c -lm
obj/linux/taucs_c99_complex_test build/linux/taucs_config_tests.h
obj/linux/taucs_c99_complex_test: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_cilk_test.c \
-o ./obj/linux/taucs_cilk_test.o
progs/taucs_cilk_test.c:8:19: error: cilk.h: No such file or directory
progs/taucs_cilk_test.c:10: warning: ignoring #pragma lang
progs/taucs_cilk_test.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
progs/taucs_cilk_test.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
cc \
-o ./obj/linux/taucs_cilk_test \
obj/linux/taucs_cilk_test.o -L external/lib/linux -llapack -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lg2c -lm
cc: obj/linux/taucs_cilk_test.o: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_cilk_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_cilk_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
mkdir bin
mkdir: cannot create directory `bin': File exists
make: [bin/linux/exists.log] Error 1 (ignored)
mkdir bin/linux/
echo exists > bin/linux/exists.log
mkdir lib
mkdir: cannot create directory `lib': File exists
make: [lib/linux/exists.log] Error 1 (ignored)
mkdir lib/linux/
echo exists > lib/linux/exists.log
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-o ./obj/linux/taucs_sn_llt.o
In file included from src/taucs_sn_llt.c:13:
src/taucs.h:6:32: error: taucs_config_tests.h: No such file or directory
src/taucs.h:79:2: error: #error "taucs_blas_[no]underscore_test: linking with the BLAS failed both attempts"
In file included from src/taucs_sn_llt.c:13:
src/taucs.h:828: error: ‘taucs_blas_name’ declared as function returning a function
src/taucs.h:828: warning: parameter names (without types) in function declaration
src/taucs.h:829: error: ‘taucs_blas_name’ declared as function returning a function
src/taucs.h:829: warning: parameter names (without types) in function declaration
src/taucs.h:830: error: ‘taucs_blas_name’ declared as function returning a function
src/taucs.h:830: warning: parameter names (without types) in function declaration
src/taucs.h:831: error: ‘taucs_blas_name’ declared as function returning a function
src/taucs.h:831: warning: parameter names (without types) in function declaration
make: *** [obj/linux/taucs_sn_llt.o] Error 1
how to do next ?
------------------------------------------------------------------------
200万种商品,最低价格,疯狂诱惑你 <http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com>
- [cgal-discuss] Problems when installing taucs_full, sanlington, 07/10/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Laurent Saboret, 07/10/2009
- Re:Re: [cgal-discuss] Problems when installing taucs_full, sanlington, 07/10/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Laurent Saboret, 07/13/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Marc Glisse, 07/14/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Laurent Saboret, 07/15/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Marc Glisse, 07/14/2009
- Re: [cgal-discuss] Problems when installing taucs_full, Laurent Saboret, 07/13/2009
Archive powered by MHonArc 2.6.16.