Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What USE flag(s) do I use for php to get sem_get working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Sun May 21, 2006 1:58 am    Post subject: What USE flag(s) do I use for php to get sem_get working Reply with quote

I'm getting an error
Code:
Fatal error: Call to undefined function: sem_get()
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sun May 21, 2006 2:16 am    Post subject: Reply with quote

That would be the "sysvipc" USE flag.
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Sun May 21, 2006 2:24 am    Post subject: Reply with quote

Hrmmm, I re-emerged with that and I'm still getting the same error :(
Back to top
View user's profile Send private message
llongi
Retired Dev
Retired Dev


Joined: 15 Apr 2004
Posts: 459
Location: Switzerland

PostPosted: Sun May 21, 2006 2:42 am    Post subject: Reply with quote

Are you sure it was enabled when you re-emerged dev-lang/php?
Did you restart Apache after having recompiled it?
Are the sysv* modules loaded, if you do a phpinfo(); ?
_________________
Best regards, Luca.
Back to top
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Sun May 21, 2006 2:54 am    Post subject: Reply with quote

Quote:
Are you sure it was enabled when you re-emerged dev-lang/php?

Yep.

Quote:
Did you restart Apache after having recompiled it?

Yep.

Quote:
Are the sysv* modules loaded, if you do a phpinfo(); ?

There's the problem. I'm seeing:
Code:
'--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm'

How do I enable it? Sorry, I'm new to this.
Back to top
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Sun May 21, 2006 3:00 am    Post subject: Reply with quote

nm, I got it. I re-emerge php5, and apache is running 4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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