|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-10-01 01:03 UTC] nandesu at gmail dot com
Description: ------------ PHP-4.4.0 will not even configure with verisign's PayFlowPro on SuSE Linux Enterprise 9. However, it works just fine (exact same tarballs) in Slackware-10.x. Reproduce code: --------------- ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-bcmath --with-curl --with-mysql=/usr/local/mysql --with-mcrypt=/usr/local/lib --with-openssl=/usr/local/ssl --without-pear --disable-cgi --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib --with-pfpro --enable-xml Expected result: ---------------- I expect it to read: checking for pfproInit in -lpfpro... yes So I can go on about my life. ~grins Actual result: -------------- checking for Verisign Payflow Pro support... yes checking for pfproInit in -lpfpro... no checking for PNInit in -lpfpro... no configure: error: The pfpro extension requires version 2 or 3 of the SDK PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 17:00:01 2025 UTC |
Is it possible it's the version of GCC or glib that is being used on SuSE? (gcc version 3.3.3 (SuSE Linux)) Here's the end of config.log where that error is occurring: configure:76326: checking for Verisign Payflow Pro support configure:76486: checking for pfproInit in -lpfpro configure:76505: gcc -o conftest -g -O2 -Wl,-rpath,/usr/ local/lib -L/usr/local/lib conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5 /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b' /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status configure: failed program was: #line 76494 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pfproInit(); int main() { pfproInit() ; return 0; } configure:76615: checking for PNInit in -lpfpro configure:76634: gcc -o conftest -g -O2 -Wl,-rpath,/usr/ local/lib -L/usr/local/lib conftest.c -lpfpro -lresolv -lm -ldl -lnsl 1>&5 /usr/local/lib/libpfpro.so: undefined reference to `__ctype_b' /usr/local/lib/libpfpro.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status configure: failed program was: #line 76623 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PNInit(); int main() { PNInit() ; return 0; }