* [gentoo-user] EMERGE USE PHP additional options problem
[not found] <1188962980-4c44d2a7-mlmmj-605012f4@936515a.plonk>
@ 2007-09-05 4:14 ` Pablo Murillo
2007-09-05 12:29 ` Benno Schulenberg
0 siblings, 1 reply; 11+ messages in thread
From: Pablo Murillo @ 2007-09-05 4:14 UTC (permalink / raw
To: gentoo-user
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.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 4:14 ` [gentoo-user] EMERGE USE PHP additional options problem Pablo Murillo
@ 2007-09-05 12:29 ` Benno Schulenberg
2007-09-05 13:24 ` Dan Cowsill
2007-09-05 13:47 ` Pablo Murillo
0 siblings, 2 replies; 11+ messages in thread
From: Benno Schulenberg @ 2007-09-05 12:29 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 12:29 ` Benno Schulenberg
@ 2007-09-05 13:24 ` Dan Cowsill
2007-09-05 13:47 ` Pablo Murillo
1 sibling, 0 replies; 11+ messages in thread
From: Dan Cowsill @ 2007-09-05 13:24 UTC (permalink / raw
To: gentoo-user
On 9/5/07, Benno Schulenberg <benno.schulenberg@gmail.com> 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
> --
> gentoo-user@gentoo.org 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 12:29 ` Benno Schulenberg
2007-09-05 13:24 ` Dan Cowsill
@ 2007-09-05 13:47 ` Pablo Murillo
2007-09-05 14:22 ` Benno Schulenberg
2007-09-05 14:50 ` Alan McKinnon
1 sibling, 2 replies; 11+ messages in thread
From: Pablo Murillo @ 2007-09-05 13:47 UTC (permalink / raw
To: gentoo-user
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" <benno.schulenberg@gmail.com>
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
> --
> gentoo-user@gentoo.org mailing list
>
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 13:47 ` Pablo Murillo
@ 2007-09-05 14:22 ` Benno Schulenberg
2007-09-05 14:46 ` Pablo Murillo
2007-09-05 14:50 ` Alan McKinnon
1 sibling, 1 reply; 11+ messages in thread
From: Benno Schulenberg @ 2007-09-05 14:22 UTC (permalink / raw
To: gentoo-user
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.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 14:22 ` Benno Schulenberg
@ 2007-09-05 14:46 ` Pablo Murillo
2007-09-05 15:01 ` Benno Schulenberg
2007-09-05 17:58 ` kashani
0 siblings, 2 replies; 11+ messages in thread
From: Pablo Murillo @ 2007-09-05 14:46 UTC (permalink / raw
To: gentoo-user
> 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
> --
> gentoo-user@gentoo.org mailing list
>
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 13:47 ` Pablo Murillo
2007-09-05 14:22 ` Benno Schulenberg
@ 2007-09-05 14:50 ` Alan McKinnon
2007-09-05 15:14 ` Dan Farrell
1 sibling, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2007-09-05 14:50 UTC (permalink / raw
To: gentoo-user
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" <benno.schulenberg@gmail.com>
> 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
> > --
> > gentoo-user@gentoo.org 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 14:46 ` Pablo Murillo
@ 2007-09-05 15:01 ` Benno Schulenberg
2007-09-05 17:58 ` kashani
1 sibling, 0 replies; 11+ messages in thread
From: Benno Schulenberg @ 2007-09-05 15:01 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 14:50 ` Alan McKinnon
@ 2007-09-05 15:14 ` Dan Farrell
2007-09-05 17:12 ` Alan McKinnon
0 siblings, 1 reply; 11+ messages in thread
From: Dan Farrell @ 2007-09-05 15:14 UTC (permalink / raw
To: gentoo-user
On Wed, 5 Sep 2007 16:50:25 +0200
Alan McKinnon <alan@linuxholdings.co.za> wrote:
> User-Agent: KMail/1.9.7
this is not outlook express, it's kmail.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 15:14 ` Dan Farrell
@ 2007-09-05 17:12 ` Alan McKinnon
0 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2007-09-05 17:12 UTC (permalink / raw
To: gentoo-user
On Wednesday 05 September 2007, Dan Farrell wrote:
> On Wed, 5 Sep 2007 16:50:25 +0200
>
> Alan McKinnon <alan@linuxholdings.co.za> 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: <003d01c7efc3$6d739120$a601a8c0@killermovil>
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] EMERGE USE PHP additional options problem
2007-09-05 14:46 ` Pablo Murillo
2007-09-05 15:01 ` Benno Schulenberg
@ 2007-09-05 17:58 ` kashani
1 sibling, 0 replies; 11+ messages in thread
From: kashani @ 2007-09-05 17:58 UTC (permalink / raw
To: gentoo-user
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/apr urandom
# 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/lighttpd fam -mysql -ssl
mail-mta/postfix mysql 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-09-05 18:22 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1188962980-4c44d2a7-mlmmj-605012f4@936515a.plonk>
2007-09-05 4:14 ` [gentoo-user] EMERGE USE PHP additional options problem Pablo Murillo
2007-09-05 12:29 ` Benno Schulenberg
2007-09-05 13:24 ` Dan Cowsill
2007-09-05 13:47 ` Pablo Murillo
2007-09-05 14:22 ` Benno Schulenberg
2007-09-05 14:46 ` Pablo Murillo
2007-09-05 15:01 ` Benno Schulenberg
2007-09-05 17:58 ` kashani
2007-09-05 14:50 ` Alan McKinnon
2007-09-05 15:14 ` Dan Farrell
2007-09-05 17:12 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox