Path: utzoo!utgpu!watmath!uunet!samsung!gem.mps.ohio-state.edu!sunybcs!boulder!scicom!zebra!vern From: vern@zebra.UUCP (Vernon C. Hoxie) Newsgroups: unix-pc.general Subject: Re: v20i103: Perl, a language with features of C/sed/awk/shell/etc, Part20/24 Summary: mkdir from newskit? Message-ID: <197@zebra.UUCP> Date: 11 Nov 89 08:26:48 GMT References: <2123@papaya.bbn.com> <1015@kosman.UUCP> <4369@itivax.iti.org> <1020@kosman.UUCP> Organization: Alpha Science Computer Networks, Denver, Colo. Lines: 45 In article <1020@kosman.UUCP>, kevin@kosman.UUCP (Kevin O'Gorman) writes: > In article <995@cgh.UUCP> paul@cgh.UUCP (Paul Homchick) writes: > > > >Aha! It's not just me. Mine failed on test 3 and 4 of op.magic, and on > >tests 3 through 7 of op.mkdir. This was with the standard 7300/3B1 cc. Mine failed only on test 3 of op.magic and test 3 of op.mkdir. Does this mean that it passed test 4..5 of op.magic and 4..7 of op.mkdir? Or does it stop when it gets a failure? I also was using the stock cc but I kludged the Makefile to use the shared library. By kludge I -- $(LD) -r $(obj) perl.o $(SHAREDLIB) -o tmp.o $(LD) $(LARGE) $(LDFLAGS) tmp.o $(libs) -o perl rm tmp.o wherever Configure had a $(CC). This needs an entry: SHAREDLIB = /lib/crt0s.o /lib/shlib.ifile earlier in the script. I also have the 'dirent' package posted a month or so ago. I have it in /usr/lib/libdirent.a which I added to the $(libs) list. When I tried adding $(SHAREDLIB) on the $(LD) line, I got a zillion 'redefined' error messages. There must be a more straight forward way to get as much as is available from the shared lib and the rest from libc.a. When I omitted the reference to libc.a, vsprintf was left dangling as undefined. > Test 3 of op.mkdir failed because PERL is at the mercy of the > OS' handling of errors and cannot interpret the error from mkdir. Can the 'mkdir' from the news kit be included somehow to get this to work? Now, what is screwing up op.magic? vern -- Vernon C. Hoxie {ncar,nbires,boulder,isis}!scicom!zebra!vern 3975 W. 29th Ave. voice: 303-477-1780 Denver, Colo., 80212 TB+ uucp: 303-455-2670