Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP - Interbase [Solved]
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
maurizio
n00b
n00b


Joined: 10 Aug 2005
Posts: 27
Location: Italy

PostPosted: Mon Aug 23, 2010 1:44 pm    Post subject: PHP - Interbase [Solved] Reply with quote

Hi,

I have a problem with PHP after update to version php-5.2.14.
Emerge give me this message:

Code:
USE flag interbase enables support for software not present in Portage!


I have a web application that use Interbase and now give me error (not find ibase_connect())

I think I have to download manually some package, someone can give me link / info ?

Thanks,
Maurizio.


Last edited by maurizio on Wed Aug 25, 2010 5:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Mon Aug 23, 2010 2:16 pm    Post subject: Reply with quote

Re-emerge php with the "firebird" flag on.
Back to top
View user's profile Send private message
maurizio
n00b
n00b


Joined: 10 Aug 2005
Posts: 27
Location: Italy

PostPosted: Tue Aug 24, 2010 7:08 am    Post subject: Reply with quote

I use amd64 and I have this USE:

Code:
USE="-X -alsa -eds -fortran -gnome -gpm -gstreamer -gtk -gtk2 -ipv6 -kde -opengl -qt -quicktime -sdl -xv -ldap -snmp -spell apache2 apm bash-completion bzip2 cli cdr clamav dbm doc dvdr emul-linux-x86 fastcgi firebird gdbm jbig lm_sensor mbox mime multilib nptl pcre php posix samba sharedxt sharedmem spl ppds usb nptl nptlonly -unicode -mysql gs jpeg tiff zip-external kpathsea png gd"


and emerge -pv php:

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


I have firebird flag, I have also dev-db/firebird-2.0.3.12981.0-r6 installed but the flag for php is off.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Aug 24, 2010 8:17 am    Post subject: Reply with quote

Firebird flag is masked for amd64.
Try
Code:
echo "-firebird" >> /etc/portage/use.mask
Back to top
View user's profile Send private message
maurizio
n00b
n00b


Joined: 10 Aug 2005
Posts: 27
Location: Italy

PostPosted: Tue Aug 24, 2010 9:45 am    Post subject: Reply with quote

No, don't solve.

I'm looking the ebuild (I haven't experience with ebuild) and I see:

Code:

PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob interbase oci8 sapdb solid"
...
php="=${CATEGORY}/${PF}"
...
firebird? ( $php[-interbase] )


Is possible that last line block the flag "firebird" ?

Thanks for help.
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Aug 24, 2010 2:33 pm    Post subject: Reply with quote

The masked flags are here: /usr/portage/profiles/base/use.mask.
I think it should be (globally):
Code:
echo "-firebird" >> /etc/portage/profile/use.mask

You can also try (per package):
Code:
echo "dev-lang/php -firebird" >> /etc/portage/profile/package.use.mask
Back to top
View user's profile Send private message
maurizio
n00b
n00b


Joined: 10 Aug 2005
Posts: 27
Location: Italy

PostPosted: Wed Aug 25, 2010 5:13 pm    Post subject: Reply with quote

Solved !!!

Thank you very much.
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