Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101434 - emerge PECL-sqlite fails
Summary: emerge PECL-sqlite fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 06:18 UTC by Narada Sage
Modified: 2005-08-22 05:10 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/PECL-sqlite-1.0.3/work/SQLite-1.0.3/config.log (error.log,127 bytes, text/plain)
2005-08-05 06:20 UTC, Narada Sage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2005-08-05 06:18:14 UTC
dhruba ~ # emerge PECL-sqlite    
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/PECL-sqlite-1.0.3 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/SQLite-1.0.3.tgz
--14:16:19--  http://distfiles.gentoo.org/distfiles/SQLite-1.0.3.tgz
           => `/usr/portage/distfiles/SQLite-1.0.3.tgz'
Resolving distfiles.gentoo.org... 156.56.247.195, 140.211.166.134
Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 371,189 [application/x-gzip]

100%[==============================================>] 371,189       85.82K/s   
ETA 00:00

14:16:24 (82.22 KB/s) - `/usr/portage/distfiles/SQLite-1.0.3.tgz' saved
[371,189/371,189]

>>> md5 files   ;-) PECL-sqlite-1.0.2.ebuild
>>> md5 files   ;-) PECL-sqlite-1.0.3.ebuild
>>> md5 files   ;-) files/digest-PECL-sqlite-1.0.2
>>> md5 files   ;-) files/digest-PECL-sqlite-1.0.3
>>> md5 src_uri ;-) SQLite-1.0.3.tgz
>>> Unpacking source...
>>> Unpacking SQLite-1.0.3.tgz to /var/tmp/portage/PECL-sqlite-1.0.3/work
tar: A lone zero block at 3006
>>> Source unpacked.
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_DEFINE
configure.in:20:    AC_MSG_ERROR(Cannot find php-config. Please use
--with-php-config=PATH)
configure.in:63:AC_PROG_LIBTOOL
 * econf: updating SQLite-1.0.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating SQLite-1.0.3/config.sub with /usr/share/gnuconfig/config.sub
./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
creating cache ./config.cache
./configure: line 528: PHP_INIT_BUILD_SYSTEM: command not found
./configure: line 534: syntax error near unexpected token `config.nice'
./configure: line 534: `PHP_CONFIG_NICE(config.nice)'

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/PECL-sqlite-1.0.3/work/SQLite-1.0.3/config.log

!!! ERROR: dev-php/PECL-sqlite-1.0.3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Narada Sage 2005-08-05 06:20:17 UTC
Created attachment 65173 [details]
/var/tmp/portage/PECL-sqlite-1.0.3/work/SQLite-1.0.3/config.log

/var/tmp/portage/PECL-sqlite-1.0.3/work/SQLite-1.0.3/config.log
Comment 2 Narada Sage 2005-08-05 06:22:29 UTC
dhruba ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi aim alsa avi bash-completion berkdb browserplugin
bzip2 calendar cdr crypt ctype cups directfb divx4linux dvd dvdread emacs encode
escreen etwin exif fam fbcon ffmpeg foomaticdb ftp gd gdbm geoip gif gpm gtk
gtk2 icq imagemagick imap imlib innodb jabber java javascript jpeg lcms ldap
lesstif libcaca libwww maildir mcal mime mmap mmx motif mp3 mpeg msn mysql
mysqli ncurses new-login nntp nocd nvidia oggvorbis openal opengl oscar pam pcre
pdflib perl php png posix python quicktime quotas readline ruby samba sdl
session simplexml slang slp snmp soap sockets spell spl sqlite sse ssl svg svga
tcpd tidy tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vanilla vcd
videos vorbis wddx win32codecs wmf xine xinerama xml xml2 xmlrpc xmms xpm xsl xv
xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 06:23:51 UTC
(In reply to comment #0)
> configure.in:20:    AC_MSG_ERROR(Cannot find php-config. Please use
> --with-php-config=PATH)

Did you emerge dev-php/phpconfig?
Comment 4 Narada Sage 2005-08-05 06:51:11 UTC
No I have not.  I've just checked that package and it seems that it is masked
whilst I'm on stable.  Do you still want me to emerge it?  I'd rather not resort
to a solution split across two trees.
Comment 5 Narada Sage 2005-08-05 06:52:09 UTC
dhruba ~ # emerge dev-php/phpconfig    
Calculating dependencies   
!!! All ebuilds that could satisfy "dev-php/phpconfig" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-php/phpconfig-5.0.4 (masked by: package.mask, ~x86 keyword)
# Stuart Herbert <stuart@gentoo.org> (10 Jun 2005)
# Masked until the eclass is finished, and the PECL packages are done

- dev-php/phpconfig-5.1.0_beta (masked by: package.mask, ~x86 keyword)
- dev-php/phpconfig-4.3.10 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
section 2.2 "Software Availability" in the Gentoo Handbook.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 07:13:29 UTC
Which PHP version are you using?
Comment 7 Narada Sage 2005-08-05 07:47:25 UTC
dhruba ~ # emerge -s mod_php ^php$
Searching...   
[ Results for search key : mod_php ]
[ Applications found : 1 ]
 
*  dev-php/mod_php
      Latest version available: 4.3.11
      Latest version installed: 4.3.11
      Size of downloaded files: 3,997 kB
      Homepage:    http://www.php.net/
      Description: Apache module for PHP
      License:     PHP-3


Searching...   
[ Results for search key : ^php$ ]
[ Applications found : 1 ]
 
*  dev-php/php
      Latest version available: 4.3.11
      Latest version installed: 4.3.11
      Size of downloaded files: 3,997 kB
      Homepage:    http://www.php.net/
      Description: PHP Shell Interpreter
      License:     PHP-3
Comment 8 Narada Sage 2005-08-05 07:48:05 UTC
dhruba ~ # cat /etc/portage/package.mask 
>=net-www/apache-2
>=dev-php/mod_php-4.4
>=dev-php/php-4.4
dhruba ~ # cat /etc/portage/package.keywords 
app-office/openoffice-ximian-bin ~x86
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 08:01:27 UTC
No idea what's wrong with your php-config then, php-4.3.11 installs it. Looks
more like autoconf bug. 
Comment 10 Stuart Herbert (RETIRED) gentoo-dev 2005-08-22 05:10:00 UTC
Hi,

This is fixed by the pecl packages in the Gentoo PHP Overlay [1].  Please test
these packages, and let us know how you get on.  We hope to get these packages
into Portage in the next few weeks.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/

Best regards,
Stu