Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!digi.lonestar.org!kgallagh From: kgallagh@digi.lonestar.org (Kevin Gallagher) Newsgroups: comp.lang.perl Subject: Re: Config on APOLLO SR10.2 Keywords: ack Message-ID: <1222@digi.lonestar.org> Date: 4 Nov 90 06:47:14 GMT References: <1990Nov2.225524.6123@vlsi-mentor.jpl.nasa.gov> Distribution: comp Organization: DSC Communications, Plano Tx. Lines: 28 In article <1990Nov2.225524.6123@vlsi-mentor.jpl.nasa.gov> dave@vlsi-mentor.jpl.nasa.gov (David Hayes) writes: >Something's not entirely right about Configure on Apollo's running SR10.2. >... >dup2() not found >fchmod() not found >fchown() not found >[more of the same deleted] >Yet these routines DO exist. Somewhere. I always have to go into config.h >and fix it up to realize that these routines are there. > >Has anyone found a useful way to let Configure know what is really there? >I really HATE editing config.h.... The problem is that Apollo's /bin/cc compiler has two C libraries: /lib/clib and /lib/libc. Configure only finds one and just searches it. It does not search the other unless told to do so. You need to tell it to do so by specifying the missing library with the -l option when asked by Configure. Unfortunately, Configure will add this -l option in the make files, which will cause the compiler to abort when it encounters the option. So be sure to delete this -l option from the make files before kicking off the build. /bin/cc will search both libaries on its own. -- ---------------------------------------------------------------------------- Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh DSC Communications OR apcihq!apcidfw!digi!kgallagh ----------------------------------------------------------------------------