View previous topic :: View next topic |
Author |
Message |
Caco_Patane n00b
Joined: 23 Apr 2003 Posts: 13
|
Posted: Thu Apr 24, 2003 2:54 am Post subject: mm error compiling apache |
|
|
I'am tryng to compile apache 1.3, but when compiles the 'mm' package it returns this error:
Code: |
bla bla bla
checking for kernel/OS.h... (cached) no
checking for create_area... no
decision on shared memory allocation method... SysV IPC shmget()
checking for shared memory maximum segment size... configure: error: Unable to determine maximum shared memory segment size
!!! ERROR: dev-libs/mm-1.2.1 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed
|
any ideas? _________________ Caco_Patane <!>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
G! dpu s:--- a-- C++ UL++ P+ L++ E---- W+++ N- o-- K- w--
O---- M- V- PS+++ PE Y PGP- t++ 5-- X+ R+++ tv++ b++ DI--- D+
G++ e h! r++ z**
------END GEEK CODE BLOCK------ |
|
Back to top |
|
|
braindead0 Tux's lil' helper
Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Thu May 01, 2003 7:09 pm Post subject: |
|
|
I'm having the same problem.... Good to know it's not just me!
I'm recompiling glibc now, I think that may have something to do with it (or perhaps not).
-- Never mind, re-emerging glibc didn't help
-- I got it to configure manualy by executing: configure --with-shm=MMFILE
I think I found the problem (but not the solution). My Redhat box has several interesting files in /proc/sys/kernel name shmmax, shmmni, shmall which I think are what the configure it trying to query.
Why I have them in RH and not in Gentoo is beyond me, there appear to be no kernal options (that I don't already have enabled) that would explain this. |
|
Back to top |
|
|
braindead0 Tux's lil' helper
Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Fri May 02, 2003 1:41 am Post subject: |
|
|
Ack, seems that the kernel isn't configured for shared memory, gotta go find what I didn't turn on.
Ah, need to set sys V IPC in general config (I think) and recompile..in theory. |
|
Back to top |
|
|
braindead0 Tux's lil' helper
Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Fri May 02, 2003 12:05 pm Post subject: |
|
|
Problem solved, must set Sys V IPC (in general kernal config I think) to Y.. |
|
Back to top |
|
|
|