> The permissions are correct:
> drwxrwxrwt 19 root root 2048 Jan 6 14:07 /tmp/
> drwxrwxrwt 2 root root 1024 Jan 6 14:07 /var/tmp/
>
> I was running CGI.pm version 2.56. After I reverted back to 2.46, make
> test worked. Not sure what other versions between 2.46 and 2.56 works
> also. I don't really have time to track down the reason. But if anyone
> finds out, please let me know.
try to read the CGI.pm changes file, look for the tempfile notes.
>
> Thanks
>
> --
> Nancy
>
>
> On Fri, 7 Jan 2000, Stas Bekman wrote:
>
> > > I'm compiling apache 1.3.9 and mod_perl 1.21 on redhat 6.0.
> > >
> > > make test for modperl fails on modules/cgi.t test #4. The message from
> > > the error log shows:
> > >
> > > [Thu Jan 6 13:22:25 2000] [error] CGI open of tmpfile: Permission denied
> >
> > I'm not sure but possibly it's a CGI.pm's problem when it tries to open a
> > temp file. If it's you have a problem with your /tmp or /var/tmp dirs make
> > sure you have the following permissions:
> >
> > drwxrwxrwt 14 root root 4096 Jan 6 18:30 tmp/
> >
> > if you have something different, please correct it and try again.
> >
> > > Here are the steps I took (using perl 5.005_03)
> > >
> > > 1. perl Makefile.PL APACHE_SRC=/opt/apache/apache_1.3.9/src
> > > DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 APACI_ARGS='--verbose'
> > >
> > > 2. make
> > >
> > > 3. cd ../apache_1.3.9
> > >
> > > 4. ./configure \
> > > --prefix=/opt/apache \
> > > --mandir=/usr/local/man \
> > > --enable-shared=expires \
> > > --enable-module=expires \
> > > --enable-shared=rewrite \
> > > --enable-module=rewrite \
> > > --enable-shared=proxy \
> > > --enable-module=proxy \
> > > --activate-module=src/modules/perl/libperl.a \
> > > --enable-module=so
> > >
> > > 5. make
> > >
> > > 6. cd ../mod_perl-1.21
> > >
> > > 7. make test
> > >
> > >
> > > Any help is greatly appreciated. I'm starting to get queasy from
> > > looking at this all morning.
> > >
> > > --
> > > Nancy
> > >
> > >
> > >
> >
> >
> >
> > _______________________________________________________________________
> > Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
> > Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
> > perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
> > single o-> + single o-+ = singlesheaven http://www.singlesheaven.com
> >
> >
>
>
>
>
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com