[MINC-users] Minc-2 installation problems

mohamed Ali Bahri m.bahri at ulg.ac.be
Mon Apr 6 08:36:01 EDT 2009


Andrew Janke a écrit :
> Interesting, if you cd to the minc directory (where you built it) and run this:
>
>    cd libsrc2/test
>    ./testminctools.sh
>
> What do you get?
>   
[root at localhost test]# ./testminctools.sh
Abort: Converting Version 1 (netCDF) to itself!!
[root at localhost test]#
>> Here is the config.log of minc (attached file)
>>     
>
> Sorry, the list doesn't allow attachments. Can you chop the pertinent
> bit out of the config.log and post it?
>   
 $ ./configure --with-build-path=/usr/local --prefix=/usr/local 
--enable-minc2

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.27.21-78.2.41.fc9.x86_64
uname -s = Linux
uname -v = #1 SMP Mon Mar 23 23:22:15 EDT 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
## ----------- ##
## Core tests. ##
## ----------- ##
.
.
.
configure:2002: checking for a BSD-compatible install
configure:2058: result: /usr/local/bin/install -c
configure:2069: checking whether build environment is sane
configure:2112: result: yes
configure:2140: checking for a thread-safe mkdir -p
configure:2179: result: /usr/local/bin/mkdir -p
configure:2192: checking for gawk
configure:2208: found /usr/bin/gawk
configure:2219: result: gawk
configure:2230: checking whether make sets $(MAKE)
configure:2251: result: yes
configure:2457: checking for a BSD-compatible install
configure:2513: result: /usr/local/bin/install -c
configure:2524: checking whether ln -s works
configure:2528: result: yes
configure:2535: checking whether make sets $(MAKE)
configure:2556: result: yes
configure:2578: checking for style of include used by make
configure:2606: result: GNU
configure:2676: checking for gcc
configure:2692: found /usr/lib64/ccache/gcc
configure:2703: result: gcc
configure:2941: checking for C compiler version
configure:2948: gcc --version >&5
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.
.
.
configure:7427: checking the maximum length of command line arguments
configure:7539: result: 1966080
configure:7551: checking command to parse /usr/bin/nm -B output from gcc 
object
configure:7656: g++ -c -g -O2  conftest.cpp >&5
configure:7659: $? = 0
configure:7663: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[     
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:7666: $? = 0
configure:7718: g++ -o conftest -g -O2   conftest.cpp conftstm.o >&5
configure:7721: $? = 0
configure:7759: result: ok
configure:7763: checking for objdir
configure:7778: result: .libs
configure:7870: checking for ar
configure:7886: found /usr/bin/ar
configure:7897: result: ar
configure:7966: checking for ranlib
configure:7993: result: ranlib
configure:8062: checking for strip
configure:8078: found /usr/bin/strip
configure:8089: result: strip
configure:8687: checking if gcc supports -fno-rtti -fno-exceptions
configure:8705: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ 
but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ 
but not for C
configure:8709: $? = 0
configure:8722: result: no
configure:8737: checking for gcc option to produce PIC
configure:8969: result: -fPIC
configure:8977: checking if gcc PIC flag -fPIC works
configure:8995: gcc -c -g -O2  -fPIC -DPIC conftest.c >&5
configure:8999: $? = 0
configure:9012: result: yes
configure:9040: checking if gcc static flag -static works
configure:9068: result: yes
configure:9078: checking if gcc supports -c -o file.o
configure:9099: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9103: $? = 0
configure:9125: result: yes
configure:9151: checking whether the gcc linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries
configure:10132: result: yes
configure:10199: checking dynamic linker characteristics
configure:10813: result: GNU/Linux ld.so
configure:10837: checking how to hardcode library paths into programs
configure:10862: result: immediate
configure:10876: checking whether stripping libraries is possible
configure:10881: result: yes
configure:11683: checking if libtool supports shared libraries
configure:11685: result: yes
configure:11688: checking whether to build shared libraries
configure:11709: result: no
configure:11712: checking whether to build static libraries
configure:11716: result: yes
configure:11810: creating libtool
configure:12403: checking for ld used by g++
configure:12470: result: /usr/bin/ld -m elf_x86_64
configure:12479: checking if the linker (/usr/bin/ld -m elf_x86_64) is 
GNU ld
configure:12494: result: yes
configure:12545: checking whether the g++ linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries
configure:13491: result: yes
configure:13508: g++ -c -g -O2  conftest.cpp >&5
configure:13511: $? = 0
configure:13667: checking for g++ option to produce PIC
configure:13951: result: -fPIC
configure:13959: checking if g++ PIC flag -fPIC works
configure:13977: g++ -c -g -O2  -fPIC -DPIC conftest.cpp >&5
configure:13981: $? = 0
configure:13994: result: yes
configure:14022: checking if g++ static flag -static works
configure:14050: result: yes
configure:14060: checking if g++ supports -c -o file.o
configure:14081: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:14085: $? = 0
configure:14107: result: yes
configure:14133: checking whether the g++ linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries
configure:14162: result: yes
configure:14229: checking dynamic linker characteristics
configure:14791: result: GNU/Linux ld.so
configure:14815: checking how to hardcode library paths into programs
configure:14840: result: immediate
configure:15379: checking if libtool supports shared libraries
configure:15381: result: yes
configure:15384: checking whether to build shared libraries
configure:15404: result: no
configure:15407: checking whether to build static libraries
configure:15411: result: yes
configure:15421: checking for gfortran option to produce PIC
configure:15653: result: -fPIC
configure:15661: checking if gfortran PIC flag -fPIC works
configure:15679: gfortran -c -g -O2 -fPIC conftest.f >&5
configure:15683: $? = 0
configure:15696: result: yes
configure:15724: checking if gfortran static flag -static works
configure:15752: result: yes
configure:15762: checking if gfortran supports -c -o file.o
configure:15783: gfortran -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:15787: $? = 0
configure:15809: result: yes
configure:15835: checking whether the gfortran linker (/usr/bin/ld -m 
elf_x86_64) supports shared libraries
configure:16796: result: yes
configure:16863: checking dynamic linker characteristics
configure:17425: result: GNU/Linux ld.so
configure:17449: checking how to hardcode library paths into programs
configure:17474: result: immediate
configure:21107: checking for library m
configure:21131: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lm  >&5
configure:21137: $? = 0
configure:21153: result: yes
configure:21162: checking for library netcdf
configure:21186: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lnetcdf -lm  >&5
configure:21192: $? = 0
configure:21208: result: yes
configure:21240: checking for library z
configure:21264: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lz -lnetcdf -lm  >&5
configure:21270: $? = 0
configure:21286: result: yes
configure:21295: checking for library hdf5
configure:21319: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21325: $? = 0
configure:21341: result: yes
configure:21367: checking for strdup
configure:21423: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
conftest.c:58: warning: conflicting types for built-in function 'strdup'
configure:21429: $? = 0
configure:21447: result: yes
configure:21472: checking for mkstemp
configure:21528: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21534: $? = 0
configure:21552: result: yes
configure:21472: checking for tempnam
configure:21528: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
/tmp/ccSJJHHk.o: In function `main':
/usr/local/minc-2.0.16/conftest.c:71: warning: the use of `tempnam' is 
dangerous, better use `mkstemp'
configure:21534: $? = 0
configure:21552: result: yes
configure:21472: checking for tmpnam
configure:21528: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
/tmp/ccQfKCwo.o: In function `main':
/usr/local/minc-2.0.16/conftest.c:72: warning: the use of `tmpnam' is 
dangerous, better use `mkstemp'
configure:21534: $? = 0
configure:21552: result: yes
configure:21570: checking for getpwnam
configure:21626: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21632: $? = 0
configure:21650: result: yes
configure:21570: checking for select
configure:21626: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21632: $? = 0
configure:21650: result: yes
configure:21570: checking for strerror
configure:21626: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21632: $? = 0
configure:21650: result: yes
configure:21570: checking for sysconf
configure:21626: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21632: $? = 0
configure:21650: result: yes
configure:21662: checking for pid_t
configure:21692: gcc -c -g -O2  -I/usr/local/include conftest.c >&5
configure:21698: $? = 0
configure:21713: result: yes
configure:21740: checking vfork.h usability
configure:21757: gcc -c -g -O2  -I/usr/local/include conftest.c >&5
conftest.c:76:19: error: vfork.h: No such file or directory
configure:21763: $? = 1
configure: failed program was:



More information about the MINC-users mailing list