home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!ub!dsinc!pitt.edu!djbpitt
- From: djbpitt+@pitt.edu (David J Birnbaum)
- Newsgroups: comp.lang.perl
- Subject: aub problem finding sys/socket.ph
- Message-ID: <5585@blue.cis.pitt.edu.UUCP>
- Date: 8 Sep 92 15:44:51 GMT
- Sender: news+@pitt.edu
- Organization: University of Pittsburgh
- Lines: 41
-
- I have been unable to persuade aub to find my sys/socket.ph file. The
- author of aub has been very helpful in trying to track down the problem,
- but without success. The problem is apparently not with aub, but with
- something I've done; I am the only user to report this. I know nothing
- about perl and have no idea where I've gone wrong; does anyone recognize
- this error? (There is a work-around, described below; while it lets me
- use aub, it still leaves me frustrated and puzzled.)
-
- I built perl myself and installed it in my personal bin, using 'make
- install' to install the library files into my personal lib. This means
- that my copy of perl knows where its lib files are (since it deposited
- them there itself). I verified this by running:
-
- #!/afs/pitt.edu/usr/djbpitt/bin/perl
- foreach (@INC) {
- print "$_\n";
- }
-
- and it reported the full, correct path: /afs/pitt.edu/usr/djbpitt/lib/perl.
- I then used h2ph to create /afs/pitt.edu/usr/djbpitt/lib/perl/sys/socket.ph.
-
- When I run aub with the -d2 (debugging) option, it tells me that it is
- looking in the right place for sys/socket.ph, but doesn't find it. I
- then tried specifying the full path to my perl lib directory using the -I
- command line option, but this, too, failed.
-
- I work around the problem by commenting out the aub line that looks for
- socket.ph and pasting the necessary values by hand from my socket.ph
- file directly into the aub script. Everything then works as advertised.
- I can live with this, of course, but it isn't the way nature intended
- perl scripts to operate. Can anyone suggest where I might have gone wrong?
-
- Thanks,
-
- David
-
- --
- Professor David J. Birnbaum djbpitt+@pitt.edu [Internet]
- The Royal York Apartments, #802 djbpitt@pittvms [Bitnet]
- 3955 Bigelow Boulevard voice: 1-412-687-4653
- Pittsburgh, PA 15123 USA fax: 1-412-624-9714
-