Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compile php with mbstring support
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
cybersaga
n00b
n00b


Joined: 19 Sep 2005
Posts: 7

PostPosted: Fri Dec 30, 2005 6:14 am    Post subject: Compile php with mbstring support Reply with quote

phpMyAdmin is complaining there's no mbstring support. So, after some research, I realize my PHP build was configured with --disable-mbstring, when it should be --enable-mbstring. How do I make that change while still allowing portage to handle the build? There doesn't seem to be a use flag for it.

dev-lang/php-5.0.5-r4

If it matters:
dev-db/phpmyadmin-2.7.0_p1
dev-db/mysql-4.1.14
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Fri Dec 30, 2005 9:08 am    Post subject: Reply with quote

Code:
#                               extension               USE flag                shared support?
enable_extension_enable         "mbstring"              "nls"                   1
Back to top
View user's profile Send private message
cybersaga
n00b
n00b


Joined: 19 Sep 2005
Posts: 7

PostPosted: Fri Dec 30, 2005 4:13 pm    Post subject: Reply with quote

and where does this line go?
Back to top
View user's profile Send private message
cybersaga
n00b
n00b


Joined: 19 Sep 2005
Posts: 7

PostPosted: Fri Dec 30, 2005 4:19 pm    Post subject: Reply with quote

wait... you're telling me the nls useflag will do it... gotcha...
Back to top
View user's profile Send private message
cybersaga
n00b
n00b


Joined: 19 Sep 2005
Posts: 7

PostPosted: Fri Dec 30, 2005 7:37 pm    Post subject: Reply with quote

That did it. Thanks!
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Fri Dec 30, 2005 7:53 pm    Post subject: Reply with quote

That's out of /usr/portage/eclass/php5_0-sapi.eclass :) If you can't find something in the ebuild, check the eclass.
Back to top
View user's profile Send private message
arlequin
l33t
l33t


Joined: 16 Nov 2002
Posts: 707
Location: grep $USER /etc/passwd | cut -d':' -f6

PostPosted: Fri Apr 21, 2006 12:57 pm    Post subject: Reply with quote

Use "unicode" USE flag for PHP-5.1 :wink:
_________________
J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais.
Back to top
View user's profile Send private message
odioworks_com
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 82
Location: Charlottesville, Virginia

PostPosted: Tue May 23, 2006 9:25 pm    Post subject: Still can't get mbstring Reply with quote

hmm for some reason PHPMyadmin is telling me php doesn't have mbstring support, even though I have emerged it with the "unicode" use flag. Any ideas?

Here are my use flags:
Code:
# emerge -pv php

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

Calculating dependencies ...done!
[ebuild   R   ] dev-lang/php-5.1.4  -adabas -apache -apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk +cli +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
Back to top
View user's profile Send private message
odioworks_com
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2005
Posts: 82
Location: Charlottesville, Virginia

PostPosted: Thu May 25, 2006 6:16 pm    Post subject: Reply with quote

figured it out, apache2 wasn't included as a flag.

The following line worked:
USE="apache2 unicode" emerge php

Not sure why apache2 wasn't included automatically, since it is installed...
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