![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
I'm trying to move some php code from an opensuse 11.1 system to a 13.1 ditto, and I need to rebuild the mailparse extension. This normally entails downloading the extension, running phpize, configure then make. On the older system I have php 5.2, on the newer 5.4 - the build options are quite different: php 5.2: # php-config --configure-options --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --bindir=/usr/bin --with-libdir=lib --includedir=/usr/include --sysconfdir=/etc/php5/cli --with-config-file-path=/etc/php5/cli --with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml --enable-session --with-mm --with-pcre-regex=/usr --enable-xml --enable-simplexml --enable-spl --enable-filter --disable-debug --enable-inline-optimization --disable-rpath --disable-static --enable-shared --program-suffix=5 --with-pic --with-gnu-ld --with-system-tzdata=/usr/share/zoneinfo --enable-cli --with-pear=/usr/share/php5/PEAR --enable-bcmath=shared --enable-calendar=shared --enable-ctype=shared --enable-dbase=shared --enable-dom=shared --enable-exif=shared --enable-ftp=shared --enable-mbstring=shared --enable-mbregex --enable-pcntl=shared --enable-posix=shared --enable-shmop=shared --enable-soap=shared --enable-sockets=shared --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --enable-tokenizer=shared --enable-wddx=shared --with-zlib=shared --with-bz2=shared --with-curl=shared --with-gd=shared --enable-gd-native-ttf --with-xpm-dir=/usr --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-t1lib=/usr --with-gettext=shared --with-gmp=shared --enable-hash=shared --with-iconv=shared --with-imap=shared --with-kerberos --with-imap-ssl --enable-json=shared --with-ldap=shared --with-ldap-sasl=/usr --with-libedit=shared,/usr --with-mcrypt=shared --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=shared --with-ncurses=shared --with-unixODBC=shared,/usr --with-openssl=shared --with-pgsql=shared,/usr --with-pspell=shared --with-snmp=shared --with-xmlrpc=shared --enable-xmlreader=shared --enable-xmlwriter=shared --with-xsl=shared --with-tidy=shared,/usr --enable-dba=shared --with-db4=/usr --without-gdbm --with-cdb --with-inifile --with-flatfile --enable-pdo=shared --with-pdo_sqlite=shared,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-odbc=shared,unixODBC,/usr --with-sqlite=shared,/usr --enable-sqlite-utf8 --enable-zip=shared --enable-suhosin=shared --disable-cgi php 5.4: php-config --configure-options --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --with-libdir=lib --includedir=/usr/include --sysconfdir=/etc/php5/fpm --with-config-file-path=/etc/php5/fpm --with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml --enable-session --with-pcre-regex=/usr --enable-xml --enable-simplexml --enable-spl --enable-filter --disable-debug --enable-inline-optimization --disable-rpath --disable-static --enable-shared --with-pic --with-gnu-ld --enable-re2c-cgoto --with-system-tzdata=/usr/share/zoneinfo --enable-hash --with-mhash --enable-fpm --bindir=/usr/bin --disable-cli --disable-all When I try to build mailparse, compilation complains that mbstring is missing, apparently because /usr/include/php5/main/php_config.h does not define HAVE_MBSTRING. I am assuming php_config.h is created by the initial php build config, so with the option string above - questions: - why does php 5.4 not need all the various extension options? - how should I be compiling mailparse? -- Per Jessen, Zürich (13.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org