🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1625

fixing up /usr/include

#1625
From: R. Matthew Emerson
Date: Sun, 27 Sep 1992 20:17
27 lines
1501 bytes
NeXT's new and "improved" reorganization of /usr/include makes me a bit
grupmy. The main problem is that configuration scripts for software like
perl (not to mention us poor humans) get confused when the header files
aren't in the usual places. 

This little script fixes up /usr/include so it looks more normal.  (well,
normal enough for perl's Configure script to do the right thing.)

# fix up NeXT's 3.0 /usr/include directory

cd /usr/include

ln -s ansi/*.h .
rm errno.h      # errno.h is duplicated in bsd

ln -s bsd/* .
rm m68k machine # don't need these in /usr/include
rm libc.p errno.h # these conflict with precomps

# note: syslog.h is no longer a symlink to sys/syslog.h --- this messes up
# syslog.pl, so you gotta cp <perl-lib>/sys/syslog.ph to <perl-lib>/syslog.ph
# after you run h2ph

Note that errno.h and libc.p must go, or you'll get Very Peculiar errors
when compiling; this is due to the precompiled headers, I believe.

-matt
Technical Details
Message-ID: <1992Sep27.201757.22804@cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hadrosaur.cis.ohio-state.edu!emerson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hadrosaur.cis.ohio-state.edu!emerson
From: emerson@hadrosaur.cis.ohio-state.edu (R. Matthew Emerson)
Newsgroups: comp.sys.next.programmer
Subject: fixing up /usr/include
Message-ID: <1992Sep27.201757.22804@cis.ohio-state.edu>
Date: 27 Sep 92 20:17:57 GMT
Article-I.D.: cis.1992Sep27.201757.22804
Sender: news@cis.ohio-state.edu (NETnews        )
Organization: The Ohio State University Dept. of Computer and Info. Science
Lines: 27