| View previous topic :: View next topic |
| Author |
Message |
aapol n00b

Joined: 17 Feb 2005 Posts: 2
|
Posted: Fri Jul 15, 2005 2:09 pm Post subject: [Solved] dev-php/eaccelerator ebuild errors |
|
|
dev-php/eaccelerator doesn't seem to compile.
My apache2 version and use flags:
| Code: | | [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 mod_php version and use flags:
| Code: | | [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 |
dev-php/eaccelerator did work and build ok with mod_php 4.x.x.
Here is the actual error I get:
| Code: | 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?
UPDATE 1.0: Reported error to Gentoo Bugzilla at https://bugs.gentoo.org/show_bug.cgi?id=99110
Last edited by aapol on Mon Jul 18, 2005 9:02 am; edited 1 time in total |
|
| Back to top |
|
 |
dwatson83 n00b

Joined: 15 Jul 2005 Posts: 1
|
Posted: Fri Jul 15, 2005 8:59 pm Post subject: |
|
|
I had the same problem... To resolve I did:
echo "dev-php/eaccelerator ~x86" >> /etc/portage/package.keywords
vi /usr/portage/dev-php/eaccelerator/eaccelerator-0.9.3-r1.ebuild
Add "inherit kde-functions" and "need-automake 1.6" after inherit php-ext-source
[Note: you don't need KDE installed]
Then run:
ebuild eaccelerator-0.9.3-r1.ebuild digest && emerge -v eaccelerator
Followed by a typical etc-update
Good Luck... |
|
| Back to top |
|
 |
|
|
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
|
|