httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Still dying with Solaris 8 & apache - getting desperate
Date Mon, 09 Jul 2007 07:08:51 GMT
> -----Original Message-----
> From: ROTH, MARK, ATTSI [mailto:mr3944@att.com] 
> Sent: Friday, July 06, 2007 10:48 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Still dying with Solaris 8 & apache - 
> getting desperate
> 
> Folks,
> 
>    I'm still fighting this, and loosing. The apache build gets to the
> link stage, and gives
> *** Warning: inter-library dependencies are not known to be supported.
> *** All declared inter-library dependencies are being dropped.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> ld: fatal: file pure-text: open failed: No such file or directory
> make[2]: *** [libapr-1.la] Error 1
> make[2]: Leaving directory `/export/home/src/httpd-2.2.2/srclib/apr'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/export/home/src/httpd-2.2.2/srclib'
> make: *** [install-recursive] Error 1
> 
> I've reinstalled gcc, the linker AFAIK is Sun's, and I can't get any

AFAYK? It's quite important - do "ld -V" and be sure...

> clue. I've manually copied the link, and removed --silent, 
> and added --z
> verbose, and nothing other than what you see. Does *ANYONE* have any
> kind of clue?

Following is the script I use to install 2.2.4 on Solaris 10 - check it
out for clues... (nb my linker is GNU in /usr/local/bin).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

#!/bin/tcsh
# --------------------------------------------------------------------
# NB the install directory must not exist, it will be created.
# --------------------------------------------------------------------
setenv APACHE_VERSION 2.2.4
setenv MPM prefork
setenv TAR_DIR /home/apache/tar_files
setenv INSTALL_PREFIX /home/apache
# --------------------------------------------------------------------

# From here, everything is automatic
# --------------------------------------------------------------------
 if (-d ${INSTALL_PREFIX}) then
     echo "${INSTALL_PREFIX} exists - exit to avoid clobbering"
     exit;
 endif
 mkdir ${INSTALL_PREFIX}

# Unzip all the sources
cd /tmp
if (-d httpd-${APACHE_VERSION}) then
    rm -rf httpd-${APACHE_VERSION}
endif
gzip -dc ${TAR_DIR}/httpd-${APACHE_VERSION}.tar.gz | tar xvf -

# set PATH and PERL - this gets gcc, ar, as, cc, ld, strip etc.
setenv PATH
/usr/bin:/usr/local/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin
setenv PERL /home/apache/bin/perl

# This avoids LD_LIBRARY_PATH by building in the paths so they are used 
# at runtime.
unsetenv LD_LIBRARY_PATH
setenv LDFLAGS "-L${INSTALL_PREFIX}/lib -R${INSTALL_PREFIX}/lib"
setenv PKG_CONFIG_PATH "{INSTALL_PREFIX}/lib"

# Now do apache. 
echo "\n\n\nCompiling APACHE\n\n\n"
cd /tmp/httpd-${APACHE_VERSION}

# continue with configuration
echo "\n\n\nCompiling httpd\n\n\n"
#cd ../../
./configure --prefix=${INSTALL_PREFIX} \
--with-included-apr \
--with-mpm=${MPM} \
--enable-so \
--enable-rewrite=shared \
--enable-usertrack=shared \
--enable-expires=shared \
--enable-headers=shared \
--enable-proxy=shared \
--enable-cache=shared \
--enable-disk_cache=shared \
--enable-mem_cache=shared \
--enable-ssl=shared \
--enable-deflate=shared

# Install in ${INSTALL_PREFIX}
make || exit;
make install || exit;


> 
> 	mark
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message