[users@httpd] Getting mod_cache under Solaris 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all.

I'm trying to compile mod_cache in a Solaris 10 server, but I'm getting
compilation errors. Has someone compiled the module? And if so, is there
some way to get it?

If there's no way to get a built module, I'll try to compile it. For the
record, this is what I do.

- This is the system:
root@cpdgenweb /tmp/httpd-2.0.55 # uname -a
SunOS cpdgenweb 5.10 Generic_118822-23 sun4u sparc SUNW,Ultra-250

- I'm working without zones, so there should be no zones-related issues (At
least, I hope there isn't...)
- I have this distribution: httpd-2.0.55-sparc-sun-solaris2.8.tar  (yes, it
says solaris 2.8, but hey, there's no solaris 10 dist that I can find)
- Here's the path:
      /usr/sfw/bin:/usr/sbin:/usr/bin
- 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:

##########################################################################################################

root@cpdgenweb /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'
root@cpdgenweb /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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux