Link to home
Start Free TrialLog in
Avatar of huffmana
huffmanaFlag for United States of America

asked on

sunfreeware apache server does not run

Can't get sunfreeware apache server to work !!  See the following:
I saw a reference in the web about installing mod_perl, but that won't compile!!

Has anyone had any luck getting the sunfreeware apache to work?  I've heard that Studio 11 c compiler needs to be used instead of gcc ? ? ? ?

----------------------- CUT HERE ---------------------------

# pkgadd -d apache-2.2.0-sol9-sparc-local

# /usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf
ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/httpd: symbol
apr_hook_debug_enabled: referenced symbol not found Killed

# pkgadd -d apr-1.2.2-sol9-sparc-local
# pkgadd -d gdbm-1.8.3-sol9-sparc-local
# pkgadd -d db-4.2.52.NC-sol9-sparc-local
# pkgadd -d expat-1.95.5-sol9-sparc-local
#
# cd /opt/temp0/mod_perl-2.0.3
# perl Makefile.PL
no conflicting prior mod_perl version found - good.

Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
/usr/local/apache2/bin/apxs


[  error] '/usr/local/apache2/bin/apxs -q INCLUDEDIR' failed:
[  error] ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/httpd: symbol
apr_hook_debug_enabled: referenced symbol not found Killed
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/httpd'..
[  error] Unable to determine server version, aborting.
[  error] Invalid MP_APXS specified?


# appcert /usr/local/apache2/bin/httpd

finding executables and shared libraries to check ...

profiling: /usr/local/apache2/bin/httpd

re-profiling binary objects with unbound symbols ...


determining list of Solaris libraries ...

checking binary objects for unstable practices ...

checking: /usr/local/apache2/bin/httpd

------------------------------------------------------------------------
Summary: No stability problems detected, but not all binaries were checked.

A total of 1 binary objects were examined.


The following (1 of 1) components had no problems detected,
   but could not be completely checked:

   /usr/local/apache2/bin/httpd (193 unbound symbols)



Summary of various warnings:

 - unbound symbols  (1 binaries)


Additional output regarding private symbols usage and other data is in the directory:

   /tmp/appcert.12814

see the appcert documentation for more information.
#          
#
#
# cd /tmp/appcert.12814
# ls -F
AbiIndex  Index  objects/  ProblemCount  Report ResultCode  Skipped
# grep apr_hook_debug *
# cd objects/:=usr=local=apache2=bin=httpd
# ls -F
check.dynamic.abi_models  check.problems  info.dump
profile.dynamic          profile.static
check.dynamic.public      info.arch       info.file
profile.dynamic.ldd      summary.dynamic
check.dynamic.unbound     info.dtneeded   info.path
profile.dynamic.objects
# grep apr_hook_debug *
check.dynamic.unbound:*DIRECT*|apr_hook_debug_current
check.dynamic.unbound:*DIRECT*|apr_hook_debug_enabled
check.dynamic.unbound:*DIRECT*|apr_hook_debug_show
profile.dynamic:/usr/local/apache2/bin/httpd|*DIRECT*|*UNBOUND*|apr_hook_debug_current
profile.dynamic:/usr/local/apache2/bin/httpd|*DIRECT*|*UNBOUND*|apr_hook_debug_enabled
profile.dynamic:/usr/local/apache2/bin/httpd|*DIRECT*|*UNBOUND*|apr_hook_debug_show
#

#
ASKER CERTIFIED SOLUTION
Avatar of arthurjb
arthurjb

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
SOLUTION
Avatar of yuzh
yuzh

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
Avatar of huffmana

ASKER

blastwave.org does not respond...  

Just installed mysql with the following steps... sometimes the -CPAN install worked and sometimes I had to do it manually, but it works.  

I don't understand why I have so much trouble with Apache...

SECTION I
  STEP 1: Standard Package Installation

  sunfreeware.com
  perl-5.8.7-sol9-sparc-local.gz
    -  add Perl-Expect per Allan's install instructions
    coreutils-6.4-sol9-sparc-local.gz
    ncurses-5.6-sol9-sparc-local.gz
    zlib-1.2.3-sol9-sparc-local.gz
    libiconv-1.11-sol9-sparc-local.gz
  gcc-3.4.6-sol9-sparc-local.gz
  nmap-4.20-sol9-sparc-local.gz
  mysql-5.0.27-sol9-sparc-local.gz
 
  CPAN
  STEP 2: CPAN Dependency Package Installation
  Set the PATH variable
  # echo $PATH
  /usr/local:/usr/local/bin:/usr/local/lib:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb:/.
  Running "/usr/local/bin/perl -MCPAN -e shell"
  -  require the following sunfreeware installations:
  gnupg-1.4.7-sol9-sparc-local.gz
  less-381-sol9-sparc-local.gz
  lynx-2.8.5-sol9-sparc-local.gz
  lynx-2.8.5-sol9-sparc-local.gz
  make-3.81-sol9-sparc-local.gz
  shutils-2.0.15-sol9-sparc-local.gz
  wget-1.10.2-sol9-sparc-local.gz
  -  And the following compilation
  ncftpd-2.8.3-solaris9-sparc-export.tar.gz

  STEP 3: Parl Module Installation

  MCPAN
  Manually compile the following Perl modules:
    use MCPAN where noted, in the following order:
  -  Note that these two are needed but I don't remember by who:
  ./Scalar-List-Utils-1.19.tar.gz
  ./parrot-0.4.1.tar.gz
  /usr/local/bin/perl -MCPAN -e 'install Pod::Escapes'
  ./Pod-Simple-3.05.tar.gz
  ./Test-Pod-1.26.tar.gz
  ./Compress-Raw-Bzip2-2.004.tar.gz
  ./IO-Compress-Bzip2-2.004.tar.gz
  ./IO-Compress-Zlib-2.004.tar.gz
  ./PerlIO-gzip-0.18.tar.gz
  ./Compress-Zlib-Perl-0.02.tar.gz
  ./IO-Compress-Base-2.004.tar.gz
  ./Compress-Zlib-2.004.tar.gz
  /usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
  ./Bundle-CPAN-1.855.tar.gz
  ./Devel-Symdump-2.07.tar.gz
  ./Pod-Coverage-0.18.tar.gz
  ./Test-Pod-Coverage-1.08.tar.gz
  ./Crypt-Rijndael-1.04.tar.gz
  /usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
  /usr/local/bin/perl -MCPAN -e 'install 'DBI'
  /usr/local/bin/perl -MCPAN -e 'install 'Net::SNMP'
  /usr/local/bin/perl -MCPAN -e 'install 'Proc::Simple'
  /usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
  Note that
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    are install with Bundle::libnet
#
I ment to say that I already installed all those things for mysql before starting with apache.  So gcc is already there.  Thanks, Allan
That solved it.  I just used  apache-2.0.59-sol9-sparc-local.gz instead of  apache-2.2.0-sol9-sparc-local.gz and everything is working fine :-)  Just for fun I may try compiling the latest from apache.org.

But all is better with the world :-)

Thanks for your help, Allan