Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Compile php with mbstring support

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
cybersaga
n00b
n00b
User avatar
Posts: 7
Joined: Mon Sep 19, 2005 8:06 pm

Compile php with mbstring support

  • Quote

Post by cybersaga » Fri Dec 30, 2005 6:14 am

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
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Fri Dec 30, 2005 9:08 am

Code: Select all

#                               extension               USE flag                shared support?
enable_extension_enable         "mbstring"              "nls"                   1
Top
cybersaga
n00b
n00b
User avatar
Posts: 7
Joined: Mon Sep 19, 2005 8:06 pm

  • Quote

Post by cybersaga » Fri Dec 30, 2005 4:13 pm

and where does this line go?
Top
cybersaga
n00b
n00b
User avatar
Posts: 7
Joined: Mon Sep 19, 2005 8:06 pm

  • Quote

Post by cybersaga » Fri Dec 30, 2005 4:19 pm

wait... you're telling me the nls useflag will do it... gotcha...
Top
cybersaga
n00b
n00b
User avatar
Posts: 7
Joined: Mon Sep 19, 2005 8:06 pm

  • Quote

Post by cybersaga » Fri Dec 30, 2005 7:37 pm

That did it. Thanks!
Top
Monkeh
Veteran
Veteran
User avatar
Posts: 1656
Joined: Sat Aug 06, 2005 11:58 am
Location: England

  • Quote

Post by Monkeh » Fri Dec 30, 2005 7:53 pm

That's out of /usr/portage/eclass/php5_0-sapi.eclass :) If you can't find something in the ebuild, check the eclass.
Top
arlequin
l33t
l33t
User avatar
Posts: 707
Joined: Sat Nov 16, 2002 4:58 pm
Location: grep $USER /etc/passwd | cut -d':' -f6
Contact:
Contact arlequin
Website

  • Quote

Post by arlequin » Fri Apr 21, 2006 12:57 pm

Use "unicode" USE flag for PHP-5.1 :wink:
J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais.
Top
odioworks_com
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Sun Jan 23, 2005 7:08 pm
Location: Charlottesville, Virginia

Still can't get mbstring

  • Quote

Post by odioworks_com » Tue May 23, 2006 9:25 pm

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: Select all

# 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 
Top
odioworks_com
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Sun Jan 23, 2005 7:08 pm
Location: Charlottesville, Virginia

  • Quote

Post by odioworks_com » Thu May 25, 2006 6:16 pm

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...
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic