Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mm error compiling apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Caco_Patane
n00b
n00b


Joined: 23 Apr 2003
Posts: 13

PostPosted: Thu Apr 24, 2003 2:54 am    Post subject: mm error compiling apache Reply with quote

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
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Thu May 01, 2003 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Fri May 02, 2003 1:41 am    Post subject: Reply with quote

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
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Fri May 02, 2003 12:05 pm    Post subject: Reply with quote

Problem solved, must set Sys V IPC (in general kernal config I think) to Y..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum