Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how emerge php with firebird support [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ruisantos1976
n00b
n00b


Joined: 21 Aug 2007
Posts: 25

PostPosted: Mon Dec 10, 2007 5:50 pm    Post subject: how emerge php with firebird support [SOLVED] Reply with quote

Hi all,

I'm trying to emerge php with firebird support but, even if I use

USE="firebird" emerge --update --deep php

the results still shows firebird on green, with a minus and within parenthesis and with an asterisk, like:

[ebuild U ] dev-lang/php-5.2.5-r1 [5.2.5] USE="apache2 bcmath bzip2 calendar cdb cgi cli concurrentmodphp crypt dbase exif gd gdbm gmp iconv mysql mysqli ncurses nls pcre readline reflection session soap sockets spell spl sqlite ssl sysvipc threads truetype unicode xml xmlreader xmlrpc xmlwriter xpm zip zlib (-adabas) -berkdb (-birdstep) -cjk -ctype -curl -curlwrappers -db2 (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -fastbuild (-fdftk) -filter (-firebird*) -flatfile -force-cgi-redirect (-frontbase) -ftp -gd-external -hash -imap -inifile -interbase -iodbc -ipv6 -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp (-solid) -suhosin (-sybase) (-sybase-ct) -tidy -tokenizer -wddx -xsl -yaz -zip-external" 0 kB

Can anyone help me on a way that I could emerge php with firebird support ?
Thanks.


Last edited by ruisantos1976 on Tue Dec 11, 2007 1:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Dec 10, 2007 6:17 pm    Post subject: Reply with quote

Don't use USE in a command line like that because the next time you emerge the package you'll lose the setting. What you're actually seeing is that firebird has been installed, but when you check it again without the USE flag in your command line it shows that the new state is -friebrd, it's installed, and the next emerge will remove it.

Instead use /etc/portage/package.use which is the correct place to set use flags per package permanently. You might need to create the file if it doesn't exist. Here are some things I have in mine so you can see the syntax.

/etc/portage/package.use
Code:

net-dns/bind            -mysql -threads
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


kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
ruisantos1976
n00b
n00b


Joined: 21 Aug 2007
Posts: 25

PostPosted: Tue Dec 11, 2007 11:06 am    Post subject: Reply with quote

kashani wrote:
Don't use USE in a command line like that because the next time you emerge the package you'll lose the setting. What you're actually seeing is that firebird has been installed, but when you check it again without the USE flag in your command line it shows that the new state is -friebrd, it's installed, and the next emerge will remove it.


I am aware of that. I just mentioned that USE flag on command line so that one could see that I was forcing the firebird USE flag for php and still, emerge emerge is not selecting it

kashani wrote:
Instead use /etc/portage/package.use which is the correct place to set use flags per package permanently. You might need to create the file if it doesn't exist. Here are some things I have in mine so you can see the syntax.

/etc/portage/package.use
Code:

net-dns/bind            -mysql -threads
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


kashani


My package.use file already has:
dev-lang/php -berkdb apache2 bcmath bzip2 calendar cdb cgi concurrentmodphp dbase exif firebird gd gmp mysql mysqli soap sockets spell sqlite sysvipc truetype xml xmlreader xmlrpc xmlwriter xpm zip threads firebird

Thanks for your attention anyway :D

The problem is that, even that I try to force the firebird USE flag on php, emerge will not consider it. I've read on the portage howto that a flag within parenthesis means that that specific flag is blocked by the profile. If that is the case, can can I "unblock" it ?

Thanks.
Back to top
View user's profile Send private message
ruisantos1976
n00b
n00b


Joined: 21 Aug 2007
Posts: 25

PostPosted: Tue Dec 11, 2007 1:15 pm    Post subject: Reply with quote

Solved it.

Just comented the firebird USE flag at

/usr/portage/profiles/base/use.mask
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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