Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99110 - dev-php/eaccelerator ebuild errors
Summary: dev-php/eaccelerator ebuild errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 07:20 UTC by Aapo Laakkonen
Modified: 2005-07-17 02:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aapo Laakkonen 2005-07-15 07:20:51 UTC
dev-php/eaccelerator doesn't seem to compile. 

My /etc/portage/package.use:

=dev-php/mod_php-5.0.4 dba -threads -libedit -recode

My /etc/portage/package.keywords:

net-www/apache
dev-libs/apr
dev-libs/apr-util
net-www/gentoo-webroot-default
=dev-php/mod_php-5.0.4
=dev-php/phpconfig-5.0.4

My /etc/portage/package.unmask:

=dev-php/mod_php-5.0.4
=dev-php/phpconfig-5.0.4

My net-www/apache version and use flags: 

[ebuild   R   ] net-www/apache-2.0.54-r12  +apache2 -debug -doc -ldap -mpm-
leader -mpm-peruser +mpm-prefork -mpm-threadpool -mpm-worker -no-suexec (-
selinux) +ssl -static-modules +threads 5,486 kB 

My dev-php/mod_php version and use flags: 

[ebuild   R   ] dev-php/mod_php-5.0.4  -adabas +apache2 +bcmath +berkdb -
birdstep +bzip2 -calendar -cdb -cpdflib +crypt +ctype +curl +curlwrappers -db2 
+dba -dbase -dbm -dbmaker -dbx -debug +dio -empress -empress-bcs -esoob +exif 
+fam -fdftk -filepro -firebird -flatfile -frontbase +ftp +gd -gd-external 
+gdbm -gmp -hardenedphp -hyperwave-api +iconv +imap -informix -ingres -
inifile -interbase -iodbc +jpeg -kerberos -ldap -libedit -mcve -memlimit 
+mhash +mime +ming -mkconfig -mnogosearch -msession -msql -mssql +mysql -
mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos +pcntl +pcre -pfpro 
+png +posix -postgres -qdbm +readline -recode -sapdb -sasl +session -
sharedext -sharedmem +simplexml -snmp +soap +sockets -solid +spell +spl 
+sqlite +ssl -sybase -sybase-ct +sysvipc -threads +tidy +tiff +tokenizer 
+truetype +wddx +xml2 +xmlrpc -xpm +xsl +zlib 

my dev-php/phpconfig version:

[ebuild   R   ] dev-php/phpconfig-5.0.4  0 kB

dev-php/eaccelerator did work and build ok with mod_php 4.x.x. 

Here is the actual error I get: 

pasanen ~ # emerge eaccelerator 
Calculating dependencies ...done! 
>>> emerge (1 of 1) dev-php/eaccelerator-0.9.3-r1 to / 

QA Notice: ECLASS 'webapp-apache' inherited illegally in dev-php/eaccelerator-
0.9.3-r1 

>>> md5 files   ;-) eaccelerator-0.9.3-r1.ebuild 
>>> md5 files   ;-) eaccelerator-0.9.3.ebuild 
>>> md5 files   ;-) files/digest-eaccelerator-0.9.3-r1 
>>> md5 files   ;-) files/digest-eaccelerator-0.9.3 
>>> md5 src_uri ;-) eaccelerator-0.9.3.tar.gz 

QA Notice: ECLASS 'webapp-apache' inherited illegally in dev-php/eaccelerator-
0.9.3-r1 

 * Configuring cache dir /var/cache/eaccelerator for Apache v2 
>>> Unpacking source... 
>>> Unpacking eaccelerator-0.9.3.tar.gz to /var/tmp/portage/eaccelerator-0.9.3-
r1/work 
>>> Source unpacked. 
Configuring for: 
PHP Api Version:         20031224 
Zend Module Api No:      20041030 
Zend Extension Api No:   220040412 
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of 
AM_PATH_LIBMCRYPT 
  run info '(automake)Extending aclocal' 
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal 
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB 
autoconf: Undefined macros: 
configure.in:63:AC_PROG_LIBTOOL 
 * econf: updating eaccelerator-0.9.3/config.sub 
with /usr/share/gnuconfig/config.sub 
 * econf: updating eaccelerator-0.9.3/config.guess 
with /usr/share/gnuconfig/config.guess 
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --
infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --
localstatedir=/var/lib --build=i686-pc-linux-gnu --enable-eaccelerator=shared -
-without-eaccelerator-use-inode 
creating cache ./config.cache 
./configure: line 552: PHP_INIT_BUILD_SYSTEM: command not found 
./configure: line 558: syntax error near unexpected token `config.nice' 
./configure: line 558: `PHP_CONFIG_NICE(config.nice)' 

!!! Please attach the config.log to your bug report: 
!!! /var/tmp/portage/eaccelerator-0.9.3-r1/work/eaccelerator-0.9.3/config.log 

!!! ERROR: dev-php/eaccelerator-0.9.3-r1 failed. 
!!! Function econf, Line 485, Exitcode 0 
!!! econf failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 

What is the problem?

Reproducible: Always
Steps to Reproduce:
1. emerge net-www/apache2 with the use flags mentioned in the post
2. emerge dev-php/mod_php
3. emerge dev-php/phpconfig
4. emerge dev-php/eaccelerator

Actual Results:  
Ebuild failed.

Expected Results:  
Configure, compile and install.
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-15 22:58:30 UTC
At the moment you have to manually install ("emerge phpconfig") the environment
for building PHP extensions.
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-15 23:00:00 UTC
Reopening, as it does not seem to work with dev-php/phpconfig installed, either.
Comment 4 Dane Watson 2005-07-16 13:06:26 UTC
I'm unsure how to commit a fix for the ebuild, I'll assume someone on the php-
bugs will do this... Also note that its any new version of automake; 1.6 was 
the first one that worked for me
Comment 5 Kacper Kopczynski 2005-07-16 16:27:55 UTC
there is solution that someone gave me on #gentoo-server
http://forums.gentoo.org/viewtopic-t-359879-highlight-eaccelerator.html
Comment 6 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-17 02:51:30 UTC
Fixed in CVS for dev-php/eaccelerator-0.9.3-r1.