> Your first error is:

>> /tmp/httpd-2.0.55/srclib/apr/libtool: line 5565: ar: command not found

>the archive tool (ar) is usually in /usr/ccs/bin so add this to your path
for a start (or install GNU ar in /usr/local/lib and add >that).

>Try again and see how far you get.

That was it! I'have successfully compiled it. Now, I'll just have to
re-compile it, and this time use the 'shared' option in the modules... Oh,
pooh.

Thanks, Owen




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 11. April 2006 12:23
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Getting mod_cache under Solaris 10
>
>
> Hello all.
>
> I'm trying to compile mod_cache in a Solaris 10 server, but
> I'm getting compilation errors.

> - I have this distribution:
> httpd-2.0.55-sparc-sun-solaris2.8.tar

Why not just get the latest Unix source from
http://httpd.apache.org/download.cgi then select httpd-2.2.0.tar.gz. That
should work fine on Solaris 10 with no need for special distros...

> - Here's the path:
>       /usr/sfw/bin:/usr/sbin:/usr/bin

Your first error is:

> /tmp/httpd-2.0.55/srclib/apr/libtool: line 5565: ar: command not found

the archive tool (ar) is usually in /usr/ccs/bin so add this to your path
for a start (or install GNU ar in /usr/local/lib and add that).

Try again and see how far you get.

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


