[MINC-users] Minc-2 installation problems

mohamed Ali Bahri m.bahri at ulg.ac.be
Tue Apr 7 12:28:25 EDT 2009


>>>> 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
>>>>         
>>> Hrm, this bit doesn't seem right.  What system are you trying to build on?
>>>
>>>       
>> Linux Fedora 9, 64bit
>>     
>
> As Alexandre says, this is strange. What is in config.log after this line?
>   
Here are:

| #include <ac_nonexistent.h>
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:
...

| #include <vfork.h>
configure:21816: result: no
configure:21849: checking for vfork.h
configure:21857: result: no
configure:21875: checking for fork
configure:21931: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
conftest.c:66: warning: conflicting types for built-in function 'fork'
configure:21937: $? = 0
configure:21955: result: yes
configure:21875: checking for vfork
configure:21931: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:21937: $? = 0
configure:21955: result: yes
configure:21966: checking for working fork
configure:21998: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:22001: $? = 0
configure:22007: ./conftest
configure:22010: $? = 0
configure:22026: result: yes
configure:22047: checking for working vfork
configure:22185: result: yes
configure:22221: checking for system
configure:22277: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:22283: $? = 0
configure:22301: result: yes
configure:22221: checking for popen
configure:22277: gcc -o conftest -g -O2  -I/usr/local/include  
-L/usr/local/lib conftest.c -lhdf5 -lz -lnetcdf -lm  >&5
configure:22283: $? = 0
configure:22301: result: yes
configure:22475: creating ./config.status




More information about the MINC-users mailing list