Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eaccelerator compile error
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
Cosmicboy
n00b
n00b


Joined: 18 Jun 2002
Posts: 63
Location: NRW, Germany

PostPosted: Thu Jun 02, 2005 11:41 am    Post subject: eaccelerator compile error Reply with quote

Hi,

I try to compile the newest version of eaccelerator (V0.93) an I get this error message:

Code:
 #error "Semaohore type is not selected. Define one of the following: MM_SEM_SPINLOCK, MM_SEM_PTHREAD, MM_SEM_POSIX, MM_SEM_IPC, MM_SEM_FCNTL, MM_SEM_FLOCK, MM_SEM_BEOS, MM_SEM_OS2, MM_SEM_WIN32"
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:927:4: #error "Shared memeory type is not selected. Define one of the following: MM_SHM_IPC, MM_SHM_MMAP_ANON, MM_SHM_MMAP_ZERO, MM_SHM_MMAP_FILE, MM_SHM_MALLOC, MM_SHM_BEOS, MM_SHM_OS2, MM_SHM_WIN32"
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `mm_init':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: `mm_mutex' undeclared (first use in this function)
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: (Each undeclared identifier is reported only once
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: for each function it appears in.)
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `_mm_create':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:1155: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `mm_sem_type':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:1213: `MM_SEM_TYPE' undeclared (first use in this function)
make: *** [mm.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
gcc -I. -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3 -DPHP_ATOM_INC -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/include -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/main -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -march=pentium3 -O3 -pipe -c /var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/webui.c  -fPIC -DPIC -o webui.lo


Can someone tell me, what I have to do, to compile eaccelerator?

Thanks
Thorsten
Back to top
View user's profile Send private message
MarcWeber
n00b
n00b


Joined: 04 Jan 2005
Posts: 6
Location: Germany

PostPosted: Mon Jul 10, 2006 5:38 pm    Post subject: Reply with quote

Try removing use flags. I did find a post on google which did say that there are slightly different implementations in session. Good luck
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Jul 10, 2006 6:28 pm    Post subject: Reply with quote

0.9.4 is the latest for PHP4 and 0.9.5_beta2 is the latest for PHP5. I'd highly recommend using unstable since I've had issues building stable eaccelerator versions.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
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