apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)
Date Fri, 28 Sep 2001 21:53:00 GMT
On Fri, 28 Sep 2001, Justin Erenkrantz wrote:

> > im trying to build the mod_webapp on Solaris 2.6
>
> Oh, odd.  It looks like we're not detecting the shared memory
> correctly on Solaris 2.6.  The only tool version not specified
> was autoconf's and that's the most important version to have
> (should be 2.13+).  For grins, Stefan, can you rerun ./buildconf
> in the apr directory?

Okay, I just tried it against HEAD, and it configured and built no
problem.  Here are the details:


SunOS cobra 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-60

buildconf: autoconf version 2.13 (ok)
buildconf: libtool version 1.3.5 (ok)

gcc version 2.95.2 19991024 (release)

Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
loading cache ../.././config.cache
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
Configuring APR library
Platform: sparc-sun-solaris2.6
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
Applying APR hints file rules for sparc-sun-solaris2.6
  setting CPPFLAGS to "-DSOLARIS2=6 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT"
  setting apr_iconv_inbuf_const to "1"
(Default will be unix)
...
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no


> > ##########################
> > Checking for Shared Memory Support...
> >
> > checking for sys/mman.h... no
> > checking for MAP_ANON in sys/mman.h... no
> > checking for mmap... yes
> > checking for munmap... yes
> > checking for shm_open... no
> > checking for shm_unlink... no
> > checking for /dev/zero... yes
> > checking for sys/ipc.h... no
> > checking for sys/shm.h... no
> > checking for sys/file.h... no
> > checking for shmget... yes
> > checking for shmat... yes
> > checking for shmdt... yes
> > checking for shmctl... yes
> > checking for kernel/OS.h... no
> > checking for create_area... no
> > checking for os2.h... no
> > ./configure:Error: decision on shared memory allocation
> > method failed
> > #######################################

Checking for Shared Memory Support...
checking for sys/mman.h... yes
checking for MAP_ANON in sys/mman.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... no
checking for shm_unlink... no
checking for /dev/zero... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking for sys/file.h... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for kernel/OS.h... no
checking for create_area... no
checking for os2.h... no
decision on shared memory allocation method... SysV IPC shmget()


$ make >/dev/null
sockets.c: In function `apr_connect':
sockets.c:269: warning: passing arg 2 of `connect' discards qualifiers
from pointer target type


--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA




Mime
View raw message