Mailing List Archive

perl5.002 beta 1 perlxstut confusion
Just to let folks know:

After installing the new perl5.002 beta1 in a test directory (I'm not quite
ready to replace the standard one yet), I thought I would try out the new
perl extension features (the last time I did an extension I had a
Makefile.SH and you had to build your extension along with perl, so its been
a while, which is why I wanted to try the new stuff :-).

The XS tutorial looked like a great place to start, so I put
/amb21/perl5.002/bin at the beginning of my $PATH (that's the test directory
where I installed perl) and I tried the first example.

Everything got built OK, but the first time I tried running the test1.pl
script I got:

amber> ./test1.pl
Can't load './Test1.o' for module Test1: dynamic linker: /amb21/perl5.002/bin/perl: /amb21/tom/testing/Test1/./Test1.o not a shared object at /amb21/perl5.002/lib/DynaLoader.pm line 136.

at blib/Test1.pm line 13
Can't load './Test1.o' for module Test1: dynamic linker: /amb21/perl5.002/bin/perl: /amb21/tom/testing/Test1/./Test1.o not a shared object at /amb21/perl5.002/lib/DynaLoader.pm line 136.

at blib/Test1.pm line 13
BEGIN failed--compilation aborted at ./test1.pl line 5.


So, I figured for some reason it is finding the .o file instead of the .so
file, so I removed it and tried again. This time I got:

amber> rm Test1.o
amber> perl test1.pl
Can't find loadable object for module Test1 in @INC (./blib /amb21/perl5.002/lib/m88k-cxux/5.002 /amb21/perl5.002/lib /amb21/perl5.002/lib/site_perl/m88k-cxux .) at blib/Test1.pm line 13
Can't find loadable object for module Test1 in @INC (./blib /amb21/perl5.002/lib/m88k-cxux/5.002 /amb21/perl5.002/lib /amb21/perl5.002/lib/site_perl/m88k-cxux .) at blib/Test1.pm line 13
BEGIN failed--compilation aborted at test1.pl line 5.


Since it was finding the .o file when I had it laying around, I tried making
a symlink from the .so file down inside ./blib to the current directory:

amber> ln -s blib/m88k-cxux/auto/Test1/Test1.so .
amber> pwd
/amb21/tom/testing/Test1
amber> ./test1.pl
Hello, world!


And now it works! I'm guessing that ./blib isn't enough to add to @INC, but
I'm not sure if the inconsistency is in the XS tutorial doc or the version
of make maker that shipped with beta1 or what.

