Link to home
Start Free TrialLog in
Avatar of neostudio
neostudio

asked on

Building Apache

After Entering This Command, i get this long error....
any descriptrion or solution ??

#./configure --prefix=/usr/local/ssl-apache/ --activate-module=src/modules/perl/libperl.a --activate-module=src/modules/standard/mod_rewrite.o  --activate-module=src/modules/php4/libphp4.a --enable-module=ssl




BEGIN failed--compilation aborted.
Can't locate Config.pm in @INC (@INC contains: /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRun-perl/lib/5.6.1/i686-linux-thread-multi /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRun-perl/lib/5.6.1 /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRun-perl/lib/site_perl/5.6.1/i686-linux-thread-multi /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRun-perl/lib/site_perl/5.6.1 /tmp/.TheInstallScriptWasNotRunTheInstallScriptWasNotRunTheInstallScriptWasNotRun-perl/lib/site_perl .).
BEGIN failed--compilation aborted.
cd ..; gcc  -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI  -I/opt/php-4.1.2 -I/opt/php-4.1.2/main -I/opt/php-4.1.2/main -I/opt/php-4.1.2/Zend -I/opt/php-4.1.2/Zend -I/opt/php-4.1.2/TSRM -I/opt/php-4.1.2/TSRM -I/opt/php-4.1.2 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -I. -I    -o helpers/dummy helpers/dummy.c   -Wl,-rpath,/usr/local/gd-1.8.4/  -rdynamic -L/usr/local/gd-1.8.4/ -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam  -ldl -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt   -lm -lcrypt -lndbm
gcc: helpers/dummy: No such file or directory
cpp: -lang-c: linker input file unused since linking not done
make: *** [dummy] Error 1
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to /usr/bin/cpp
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
 + using -lndbm for DBM support
      enabling DBM support for mod_rewrite
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o php4_module uses ConfigStart/End
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!


regards,
</Ruslan>
Avatar of ahoffmann
ahoffmann
Flag of Germany image

sounds like you have a corrupted perl installation, at least Config.pm is missing, which should be in /usr/lib/perl5/5.6.1/i586-linux

Best is to re-install perl.

Looking closer to the errors, I assume that you have not installed any development packages at all.
Avatar of neostudio
neostudio

ASKER

ActiveState Perl 5.6.1-631 is there and fully complete, any more ideas ?
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A+ Again For You jlevie !!
it was ActivePerl !!


regards,
</Ruslan>