| View previous topic :: View next topic |
| Author |
Message |
cybersaga n00b


Joined: 19 Sep 2005 Posts: 7
|
Posted: Fri Dec 30, 2005 6:14 am Post subject: Compile php with mbstring support |
|
|
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 |
|
 |
Monkeh Veteran


Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Fri Dec 30, 2005 9:08 am Post subject: |
|
|
| Code: | # extension USE flag shared support?
enable_extension_enable "mbstring" "nls" 1
|
|
|
| Back to top |
|
 |
cybersaga n00b


Joined: 19 Sep 2005 Posts: 7
|
Posted: Fri Dec 30, 2005 4:13 pm Post subject: |
|
|
| and where does this line go? |
|
| Back to top |
|
 |
cybersaga n00b


Joined: 19 Sep 2005 Posts: 7
|
Posted: Fri Dec 30, 2005 4:19 pm Post subject: |
|
|
| wait... you're telling me the nls useflag will do it... gotcha... |
|
| Back to top |
|
 |
cybersaga n00b


Joined: 19 Sep 2005 Posts: 7
|
Posted: Fri Dec 30, 2005 7:37 pm Post subject: |
|
|
| That did it. Thanks! |
|
| Back to top |
|
 |
Monkeh Veteran


Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Fri Dec 30, 2005 7:53 pm Post subject: |
|
|
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 |
|
 |
arlequin l33t


Joined: 16 Nov 2002 Posts: 707 Location: grep $USER /etc/passwd | cut -d':' -f6
|
Posted: Fri Apr 21, 2006 12:57 pm Post subject: |
|
|
Use "unicode" USE flag for PHP-5.1  _________________ J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais. |
|
| Back to top |
|
 |
odioworks_com Tux's lil' helper

Joined: 23 Jan 2005 Posts: 82 Location: Charlottesville, Virginia
|
Posted: Tue May 23, 2006 9:25 pm Post subject: Still can't get mbstring |
|
|
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 |
|
 |
odioworks_com Tux's lil' helper

Joined: 23 Jan 2005 Posts: 82 Location: Charlottesville, Virginia
|
Posted: Thu May 25, 2006 6:16 pm Post subject: |
|
|
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 |
|
 |
|