[comp.lang.perl] some problems with Perl4.003 on SCO Unix 3.2.0

anneb@zogwarg.etl.army.mil (Anne Brink) (04/18/91)

I just patched up perl to 4.003, configured it and tested it on my SCO
box, which is running SCO version 3.2.0.  It made without complaint.  
(Thanks, Larry for the hints subdir.  It's wonderful!)

It's not all happy yet, though, so I was hoping someone could point me in the
right direction.

Everything is compiled with the SCO-provided cc.
When I ran make test, I got core dumps in op/dbm.t after test 5, and
in op/push after test 2.  Sprintf was a little less happy, it panicked
with the error message:
panic: cmd_exec at op/sprintf.t line 7
which is the long sprintf statement.  After a bit of testing, it appears
that sprintf works with %s and not much else.  (%c, %d, %x, %o, %u all
result in core dumps in my test script.)

I have not downloaded gdbm yet, I hope that that will fix the dbm
problem (anyone know for sure?) but I'm not quite sure what to do with push
and sprintf.  

My last problem is a little more subtle:  Opendir does not seem to be there.  
Just for kicks, I installed the ndir package and rebuilt perl, but my program 
that calls opendir() still returns:

Unimplemented directory operation at <program.pl> line 27.

I assume that opendir was turned off, but I am not terribly familiar with
this particular OS, which adds to the confusion.  The same program runs 
happily on my Sun. (4.003 on SunOS 4.1)  It also works on my SCO with perl 
3.044.  Is there a reason that opendir was turned off, and how can I turn it 
back on again?

Solutions to any or all of these problems would be gratefully appreciated.
If I'm not providing enough information, please let me know what I've left
out.
Thanks much,

				-Anne
-- 
###############################################################################
Anne Brink			#   Most of our lives are spent in Plan "B"
anneb@etl.army.mil		# 	
###############################################################################