[MINC-users] Minc-2 installation problems

Alexandre CARMEL-VEILLEUX acveilleux at mrs.mni.mcgill.ca
Mon Apr 6 12:04:14 EDT 2009


	Why is it looking for vfork.h? On fedora (and indeed, most/all
Linux distro) vfork is in unistd.h.

	Incidentally, nowhere does Minc2 use vfork() so I'm not sure why
it's checked for. I guess AC_FUNC_FORK includes a check for it. Finally,
the only fork() call appears to be to work around a bug in NetCDF 2.3.2.

	Failure of a check for vfork.h should not cause a failure however,
from my own config.log:

configure:21101: checking vfork.h usability
configure:21118: gcc -c -O2 -arch x86_64 -m64  conftest.c >&5
conftest.c:75:19: error: vfork.h: No such file or directory
configure:21124: $? = 1

	Later in the same file:

configure:21408: checking for working vfork
configure:21546: result: yes

	So vfork() is unlikely to be related with any problems..

Alex

On Mon, Apr 06, 2009 at 03:03:45PM +0200, Bahri wrote:
> Date: Mon, 06 Apr 2009 15:03:45 +0200
> From: Bahri <M.Bahri at ulg.ac.be>
> To: MINC users mailing list <minc-users at bic.mni.mcgill.ca>
> Subject: Re: [MINC-users] Minc-2 installation problems
> 
> Andrew Janke a écrit :
> >>> What do you get?
> >>>
> >>>       
> >> [root at localhost test]# ./testminctools.sh
> >> Abort: Converting Version 1 (netCDF) to itself!!
> >>     
> >
> > Ah, yes this is an error that is now fixed in CVS IIRC.
> >   
> I am not expert in informatics could you explain more please?
> >   
> >>  $ ./configure --with-build-path=/usr/local --prefix=/usr/local
> >> --enable-minc2
> >>
> >> 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
> >
> > --
> > Andrew Janke
> > (a.janke at gmail.com || http://a.janke.googlepages.com/)
> > Canberra->Australia    +61 (402) 700 883
> >
> > _______________________________________________
> > MINC-users at bic.mni.mcgill.ca
> > http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> >   
> 
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users


More information about the MINC-users mailing list