You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Stefan Majer <st...@x-cellent.com> on 2001/09/27 11:49:39 UTC

unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Hi,

im trying to build the mod_webapp on Solaris 2.6

and get the following errors while configure for apr is
running:

##########################
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
#######################################

this is with 

webapp-module-1.0-tc40-src.tar.gz from the jakarta site
and also with an actual 
apr_20010926101907.tar.gz

bash-2.02# libtool --version
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
bash-2.02# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
bash-2.02# aclocal --version
aclocal (GNU automake) 1.4


Is the any chance to get the combination Apache-1.3 with
ssl and tc-4 running on solaris ?



any help welcome

stefan majer
x-cellent technologies gmbh
munich germany

Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Cliff Woolley <cl...@yahoo.com>.
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




Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Cliff Woolley <cl...@yahoo.com>.
On Fri, 28 Sep 2001, Justin Erenkrantz wrote:

> [ CCing dev@apr... ]
>
> On Thu, Sep 27, 2001 at 09:49:39AM -0000, Stefan Majer wrote:
> > Hi,
> >
> > 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?
>
> Cliff, don't you have Solaris 2.6?  Is everything building okay
> for you?  What option do we select for shmem on 2.6?  All of the
> Solaris 2.6 machines I had were mothballed.  =)   -- justin

Yeah.  I've got access (for now at least) to Solaris 2.6, 2.7, and 2.8
(all on Sparc architectures).

But I haven't tried compiling on Solaris at all in the last few weeks...
I've mainly been working on Linux 2.4 lately.  I'll give it a try on Sol
2.6 and see what happens.

--Cliff

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



Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Cliff Woolley <cl...@yahoo.com>.
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




Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Cliff Woolley <cl...@yahoo.com>.
On Fri, 28 Sep 2001, Justin Erenkrantz wrote:

> [ CCing dev@apr... ]
>
> On Thu, Sep 27, 2001 at 09:49:39AM -0000, Stefan Majer wrote:
> > Hi,
> >
> > 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?
>
> Cliff, don't you have Solaris 2.6?  Is everything building okay
> for you?  What option do we select for shmem on 2.6?  All of the
> Solaris 2.6 machines I had were mothballed.  =)   -- justin

Yeah.  I've got access (for now at least) to Solaris 2.6, 2.7, and 2.8
(all on Sparc architectures).

But I haven't tried compiling on Solaris at all in the last few weeks...
I've mainly been working on Linux 2.4 lately.  I'll give it a try on Sol
2.6 and see what happens.

--Cliff

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



Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Justin Erenkrantz <je...@ebuilt.com>.
[ CCing dev@apr... ]

On Thu, Sep 27, 2001 at 09:49:39AM -0000, Stefan Majer wrote:
> Hi,
> 
> 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?

Cliff, don't you have Solaris 2.6?  Is everything building okay 
for you?  What option do we select for shmem on 2.6?  All of the 
Solaris 2.6 machines I had were mothballed.  =)   -- justin

> and get the following errors while configure for apr is
> running:
> 
> ##########################
> 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
> #######################################
> 
> this is with 
> 
> webapp-module-1.0-tc40-src.tar.gz from the jakarta site
> and also with an actual 
> apr_20010926101907.tar.gz
> 
> bash-2.02# libtool --version
> ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
> bash-2.02# gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> bash-2.02# aclocal --version
> aclocal (GNU automake) 1.4
> 
> 
> Is the any chance to get the combination Apache-1.3 with
> ssl and tc-4 running on solaris ?
> 
> 
> 
> any help welcome
> 
> stefan majer
> x-cellent technologies gmbh
> munich germany


Re: unable to compile mod_webapp on Solaris 2.6 and 8 (apr related)

Posted by Justin Erenkrantz <je...@ebuilt.com>.
[ CCing dev@apr... ]

On Thu, Sep 27, 2001 at 09:49:39AM -0000, Stefan Majer wrote:
> Hi,
> 
> 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?

Cliff, don't you have Solaris 2.6?  Is everything building okay 
for you?  What option do we select for shmem on 2.6?  All of the 
Solaris 2.6 machines I had were mothballed.  =)   -- justin

> and get the following errors while configure for apr is
> running:
> 
> ##########################
> 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
> #######################################
> 
> this is with 
> 
> webapp-module-1.0-tc40-src.tar.gz from the jakarta site
> and also with an actual 
> apr_20010926101907.tar.gz
> 
> bash-2.02# libtool --version
> ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
> bash-2.02# gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> bash-2.02# aclocal --version
> aclocal (GNU automake) 1.4
> 
> 
> Is the any chance to get the combination Apache-1.3 with
> ssl and tc-4 running on solaris ?
> 
> 
> 
> any help welcome
> 
> stefan majer
> x-cellent technologies gmbh
> munich germany