Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php pear and pecl
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
vahtryn
n00b
n00b


Joined: 12 Jul 2005
Posts: 27
Location: SF

PostPosted: Wed Sep 27, 2006 6:12 pm    Post subject: php pear and pecl Reply with quote

I'm having some issues when building php with a custom ebuild and eclass. There are some things that I need to have built into php in order for my application to work. While I have php compiled and built as a module for apache the modules load, pear and pecl are not compiled so I cannot add my pear and pecl modules.

Here's what I've done so far:

Code:

mkdir -p /usr/local/portage/dev-lang/php/files
cp -r /usr/portage/dev-lang/php /usr/local/portage/dev-lang/php
cp /usr/portage/eclass/php5_1-sapi.eclass /usr/portage/eclass/php5_1-sapi.eclass-old


I copied the eclass over as I wanted to have an original after modifying it with the ./configure line required from our old slackware build, it reads as this now:

Code:

e-path=/etc/apache --enable-safe-mode --with-openssl --with-mhash --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype --with-gdbm --enable-dbase --enable-ftp --with-exif --with-gd --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png --with-gmp --enable-mbstring --without-curl --with-gettext=shared,/usr --with-expat-dir=/usr --with-xml --enable-wddx --with-mm=/usr   --enable-trans-sid --enable-shmop --enable-sockets --with-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-memory-limit --with-tsrm-pthreads --without-iconv --enable-shared --disable-debug --enable-sqlite-utf8 --enable-soap --with-mysqli=shared,/usr/bin/mysql_config --with-mysql=shared,/usr/bin --disable-ipv6 --with-pear --enable-pear --with-zlib=/usr --with-apxs2=/usr/sbin/apxs2


What would be causing pear and pecl not to compile with that?

Here's what emerge -pv php outputs:

Code:

emerge -pv php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-lang/php-5.1.6-r4 [5.0.5-r5] -adabas -apache +apache2* +bcmath* +berkdb -birdstep +bzip2 +calendar* -cdb -cgi -cjk +cli -concurrentmodphp +crypt +ctype* +curl +curlwrappers* -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob +exif* -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd* -gd-external +gdbm +gmp* -hardenedphp -hash -hyperwave-api +iconv* -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit +mhash -ming -msql -mssql +mysql +mysqli* +ncurses +nls -oci8 -oci8-instant-client -odbc +pcntl* +pcre -pdo +pdo-external* -pic +posix* -postgres -qdbm +readline -recode +reflection -sapdb -sasl +session -sharedext -sharedmem -simplexml +snmp* +soap* +sockets* -solid +spell +spl +sqlite* +ssl -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer +truetype +unicode* -vm-goto -vm-switch -wddx +xml -xmlreader -xmlrpc -xmlwriter -xpm +xsl* -yaz -zip +zlib 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage


Also in /etc/portage/package.use is the following:

Code:

dev-lang/php apache2 sockets mysql mysqli cli xml xsl pcre pdo-external session sqlite curl gd iconv jpeg pcntl pear png posix soap snmp ssl zlib bzip2 bcmath ctype calendar curlwrappers gdbm exif dbm unicode
Back to top
View user's profile Send private message
vahtryn
n00b
n00b


Joined: 12 Jul 2005
Posts: 27
Location: SF

PostPosted: Wed Sep 27, 2006 9:55 pm    Post subject: Reply with quote

Now this is just weird. To see what happens with the normal ebuild I did an emerge --sync on the box, everything is now the same portage tree that's current with gentoo. I did an emerge -vbp php and it told me that it was going to install php-5.1.6-r4 (the same ebuild I was modifying). I took out the p flag and built a new package. Installed the new package on my test box. Pear and pecl weren't part of the normal gentoo build?

Any ideas why this is?
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