I'm not in dire need of any kind of fix, but it would be nice if the
examples work as described by the time 5.002 gets out of beta, so I just
figured I'd let people know about it.
--
Tom.Horsley@mail.hcsc.com
Home: 511 Kingbird Circle Delray Beach FL 33444
Work: Harris Computers, 2101 W. Cypress Creek Rd. Ft. Lauderdale FL 33309
Support Project Vote Smart! They need your support in non-election years too!
(email pvs@neu.edu, 1-800-622-SMART, http://www.vote-smart.org)
Re: perl5.002 beta 1 perlxstut confusion [ In reply to ]
Based on Tom's message below, I wonder if DynaLoader.pm is now a bit out of
date? Like Tom, my 5.002b1 is also breaking with the same error, and is
fixed by unshifing "./blib/$archname", rather than just "./blib" to @INC.

Jeff
-----
> Warning: this is a kind of a long message, but it includes all the info you
> asked about when I first reported this problem (trying to follow the
> perlxstut tutorial example).
>
> I've finally gotten back to trying to test extensions again, this time
> on a different machine with the latest perl5.002b1d version of perl.
>
> I installed this newest perl in /cl0/tom/local rather than overwriting the
> "official" version on the system so I could do some testing first, but I did
> put /cl0/tom/local/bin at the front of my $PATH, and in any scripts I wrote,
> I used #!/cl0/tom/local/bin/perl, so I'm sure it is getting the right
> version of perl.
>
> After trying the first example in the perlxstut tutorial, I have a Test1
> directory that looks like:
>
> ls -RCFl Test1 output folows:
>
> total 116
> -rw-rw-rw- 1 tom software 39 Dec 5 13:29 MANIFEST
> -rw-r--r-- 1 tom software 16439 Dec 5 13:31 Makefile
> -rw-rw-rw- 1 tom software 344 Dec 5 13:29 Makefile.PL
> -rw-r--r-- 1 tom software 0 Dec 5 13:32 Test1.bs
> -rw-rw-rw- 1 tom software 659 Dec 5 13:31 Test1.c
> -rw-rw-rw- 1 tom software 19284 Dec 5 13:32 Test1.o
> -rw-rw-rw- 1 tom software 458 Dec 5 13:29 Test1.pm
> -rw-rw-rw- 1 tom software 207 Dec 5 13:30 Test1.xs
> drwxr-xr-x 4 tom software 512 Dec 5 13:31 blib/
> -rw-rw-rw- 1 tom software 90 Dec 5 13:33 test1.pl
>
> Test1/blib:
> total 6
> -rw-rw-rw- 1 tom software 458 Dec 5 13:31 Test1.pm
> drwxrwxrwx 3 tom software 512 Dec 5 13:31 auto/
> drwxrwxrwx 3 tom software 512 Dec 5 13:31 ppc-powerunix/
>
> Test1/blib/auto:
> total 2
> drwxr-xr-x 2 tom software 512 Dec 5 13:31 Test1/
>
> Test1/blib/auto/Test1:
> total 0
>
> Test1/blib/ppc-powerunix:
> total 2
> drwxrwxrwx 3 tom software 512 Dec 5 13:31 auto/
>
> Test1/blib/ppc-powerunix/auto:
> total 2
> drwxr-xr-x 2 tom software 512 Dec 5 13:32 Test1/
>
> Test1/blib/ppc-powerunix/auto/Test1:
> total 44
> -rw-r--r-- 1 tom software 0 Dec 5 13:32 Test1.bs
> -rwxr-xr-x 1 tom software 22316 Dec 5 13:32 Test1.so*
>
> When I cd to the Test1 directory and run "perl test1.pl", I get:
>
> Can't load './Test1.o' for module Test1: dynamic linker: perl: /cl2/tom/perl/testing/Test1/./Test1.o not a shared object at /cl0/tom/local/lib/perl5/DynaLoader.pm line 136.
>
> at blib/Test1.pm line 13
> Can't load './Test1.o' for module Test1: dynamic linker: perl: /cl2/tom/perl/testing/Test1/./Test1.o not a shared object at /cl0/tom/local/lib/perl5/DynaLoader.pm line 136.
>
> at blib/Test1.pm line 13
> BEGIN failed--compilation aborted at test1.pl line 5.
>
> If I change the line in test1.pl that says:
>
> BEGIN { unshift(@INC, "./blib") }
>
> to say:
>
> BEGIN { unshift(@INC, "./blib/ppc-powerunix") }
>
> It works as expected:
>
> cleo> perl test1.pl
> Hello, world!
>
> Running the original (broken) script under "truss" reveals that it looks in
> a whole slew of places for a Test1.so file, but never considers combining
> the architecture name (ppc-powerunix) with the "./blib" I inserted into
> @INC, even though it *does* look in ppc-powerunix in the sitelib and
> installed lib paths. Here is the relevant truss output:
>
> open("./blib/Test1.pm", O_RDONLY, 0666) = 4
> xstat(2, "./blib/auto/Test1", 0x300B6798) = 0
> xstat(2, "./blib/auto/Test1/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/ppc-powerunix/5.002/auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/ppc-powerunix/auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "./auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "-L./blib/auto/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/auto/Test1", 0x300B6798) = 0
> xstat(2, "./blib/auto/Test1/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/auto/Test1/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/auto/Test1/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/auto/Test1/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "./blib/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/ppc-powerunix/5.002/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/ppc-powerunix/5.002/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/ppc-powerunix/5.002/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/ppc-powerunix/5.002/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/perl5/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/ppc-powerunix/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/ppc-powerunix/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/ppc-powerunix/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/ppc-powerunix/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/Test1.o", 0x300B6798) Err#2 ENOENT
> xstat(2, "/cl0/tom/local/lib/site_perl/Test1", 0x300B6798) Err#2 ENOENT
> xstat(2, "./Test1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./libTest1.so", 0x300B6798) Err#2 ENOENT
> xstat(2, "./Test1.o", 0x300B6798) = 0
> xstat(2, "./Test1.bs", 0x300B6798) = 0
> open("/cl2/tom/perl/testing/Test1/./Test1.o", O_RDONLY, 0165) = 4
>
> So it looks like there are three possibilities:
>
> * The tutorial should say you need ./blib/<archname> not just ./blib
>
> * Perl should be searching under <archname> for everything it finds in @INC
> (the loop in DynaLoader.pm around line 98 certainly doesn't appear
> to be adding archname to any of the paths it looks at).
>
> * Something is mysteriously broken on both different machines I tried this on
>
> (I do wonder about some of the things in the above trace, like the place
> where it tries to stat "-L./blib/auto/Test1" - where does that come from?).
>
> Just to make this long message even longer :-), and to cover all the bases,
> here is the output from myconfig:
>
> Summary of my perl5 (patchlevel 2) configuration:
> Platform:
> osname=powerunix, osver=, archname=ppc-powerunix
> uname='power_unix cleo 2.1.1 power_unix night_hawk ppc604 '
> hint=recommended
> Compiler:
> cc='/bin/cc', optimize='-g', ld='/bin/cc'
> cppflags='-DDEBUGGING'
> ccflags ='-DDEBUGGING'
> ldflags =' -L/usr/local/lib'
> stdchar='unsigned char', d_stdstdio=define, usevfork=false
> voidflags=15, castflags=1, d_casti32=undef, d_castneg=undef
> intsize=4, alignbytes=8, usemymalloc=n, randbits=15
> Libraries:
> so=so
> libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
> libs=-lsocket -lnsl -lgen -ldbm -ldl -lm -lc -lcrypt
> libc=/usr/ccs/lib/libc.so
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef
> cccdlflags='-Zpic', ccdlflags='-Zlink=dynamic -Wl,-Bexport', lddlflags='-Zlink=so -L/usr/local/lib'
>
> Finally, to really clog up your mailbox, here is the config.sh file:
> ----------------------------------------------------------------------------
> #!/bin/sh
> #
> # This file was produced by running the Configure script. It holds all the
> # definitions figured out by Configure. Should you modify one of these values,
> # do not forget to propagate your changes by running "Configure -der". You may
> # instead choose to run each of the .SH files by yourself, or "Configure -S".
> #
>
> # Configuration time: Tue Dec 5 12:47:14 EST 1995
> # Configured by: tom
> # Target system: power_unix cleo 2.1.1 power_unix night_hawk ppc604
>
> Author=''
> Date='$Date'
> Header=''
> Id='$Id'
> Locker=''
> Log='$Log'
> Mcc='Mcc'
> RCSfile='$RCSfile'
> Revision='$Revision'
> Source=''
> State=''
> afs='false'
> alignbytes='8'
> aphostname=''
> ar='ar'
> archlib='/cl0/tom/local/lib/perl5/ppc-powerunix/5.002'
> archlibexp='/cl0/tom/local/lib/perl5/ppc-powerunix/5.002'
> archname='ppc-powerunix'
> archobjs=''
> awk='awk'
> baserev='5.0'
> bash=''
> bin='/cl0/tom/local/bin'
> binexp='/cl0/tom/local/bin'
> bison=''
> byacc='byacc'
> byteorder='4321'
> c='\c'
> castflags='1'
> cat='cat'
> cc='/bin/cc'
> cccdlflags='-Zpic'
> ccdlflags='-Zlink=dynamic -Wl,-Bexport'
> ccflags='-DDEBUGGING'
> cf_by='tom'
> cf_email='Tom.Horsley@mail.hcsc.com'
> cf_time='Tue Dec 5 12:47:14 EST 1995'
> chgrp=''
> chmod=''
> chown=''
> clocktype='clock_t'
> comm='comm'
> compress=''
> contains='grep'
> cp='cp'
> cpio=''
> cpp='cpp'
> cpp_stuff='42'
> cppflags='-DDEBUGGING'
> cpplast=''
> cppminus=''
> cpprun='/usr/lib/cpp'
> cppstdin='cppstdin'
> cryptlib=''
> csh='csh'
> d_Gconvert='gcvt((x),(n),(b))'
> d_access='define'
> d_alarm='define'
> d_archlib='define'
> d_attribut='undef'
> d_bcmp='define'
> d_bcopy='define'
> d_bsd='undef'
> d_bsdpgrp='undef'
> d_bzero='define'
> d_casti32='undef'
> d_castneg='undef'
> d_charvspr='undef'
> d_chown='define'
> d_chroot='define'
> d_chsize='undef'
> d_closedir='define'
> d_const='define'
> d_crypt='define'
> d_csh='undef'
> d_cuserid='define'
> d_dbl_dig='define'
> d_difftime='define'
> d_dirnamlen='undef'
> d_dlerror='define'
> d_dlopen='define'
> d_dlsymun='undef'
> d_dosuid='undef'
> d_dup2='define'
> d_eofnblk='define'
> d_eunice='undef'
> d_fchmod='define'
> d_fchown='define'
> d_fcntl='define'
> d_fd_macros='define'
> d_fd_set='define'
> d_fds_bits='define'
> d_fgetpos='define'
> d_flexfnam='define'
> d_flock='undef'
> d_fork='define'
> d_fpathconf='define'
> d_fsetpos='define'
> d_getgrps='define'
> d_gethent='define'
> d_gethname='undef'
> d_getlogin='define'
> d_getpgrp2='undef'
> d_getpgrp='define'
> d_getppid='define'
> d_getprior='undef'
> d_htonl='define'
> d_index='undef'
> d_isascii='define'
> d_killpg='undef'
> d_link='define'
> d_locconv='define'
> d_lockf='define'
> d_lstat='define'
> d_mblen='define'
> d_mbstowcs='define'
> d_mbtowc='define'
> d_memcmp='define'
> d_memcpy='define'
> d_memmove='define'
> d_memset='define'
> d_mkdir='define'
> d_mkfifo='define'
> d_mktime='define'
> d_msg='define'
> d_msgctl='define'
> d_msgget='define'
> d_msgrcv='define'
> d_msgsnd='define'
> d_mymalloc='undef'
> d_nice='define'
> d_oldarchlib='undef'
> d_oldsock='undef'
> d_open3='define'
> d_pathconf='define'
> d_pause='define'
> d_phostname='undef'
> d_pipe='define'
> d_poll='define'
> d_portable='define'
> d_pwage='define'
> d_pwchange='undef'
> d_pwclass='undef'
> d_pwcomment='define'
> d_pwexpire='undef'
> d_pwquota='undef'
> d_readdir='define'
> d_readlink='define'
> d_rename='define'
> d_rewinddir='define'
> d_rmdir='define'
> d_safebcpy='define'
> d_safemcpy='undef'
> d_seekdir='define'
> d_select='define'
> d_sem='define'
> d_semctl='define'
> d_semget='define'
> d_semop='define'
> d_setegid='define'
> d_seteuid='define'
> d_setlinebuf='undef'
> d_setlocale='define'
> d_setpgid='define'
> d_setpgrp2='undef'
> d_setpgrp='define'
> d_setprior='undef'
> d_setregid='undef'
> d_setresgid='undef'
> d_setresuid='undef'
> d_setreuid='undef'
> d_setrgid='undef'
> d_setruid='undef'
> d_setsid='define'
> d_shm='define'
> d_shmat='define'
> d_shmatprototype='define'
> d_shmctl='define'
> d_shmdt='define'
> d_shmget='define'
> d_shrplib='undef'
> d_socket='define'
> d_sockpair='define'
> d_statblks='define'
> d_stdio_cnt_lval='define'
> d_stdio_ptr_lval='define'
> d_stdiobase='undef'
> d_stdstdio='define'
> d_strchr='define'
> d_strcoll='define'
> d_strctcpy='define'
> d_strerrm='strerror(e)'
> d_strerror='define'
> d_strxfrm='define'
> d_suidsafe='define'
> d_symlink='define'
> d_syscall='define'
> d_sysconf='define'
> d_sysernlst=''
> d_syserrlst='define'
> d_system='define'
> d_tcgetpgrp='define'
> d_tcsetpgrp='define'
> d_telldir='define'
> d_time='define'
> d_times='define'
> d_truncate='define'
> d_tzname='define'
> d_umask='define'
> d_uname='define'
> d_vfork='undef'
> d_void_closedir='undef'
> d_voidsig='define'
> d_voidtty=''
> d_volatile='define'
> d_vprintf='define'
> d_wait4='undef'
> d_waitpid='define'
> d_wcstombs='define'
> d_wctomb='define'
> d_xenix='undef'
> date='date'
> db_hashtype='int'
> db_prefixtype='int'
> defvoidused='15'
> direntrytype='struct dirent'
> dlext='so'
> dlsrc='dl_dlopen.xs'
> dynamic_ext='Fcntl ODBM_File POSIX SDBM_File Socket'
> eagain='EAGAIN'
> echo='echo'
> egrep='egrep'
> emacs=''
> eunicefix=':'
> exe_ext=''
> expr='expr'
> extensions='Fcntl ODBM_File POSIX SDBM_File Socket'
> find='find'
> firstmakefile='makefile'
> flex=''
> fpostype='fpos_t'
> freetype='void'
> full_csh='/bin/csh'
> full_sed='/bin/sed'
> gcc=''
> gccversion=''
> gidtype='gid_t'
> glibpth=' /usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/shlib '
> grep='grep'
> groupcat=''
> groupstype='gid_t'
> h_fcntl='true'
> h_sysfile='false'
> hint='recommended'
> hostcat=''
> huge=''
> i_bsdioctl=''
> i_db='undef'
> i_dbm='define'
> i_dirent='define'
> i_dld='undef'
> i_dlfcn='define'
> i_fcntl='define'
> i_float='define'
> i_gdbm='undef'
> i_grp='define'
> i_limits='define'
> i_locale='define'
> i_malloc='define'
> i_math='define'
> i_memory='undef'
> i_ndbm='undef'
> i_neterrno='undef'
> i_niin='define'
> i_pwd='define'
> i_rpcsvcdbm='undef'
> i_sgtty='undef'
> i_stdarg='define'
> i_stddef='define'
> i_stdlib='define'
> i_string='define'
> i_sysdir='undef'
> i_sysfile='undef'
> i_sysfilio='define'
> i_sysin='undef'
> i_sysioctl='define'
> i_sysndir='undef'
> i_sysparam='define'
> i_sysselct='define'
> i_syssockio=''
> i_sysstat='define'
> i_systime='define'
> i_systimek='undef'
> i_systimes='define'
> i_systypes='define'
> i_sysun='define'
> i_termio='undef'
> i_termios='define'
> i_time='undef'
> i_unistd='define'
> i_utime='define'
> i_varargs='undef'
> i_varhdr='stdarg.h'
> i_vfork='undef'
> incpath=''
> inews=''
> installarchlib='/cl0/tom/local/lib/perl5/ppc-powerunix/5.002'
> installbin='/cl0/tom/local/bin'
> installman1dir='/cl0/tom/local/man/man1'
> installman3dir='/cl0/tom/local/lib/perl5/man/man3'
> installprivlib='/cl0/tom/local/lib/perl5'
> installscript='/cl0/tom/local/bin'
> installsitearch='/cl0/tom/local/lib/site_perl/ppc-powerunix'
> installsitelib='/cl0/tom/local/lib/site_perl'
> intsize='4'
> known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File POSIX SDBM_File Socket'
> ksh=''
> large=''
> ld='/bin/cc'
> lddlflags='-Zlink=so -L/usr/local/lib'
> ldflags=' -L/usr/local/lib'
> less=''
> lib_ext='.a'
> libc='/usr/ccs/lib/libc.so'
> libpth='/usr/local/lib /lib /usr/lib /usr/ccs/lib'
> libs='-lsocket -lnsl -lgen -ldbm -ldl -lm -lc -lcrypt'
> libswanted=' net socket inet nsl gen nm ndbm gdbm dbm db dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD x '
> line='line'
> lint=''
> lkflags=''
> ln='ln'
> lns='/bin/ln -s'
> locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
> loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
> lp=''
> lpr=''
> ls='ls'
> lseektype='off_t'
> mail=''
> mailx=''
> make=''
> mallocobj=''
> mallocsrc=''
> malloctype='void *'
> man1dir='/cl0/tom/local/man/man1'
> man1direxp='/cl0/tom/local/man/man1'
> man1ext='1'
> man3dir='/cl0/tom/local/lib/perl5/man/man3'
> man3direxp='/cl0/tom/local/lib/perl5/man/man3'
> man3ext='3'
> medium=''
> mips=''
> mips_type=''
> mkdir='mkdir'
> models='none'
> modetype='mode_t'
> more=''
> mv=''
> myarchname='Night_Hawk-powerunix'
> mydomain='.ssd.csd.harris.com'
> myhostname='cleo'
> myuname='power_unix cleo 2.1.1 power_unix night_hawk ppc604 '
> n=''
> nm_opt='-p'
> nroff='nroff'
> o_nonblock='O_NONBLOCK'
> obj_ext='.o'
> oldarchlib=''
> oldarchlibexp=''
> optimize='-g'
> orderlib='false'
> osname='powerunix'
> osvers=''
> package='perl5'
> passcat=''
> patchlevel='2'
> path_sep=':'
> perl='perl'
> perladmin='Tom.Horsley@mail.hcsc.com'
> perlpath='/cl0/tom/local/bin/perl'
> pg=''
> phostname='hostname'
> plibpth=''
> pmake=''
> pr=''
> prefix='/cl0/tom/local'
> prefixexp='/cl0/tom/local'
> privlib='/cl0/tom/local/lib/perl5'
> privlibexp='/cl0/tom/local/lib/perl5'
> prototype='define'
> randbits='15'
> ranlib=':'
> rd_nodata='-1'
> rm='rm'
> rmail=''
> runnm='true'
> scriptdir='/cl0/tom/local/bin'
> scriptdirexp='/cl0/tom/local/bin'
> sed='sed'
> selecttype='fd_set *'
> sendmail=''
> sh=''
> shar=''
> sharpbang='#!'
> shmattype='void *'
> shrpdir='none'
> shsharp='true'
> sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ NUM26 MSG WINCH PWR USR1 USR2 PROF DANGER VTALRM MIGRATE PRE VIRT NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 POLL LWP AIO WAITING LOST RESCHED ADA RT1 RT2 RT3 RT4 RT5 RT6 RT7 RT8 GRANT RETRACT SOUND SAK NUM64 IOT CLD RTMIN RTMAX '
> sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 20 52 59 '
> signal_t='void'
> sitearch='/cl0/tom/local/lib/site_perl/ppc-powerunix'
> sitearchexp='/cl0/tom/local/lib/site_perl/ppc-powerunix'
> sitelib='/cl0/tom/local/lib/site_perl'
> sitelibexp='/cl0/tom/local/lib/site_perl'
> sizetype='size_t'
> sleep=''
> smail=''
> small=''
> so='so'
> sockethdr=''
> socketlib=''
> sort='sort'
> spackage='Perl5'
> spitshell='cat'
> split=''
> ssizetype='ssize_t'
> startperl='#!/cl0/tom/local/bin/perl'
> startsh='#!/bin/sh'
> static_ext=' '
> stdchar='unsigned char'
> stdio_base='((fp)->_base)'
> stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
> stdio_cnt='((fp)->_cnt)'
> stdio_ptr='((fp)->_ptr)'
> strings='/usr/include/string.h'
> submit=''
> sysman='/usr/share/man/man1'
> tail='tail'
> tar=''
> tbl=''
> test='test'
> timeincl='/usr/include/sys/time.h '
> timetype='time_t'
> touch='touch'
> tr='tr'
> troff=''
> uidtype='uid_t'
> uname='uname'
> uniq='uniq'
> usedl='define'
> usemymalloc='n'
> usenm='true'
> useposix='true'
> usevfork='false'
> usrinc='/usr/include'
> uuname=''
> vi=''
> voidflags='15'
> xlibpth='/usr/lib/386 /lib/386'
> zcat=''
> PATCHLEVEL=2
> CONFIG=true
> ----------------------------------------------------------------------------
>
> --
> Tom.Horsley@mail.hcsc.com
> Home: 511 Kingbird Circle Delray Beach FL 33444
> Work: Harris Computers, 2101 W. Cypress Creek Rd. Ft. Lauderdale FL 33309
> Support Project Vote Smart! They need your support in non-election years too!
> (email pvs@neu.edu, 1-800-622-SMART, http://www.vote-smart.org)
>
Re: perl5.002 beta 1 perlxstut confusion [ In reply to ]
On Tue, 5 Dec 1995, Jeff Okamoto wrote:

> Based on Tom's message below, I wonder if DynaLoader.pm is now a bit out of
> date? Like Tom, my 5.002b1 is also breaking with the same error, and is
> fixed by unshifing "./blib/$archname", rather than just "./blib" to @INC.

You'll find that
use lib './blib'
does this for you automatically.

Andy Dougherty doughera@lafcol.lafayette.edu