Solved

Building Apache

Posted on 2002-03-29
4
265 Views
Last Modified: 2008-02-01
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>
0
Comment
Question by:neostudio
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6906625
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.
0
 
LVL 3

Author Comment

by:neostudio
ID: 6907364
ActiveState Perl 5.6.1-631 is there and fully complete, any more ideas ?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6907488
Well, ActiveState perl may be installed, but the error message would lead me to believe that either the installation dodn't quite work right or that some post-install step hasn't be done. The error message is quite explict in stating that the "install script hasn't been run".

0
 
LVL 3

Author Comment

by:neostudio
ID: 6907995
A+ Again For You jlevie !!
it was ActivePerl !!


regards,
</Ruslan>
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question