Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why --disable-ctype in php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jwezel
n00b
n00b


Joined: 29 Jan 2003
Posts: 58
Location: Birr, Switzerland

PostPosted: Mon Dec 14, 2009 10:19 pm    Post subject: Why --disable-ctype in php Reply with quote

Is there a reason why the ctype module is disabled explicitly through --disable-ctype in php? This hardly makes any sense.

I saw there is a ctype USE flag. I enabled it, but no use.

My version is:

[I] dev-lang/php
Available versions: (5) 5.2.9-r2 5.2.10 ~5.2.10-r1 ~5.2.10-r2 5.2.11 5.2.11-r1
{adabas apache2 bcmath berkdb birdstep bzip2 calendar cdb cgi cjk cli concurrentmodphp crypt ctype curl curlwrappers db2 dbase dbmaker debug discard-path doc empress empress-bcs esoob exif fastbuild fdftk filter firebird flatfile force-cgi-redirect frontbase ftp gd gd-external gdbm gmp hash iconv imap inifile interbase iodbc ipv6 java-external json kerberos kolab ldap ldap-sasl libedit mcve mhash msql mssql mysql mysqli ncurses nls oci8 oci8-instant-client odbc pcntl pcre pdo pic posix postgres qdbm readline recode reflection sapdb session sharedext sharedmem simplexml snmp soap sockets solid spell spl sqlite ssl suhosin sybase sybase-ct sysvipc threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl yaz zip zlib}
Installed versions: 5.2.11-r1(5)(11:05:06 PM 12/12/2009)(bcmath berkdb bzip2 calendar cdb cgi cli crypt ctype curl curlwrappers dbase filter flatfile ftp gd gdbm gmp hash iconv imap inifile ipv6 kerberos ldap ldap-sasl mhash mysql mysqli ncurses nls pcre pdo posix readline reflection session sharedext sharedmem simplexml soap sockets spell spl sqlite ssl sysvipc tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -apache2 -birdstep -cjk -concurrentmodphp -db2 -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -firebird -force-cgi-redirect -frontbase -gd-external -interbase -iodbc -java-external -json -kolab -libedit -mcve -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sapdb -snmp -solid -suhosin -sybase -sybase-ct -threads -wddx -yaz)
Homepage: http://www.php.net/
Description: The PHP language runtime engine: CLI, CGI and Apache2 SAPIs.

How can I get the ctype built in?
_________________
Johnny Wezel
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Wed Dec 16, 2009 5:17 am    Post subject: Reply with quote

It is explicitly disabled with the --disable-ctype compile time parameter because php defaults to have it enabled at compile time. The ebuild is written so that if there is no 'ctype' use flag then it calls for '--disable-ctype' to be a compile param... if the use flag is found then there is no modifications to the compile parameters because php defaults to compiling that module.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
jwezel
n00b
n00b


Joined: 29 Jan 2003
Posts: 58
Location: Birr, Switzerland

PostPosted: Wed Dec 16, 2009 1:54 pm    Post subject: Reply with quote

SLBMEH wrote:
It is explicitly disabled with the --disable-ctype compile time parameter because php defaults to have it enabled at compile time. The ebuild is written so that if there is no 'ctype' use flag then it calls for '--disable-ctype' to be a compile param... if the use flag is found then there is no modifications to the compile parameters because php defaults to compiling that module.


Yes, I know, that's why I have enabled ctype, but it didn't make any difference.
_________________
Johnny Wezel
Back to top
View user's profile Send private message
jwezel
n00b
n00b


Joined: 29 Jan 2003
Posts: 58
Location: Birr, Switzerland

PostPosted: Wed Dec 16, 2009 2:08 pm    Post subject: Reply with quote

Oh, wait, I had another version hidden somewhere. In the emerged version, ctype is enabled now. So it's solved.
_________________
Johnny Wezel
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Wed Dec 16, 2009 2:17 pm    Post subject: Reply with quote

Can you pastebin your most recent build log for php from your /var/log/portage/ directory please?
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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