I'm trying to install the FCGI.pm and although it worked great on the test server, it isn't working too well on live server. Here's the steps and problems:
1. perl Makefile.PL --> works great
2. make --> gcc -c -I. -I/usr/local/include -O -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE FCGI.c
In file included from /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1531,
from FCGI.xs:4:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/math.h:5: math.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `FCGI.o'
3. make test --> gcc -c -I. -I/usr/local/include -O -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE FCGI.c
In file included from /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1531,
from FCGI.xs:4:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/math.h:5: math.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `FCGI.o'
But the math.h and perl.h files are there. ???? The test file looks like:
#!/usr/local/bin/perl
use DBI;
use FCGI;
print 'Hello World';
and works great on the test server, but comes up with this error on the live server:
Can't locate FCGI.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at test.fpl line 4.
BEGIN failed--compilation aborted at test.fpl line 4.
I also don't know what the right conf changes for apache would be so a link to a site with the correct ones would be great, but first things first, need to install FCGI.pm
Thanks.
1. perl Makefile.PL --> works great
2. make --> gcc -c -I. -I/usr/local/include -O -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE FCGI.c
In file included from /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1531,
from FCGI.xs:4:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/math.h:5: math.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `FCGI.o'
3. make test --> gcc -c -I. -I/usr/local/include -O -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE FCGI.c
In file included from /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:1531,
from FCGI.xs:4:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/math.h:5: math.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `FCGI.o'
But the math.h and perl.h files are there. ???? The test file looks like:
#!/usr/local/bin/perl
use DBI;
use FCGI;
print 'Hello World';
and works great on the test server, but comes up with this error on the live server:
Can't locate FCGI.pm in @INC (@INC contains: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 /usr/local/lib/perl5/site_perl/5.005/sun4-solaris /usr/local/lib/perl5/site_perl/5.005 .) at test.fpl line 4.
BEGIN failed--compilation aborted at test.fpl line 4.
I also don't know what the right conf changes for apache would be so a link to a site with the correct ones would be great, but first things first, need to install FCGI.pm
Thanks.