Re: [gentoo-user] EMERGE USE PHP additional options problem
Pablo Murillo wrote: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild Don't set all these USE flags on the command line. Set the ones you want to be valid for your whole system in /etc/make.conf. Set the ones that should be valid only for php in /etc/portage/package.use, by putting a line like 'dev-lang/php zip' in that file. Further, you can't use the word ebuild in an emerge command like that. Please show us the actual output of 'emerge -pv php'. Benno -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
On 9/5/07, Benno Schulenberg [EMAIL PROTECTED] wrote: Pablo Murillo wrote: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild Don't set all these USE flags on the command line. Set the ones you want to be valid for your whole system in /etc/make.conf. Set the ones that should be valid only for php in /etc/portage/package.use, by putting a line like 'dev-lang/php zip' in that file. Further, you can't use the word ebuild in an emerge command like that. Please show us the actual output of 'emerge -pv php'. Benno -- [EMAIL PROTECTED] mailing list It looks like he's trying to emerge from an ebuild file directly. Also not a good idea. -- Dan Cowsill http://www.danthehat.net -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
now I'm worse :( I update de portage, and now I have a biger problem - These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] dev-db/mysql-init-scripts-1.2 [ebuild N] mail-mta/ssmtp-2.61-r2 USE=ssl -ipv6 -mailwrapper -md5sum [ebuild U ] dev-db/mysql-5.0.44 [4.1.21] USE=-max-idx-128% [ebuild N] virtual/mysql-5.0 [ebuild U ] dev-lang/php-5.2.3-r3 [5.1.4] USE=-fastbuild* -filter% -ftp* -hash* -imap* -json% -ldap-sasl% -pic* -snmp* -sockets* -spell* -sqlite* -suhosin% -tokenizer* -xmlreader* -xmlrpc* -xmlwriter* -zip* -zip-external% [blocks B ] mail-mta/ssmtp (is blocking mail-mta/qmail-1.03-r16) [blocks B ] mail-mta/qmail (is blocking mail-mta/ssmtp-2.61-r2) - I don't want to REinstall qmail or ssmtp, everything is working fine What can I do ? - Original Message - From: Benno Schulenberg [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Wednesday, September 05, 2007 9:29 AM Subject: Re: [gentoo-user] EMERGE USE PHP additional options problem Pablo Murillo wrote: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild Don't set all these USE flags on the command line. Set the ones you want to be valid for your whole system in /etc/make.conf. Set the ones that should be valid only for php in /etc/portage/package.use, by putting a line like 'dev-lang/php zip' in that file. Further, you can't use the word ebuild in an emerge command like that. Please show us the actual output of 'emerge -pv php'. Benno -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
Pablo Murillo wrote: I update de portage, You did what exactly? Did you run 'emerge --sync' or 'emerge -a portage'? [ebuild N] virtual/mysql-5.0 [ebuild U ] dev-lang/php-5.2.3-r3 [5.1.4] USE=-fastbuild* -filter% -ftp* -hash* -imap* -json% -ldap-sasl% -pic* -snmp* -sockets* -spell* -sqlite* -suhosin% -tokenizer* -xmlreader* -xmlrpc* -xmlwriter* -zip* -zip-external% [blocks B ] mail-mta/ssmtp (is blocking mail-mta/qmail-1.03-r16) [blocks B ] mail-mta/qmail (is blocking mail-mta/ssmtp-2.61-r2) Put the single line 'dev-lang/php fastbuild ftp hash imap pic snmp sockets spell sqlite tokenizer xmlreader xmlrpc xmlwriter zip -mysql' in your /etc/portage/package.use file. Create the file if it does not exist, create the dir too if necessary. The relevant parts are the sqlite USE flag and the -mysql one, which will prevent mysql from being pulled in, which will prevent ssmtp from being pulled in. You will probably want to add -mysql to the USE flag definitions in your /etc/make.conf. Benno PS: please do not top-post. No matter what your mailer, please organize your messages in a sensible order. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
Pablo Murillo wrote: I update de portage, You did what exactly? Did you run 'emerge --sync' or 'emerge -a portage'? emerge --sync SORRY [ebuild N] virtual/mysql-5.0 [ebuild U ] dev-lang/php-5.2.3-r3 [5.1.4] USE=-fastbuild* -filter% -ftp* -hash* -imap* -json% -ldap-sasl% -pic* -snmp* -sockets* -spell* -sqlite* -suhosin% -tokenizer* -xmlreader* -xmlrpc* -xmlwriter* -zip* -zip-external% [blocks B ] mail-mta/ssmtp (is blocking mail-mta/qmail-1.03-r16) [blocks B ] mail-mta/qmail (is blocking mail-mta/ssmtp-2.61-r2) Put the single line 'dev-lang/php fastbuild ftp hash imap pic snmp sockets spell sqlite tokenizer xmlreader xmlrpc xmlwriter zip -mysql' in your /etc/portage/package.use file. Create the file if it does not exist, create the dir too if necessary. The relevant parts are the sqlite USE flag and the -mysql one, which will prevent mysql from being pulled in, which will prevent ssmtp from being pulled in. You will probably want to add -mysql to the USE flag definitions in your /etc/make.conf. If I USE -mysql the PHP won't have support for mysql ? Benno PS: please do not top-post. No matter what your mailer, please organize your messages in a sensible order. I wrote this way for years, but the common PC user don't understand :D -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
On Wednesday 05 September 2007, Pablo Murillo wrote: now I'm worse :( I update de portage, and now I have a biger problem - These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] dev-db/mysql-init-scripts-1.2 [ebuild N] mail-mta/ssmtp-2.61-r2 USE=ssl -ipv6 -mailwrapper -md5sum [ebuild U ] dev-db/mysql-5.0.44 [4.1.21] USE=-max-idx-128% [ebuild N] virtual/mysql-5.0 [ebuild U ] dev-lang/php-5.2.3-r3 [5.1.4] USE=-fastbuild* -filter% -ftp* -hash* -imap* -json% -ldap-sasl% -pic* -snmp* -sockets* -spell* -sqlite* -suhosin% -tokenizer* -xmlreader* -xmlrpc* -xmlwriter* -zip* -zip-external% [blocks B ] mail-mta/ssmtp (is blocking mail-mta/qmail-1.03-r16) [blocks B ] mail-mta/qmail (is blocking mail-mta/ssmtp-2.61-r2) - I don't want to REinstall qmail or ssmtp, everything is working fine What can I do ? First, please don't top post. It makes your posts illegible as I can't tell in what order who said what. And probably stop using Outlook Express as well. That POS hasn't gotten around to figuring out yet that text mails go up to column 80 or so for a good reason. It's mangled your post by stripping out all the line breaks, making it doubly hard to read. Onto your output. emerge wants to re-install ssmtp (I can't tell why), but can't because it conflicts with qmail which you already have installed. That's what the last two lines mean: ssmtp won't install itself if qmail is already there, qmail is complaining and won't let emerge install ssmtp for the same reason. I suspect it's php wanting to pull in ssmtp, what I don't understand is why it wants to do that when qmail already provides virtual/mta. Please rerun the emerge above ith the -t option so we can see what's going on. alan - Original Message - From: Benno Schulenberg [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Wednesday, September 05, 2007 9:29 AM Subject: Re: [gentoo-user] EMERGE USE PHP additional options problem Pablo Murillo wrote: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild Don't set all these USE flags on the command line. Set the ones you want to be valid for your whole system in /etc/make.conf. Set the ones that should be valid only for php in /etc/portage/package.use, by putting a line like 'dev-lang/php zip' in that file. Further, you can't use the word ebuild in an emerge command like that. Please show us the actual output of 'emerge -pv php'. Benno -- [EMAIL PROTECTED] mailing list -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
Pablo Murillo wrote: If I USE -mysql the PHP won't have support for mysql ? Precisely. If sqlite is not enough and you need mysql, then yiou will have to uninstall qmail and install ssmtp instead. Or file a bug in Gentoo's bugzilla against mysql, that it should be able to cope with qmail instead of ssmtp. PS: please do not top-post. No matter what your mailer, please organize your messages in a sensible order. I wrote this way for years, but the common PC user don't understand :D Yeah. No excuse, though. :) Oh, and please snip too. Benno -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
On Wed, 5 Sep 2007 16:50:25 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: User-Agent: KMail/1.9.7 this is not outlook express, it's kmail. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
On Wednesday 05 September 2007, Dan Farrell wrote: On Wed, 5 Sep 2007 16:50:25 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: User-Agent: KMail/1.9.7 this is not outlook express, it's kmail. That's *my* X-Mailer you are quoting, not the GPs. His is X-Mailer: Microsoft Outlook Express 6.00.2900.3138 from Message-ID: [EMAIL PROTECTED] alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EMERGE USE PHP additional options problem
Pablo Murillo wrote: If I USE -mysql the PHP won't have support for mysql ? Ideally you want nice defaults in your /etc/make.conf that you would not being built into any package. Things like unicode ssl bzip2 apache2 and so on depending on your server. I have mysql in mine, but I pull it out per package for things like the name server where is does not need to be. I would then specify on a per package basis databases and one off things like fam, sasl, etc in your /etc/portage/package.use Here is part of mine. www01 ~ # cat /etc/portage/package.use # Added urandom to make Apache start faster dev-libs/aprurandom # Specify no threads for Apache www-servers/apache -threads mpm-prefork # Network Daemons net-dns/bind-mysql net-mail/courier-imap fam gdbm -berkdb dev-libs/cyrus-sasl -berkdb -mysql authdaemond urandom www-servers/lighttpdfam -mysql -ssl mail-mta/postfixmysql ssl sasl vda # PHP dev-lang/php-threads bcmath berkdb cli crypt ctype curl exif gd gdbm hash iconv imap mhash mysql mysqli ncurses nls pcre readline session simplexml snmp sockets spell spl ssl suhosin truetype xml xmlrpc zlib kashani -- [EMAIL PROTECTED] mailing list
[gentoo-user] EMERGE USE PHP additional options problem
Hi I'm VERY new on GENTOO I'm from Argentine, my english (and my spanish too), is very poor I was using RedHat until 6.2, I allways made all configuration, compilation, etc, etc by hand I have scripts to install a complete RH 6.2 server with more than 1000 lines Now, I'm trying to understand how work the portage system, and I'm very lost I'm trying to do something that I believe is VERY stupid, but I can't make it work I want to configure PHP with ZIP and other things. The others thinhs works, but with-zip, don't I'm doing the next: USE= -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic reflection session simplexml soap sockets spl ssl sqlite tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip unicode imap snmp emerge -a php-5.1.4.ebuild All looks good, BUT, I restart apache and the new php_info don't have --enable-zip what am I doing wrong ? Thanks, in advance Pablo M. -- [EMAIL PROTECTED] mailing list