From: Warren P. <wpo...@ve...> - 2001-04-18 14:15:19
|
Hello, I have a problem running 'make test' (Expect-1.11) as an ordinary user - works fine as root $ make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00502/irix-n32 -mips3 -I/usr/local/lib/perl5/5.00502 test.pl 1..7 ok 1 Expect: Could not assign a pty at blib/lib/Expect.pm line 87. Expect: Could not assign a pty at blib/lib/Expect.pm line 87. *** Error code 22 (bu21) The line it's complaining about (Expect.pm line 87): die "$class: Could not assign a pty" unless $self->IO::Pty::ttyname(); Is this a permissions problem (something I can fix)? Or ??? I plan to have my Expect script called from a CGI script so I don't want to have to run it as root - I would prefer to 'su' from within my expect script - I have root access to this box and can set up whatever (almost) I need. Thanks, Warren -------------[ perl -V ]---------------- $ perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Platform: osname=irix, osvers=6.5, archname=IP27-irix uname='irix64 nexus 6.4 02121744 ip27 ' hint=previous, useposix=true, d_sigaction=define usethreads=undef useperlio=define d_sfio=define Compiler: cc='cc -n32 -mips3', optimize='-O3', gccversion= cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0 -I/u/rford/buildperl/sfio/i nclude -I/usr/local/include -I/u/local/n32msql2/include -DLANGUAGE_C' ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0 -I/u/rford/buildperl/sfio/include -I/usr/local/ include -I/u/local/n32msql2/include -DLANGUAGE_C' stdchar='unsigned char', d_stdstdio=undef, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib32 -L/usr/local/lib -L/u/rford/buildperl/sfio/lib' libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib libs=-lgdbm -lm -lc -lsfio libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, cdlflags=' -Wl,-rpath,/usr/local/lib/perl5/5.00502/irix-n32-mips3/CORE' cccdlflags=' ', lddlflags='-n32 -shared -L/usr/local/lib32 -L/usr/local/lib -L/u/rford/build perl/sfio/lib' Characteristics of this binary (from libperl): Built under irix Compiled at Dec 10 1998 11:41:39 @INC: /usr/local/lib/perl5/5.00502/irix-n32-mips3 /usr/local/lib/perl5/5.00502 /usr/local/lib/perl5/site_perl/5.005/irix-n32-mips3 /usr/local/lib/perl5/site_perl/5.005 . |