> - I have run the configure command whith these options:
>
>      ./configure --prefix=/opt/apache --enable-rewrite=shared
> --enable-speling=shared --enable-cache --enable-mem-cache
>
> The configuration ends without errors.
>
> - Then I run make, and I get this:
>
> ##############################################################
> ############################################
>
> [EMAIL PROTECTED] /tmp/httpd-2.0.55 # make
> Making all in srclib
> Making all in apr
> Making all in strings
> Making all in passwd
> Making all in tables
> Making all in file_io/unix
> Making all in network_io/unix
> Making all in threadproc/unix
> Making all in misc/unix
> Making all in locks/unix
> Making all in time/unix
> Making all in mmap/unix
> Making all in shmem/unix
> Making all in user/unix
> Making all in memory/unix
> Making all in atomic/unix
> Making all in poll/unix
> Making all in support/unix
> Making all in dso/unix
> /bin/bash /tmp/httpd-2.0.55/srclib/apr/libtool --silent
> --mode=link gcc -g
> -O2 -DHAVE_CONFIG_H -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT
> -I./include -I../include -version-info 9:7:9 -o libapr-0.la -rpath
> /opt/apache/lib strings/apr_cpystrn.lo strings/apr_fnmatch.lo
> strings/apr_snprintf.lo strings/apr_strings.lo
> strings/apr_strnatcmp.lo
> strings/apr_strtok.lo passwd/apr_getpass.lo tables/apr_hash.lo
> tables/apr_tables.lo file_io/unix/copy.lo file_io/unix/dir.lo
> file_io/unix/fileacc.lo file_io/unix/filedup.lo
> file_io/unix/filepath.lo
> file_io/unix/filepath_util.lo file_io/unix/filestat.lo
> file_io/unix/flock.lo file_io/unix/fullrw.lo file_io/unix/mktemp.lo
> file_io/unix/open.lo file_io/unix/pipe.lo file_io/unix/readwrite.lo
> file_io/unix/seek.lo file_io/unix/tempdir.lo
> network_io/unix/inet_ntop.lo
> network_io/unix/inet_pton.lo network_io/unix/sendrecv.lo
> network_io/unix/sockaddr.lo network_io/unix/sockets.lo
> network_io/unix/sockopt.lo threadproc/unix/proc.lo
> threadproc/unix/procsup.lo threadproc/unix/signals.lo
> threadproc/unix/thread.lo threadproc/unix/threadpriv.lo
> misc/unix/charset.lo misc/unix/env.lo misc/unix/errorcodes.lo
> misc/unix/getopt.lo misc/unix/otherchild.lo misc/unix/rand.lo
> misc/unix/start.lo misc/unix/version.lo locks/unix/global_mutex.lo
> locks/unix/proc_mutex.lo locks/unix/thread_cond.lo
> locks/unix/thread_mutex.lo locks/unix/thread_rwlock.lo
> time/unix/time.lo
> time/unix/timestr.lo mmap/unix/common.lo mmap/unix/mmap.lo
> shmem/unix/shm.lo user/unix/groupinfo.lo user/unix/userinfo.lo
> memory/unix/apr_pools.lo atomic/unix/apr_atomic.lo poll/unix/poll.lo
> poll/unix/pollacc.lo support/unix/waitio.lo dso/unix/dso.lo
> -lsendfile -lrt
> -lm -lsocket -lnsl -lresolv -lpthread
> /tmp/httpd-2.0.55/srclib/apr/libtool: line 5565: ar: command not found
> *** Error code 127
> The following command caused the error:
> for i in strings passwd tables  file_io/unix  network_io/unix
> threadproc/unix  misc/unix  locks/unix  time/unix  mmap/unix
> shmem/unix
> user/unix  memory/unix  atomic/unix  poll/unix  support/unix
> dso/unix; do
> objects="$objects $i/*.lo"; done ; \
>     tmpcmd="/bin/bash /tmp/httpd-2.0.55/srclib/apr/libtool --silent
> --mode=link  gcc -g -O2   -DHAVE_CONFIG_H -DSOLARIS2=10
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -I./include -I../include
> -version-info 9:7:9    -o libapr-0.la -rpath /opt/apache/lib $objects
> -lsendfile -lrt -lm -lsocket -lnsl -lresolv  -lpthread"; \
>     echo $tmpcmd; \
>     $tmpcmd && touch libapr-0.la
> make: Fatal error: Command failed for target `libapr-0.la'
> Current working directory /tmp/httpd-2.0.55/srclib/apr
> *** Error code 1
> The following command caused the error:
> otarget=`echo all-recursive | sed s/-recursive//`; \
> list='strings passwd tables  file_io/unix  network_io/unix
> threadproc/unix
> misc/unix  locks/unix  time/unix  mmap/unix  shmem/unix  user/unix
> memory/unix  atomic/unix  poll/unix  support/unix  dso/unix'; \
> for i in $list; do \
>     if test -d "$i"; then \
>         target="$otarget"; \
>         echo "Making $target in $i"; \
>         if test "$i" = "."; then \
>             made_local=yes; \
>             target="local-$target"; \
>         fi; \
>         (cd $i && make $target) || exit 1; \
>     fi; \
> done; \
>         if test "$otarget" = "all" && test -z "delete-lib libapr-0.la
> delete-exports export_vars.c apr.exp"; then \
>     made_local=yes; \
> fi; \
> if test "$made_local" != "yes"; then \
>     make "local-$otarget" || exit 1; \
> fi
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /tmp/httpd-2.0.55/srclib/apr
> *** Error code 1
> The following command caused the error:
> otarget=`echo all-recursive|sed s/-recursive//`; \
> list=' apr apr-util pcre'; \
> for i in $list; do \
>     if test -d "$i"; then \
>         target="$otarget"; \
>         echo "Making $target in $i"; \
>         if test "$i" = "."; then \
>                 made_local=yes; \
>                 target="local-$target"; \
>         fi; \
>         (cd $i && make $target) || exit 1; \
>     fi; \
> done; \
> if test "$otarget" = "all" && test -z ''; then \
>     made_local=yes; \
> fi; \
> if test "$made_local" != "yes"; then \
>     make "local-$otarget" || exit 1; \
> fi
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /tmp/httpd-2.0.55/srclib
> *** Error code 1
> The following command caused the error:
> otarget=`echo all-recursive|sed s/-recursive//`; \
> list='  srclib os server modules support'; \
> for i in $list; do \
>     if test -d "$i"; then \
>         target="$otarget"; \
>         echo "Making $target in $i"; \
>         if test "$i" = "."; then \
>                 made_local=yes; \
>                 target="local-$target"; \
>         fi; \
>         (cd $i && make $target) || exit 1; \
>     fi; \
> done; \
> if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
>     made_local=yes; \
> fi; \
> if test "$made_local" != "yes"; then \
>     make "local-$otarget" || exit 1; \
> fi
> make: Fatal error: Command failed for target `all-recursive'
> [EMAIL PROTECTED] /tmp/httpd-2.0.55 # ksh -x make
> ksh: make: cannot execute
>
> ##############################################################
> ############################################
>
> If someone can lend a hand, I'd appreciate it.
>
> Thanks.
> Josep
>
>
>
>
> =============================
> Este mensaje se dirige exclusivamente a su destinatario.
> Puede contener
> información confidencial sometida a secreto profesional o
> cuya divulgación
> esté prohibida, en virtud de la legislación vigente. No esta permitida
> su divulgación, copia o distribución a terceros sin la
> autorización previa
> y por escrito de Liberty Seguros. Si ha recibido este mensaje
> por error,
> le rogamos nos lo comunique inmediatamente por esta misma vía
> y proceda a
> su destrucción.
>
> This e-mail is intended exclusively for the individual or
> entity to which
> it is addressed and may contain confidential or legally
> privileged information,
> which may not be disclosed under current legislation. Any
> form of disclosure,
> copying or distribution of this e-mail is strictly
> prohibited, save with
> written authorisation from Liberty Seguros. If you have
> received this message
> in error, please notify the sender immediately by e-mail and
> delete all copies
> of the message.
> =============================
>
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of
a private and personal nature. It is not related to the exchange or
business activities of the SWX Group. Le présent e-mail est un message
privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.


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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







=============================
Este mensaje se dirige exclusivamente a su destinatario. Puede contener
información confidencial sometida a secreto profesional o cuya divulgación
esté prohibida, en virtud de la legislación vigente. No esta permitida
su divulgación, copia o distribución a terceros sin la autorización previa
y por escrito de Liberty Seguros. Si ha recibido este mensaje por error,
le rogamos nos lo comunique inmediatamente por esta misma vía y proceda a
su destrucción.

This e-mail is intended exclusively for the individual or entity to which
it is addressed and may contain confidential or legally privileged information,
which may not be disclosed under current legislation. Any form of disclosure,
copying or distribution of this e-mail is strictly prohibited, save with
written authorisation from Liberty Seguros. If you have received this message
in error, please notify the sender immediately by e-mail and delete all copies
of the message.
=============================

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to