[comp.lang.perl] More on CONFIG for Apollo 10.2

dave@vlsi-mentor.jpl.nasa.gov (David Hayes) (11/08/90)

Ok...those wonderful messages beforehand about this subject were great. I got
Configure to actually find 98% of everything.

Still missing, however:

htonl() not found
 
vfork() not found
 
No vfork.h found.
                       
What library are these picked up in? 
-- 
----
Dave Hayes  dave@vlsi-mentor.jpl.nasa.gov   
			{ucbvax,ames}!elroy!vlsi-mentor!dave
"Attempt to find truth by realizing that it will generally find YOU."

vinoski@apollo.HP.COM (Stephen Vinoski) (11/09/90)

In article <1990Nov7.223955.1377@vlsi-mentor.jpl.nasa.gov> dave@vlsi-mentor.jpl.nasa.gov (David Hayes) writes:
>Ok...those wonderful messages beforehand about this subject were great. I got
>Configure to actually find 98% of everything.
>Still missing, however:
>htonl() not found
>vfork() not found
>No vfork.h found.

htonl() is a macro in /usr/include/netinet/in.h .

vfork() is in /lib/clib on my node.  The reason it doesn't show up during Configure
is that it is a user-defined segment symbol, and Configure only examines
absolute, text segment, and data segment symbols.  I suppose you could fix that
with the following patch to Configure:

*** Configure.old	Thu Nov  8 15:55:08 1990
--- Configure	Thu Nov  8 15:55:40 1990
***************
*** 1452,1458 ****
  set `echo $libc $libnames | tr ' ' '\012' | sort | uniq`
  $echo $n "Extracting names from $* for later perusal...$c"
  nm $* 2>/dev/null >libc.tmp
! $sed -n -e 's/^.* [ATD]  *_[_.]*//p' -e 's/^.* [ATD] //p' <libc.tmp >libc.list
  if $contains '^printf$' libc.list >/dev/null 2>&1; then
      echo "done"
  else
--- 1452,1458 ----
  set `echo $libc $libnames | tr ' ' '\012' | sort | uniq`
  $echo $n "Extracting names from $* for later perusal...$c"
  nm $* 2>/dev/null >libc.tmp
! $sed -n -e 's/^.* [ATDS]  *_[_.]*//p' -e 's/^.* [ATDS] //p' <libc.tmp >libc.list
  if $contains '^printf$' libc.list >/dev/null 2>&1; then
      echo "done"
  else

We don't appear to have vfork.h, but I don't think it's necessary.

-steve

| Steve Vinoski  (508)256-6600 x5904       | Internet: vinoski@apollo.hp.com  |
| Testability and Diagnostics              | UUCP: ...mit-eddie!apollo!vinoski|
| HP Apollo Division, Chelmsford, MA 01824 |       ...uw-beaver!apollo!vinoski|
|                             I feel crapulous today.                         |