From:             [EMAIL PROTECTED]
Operating system: Sun/Solaris
PHP version:      4.0.5
PHP Bug Type:     *Compile Issues
Bug description:  Unable to compile Verisign Payflowpro

I am trying to compile Verising Payflowpro module for PHP/Apache, here are
the commands I used:

copied libpfpro.so and pfpro.h to the same directory
/usr/local/verisign/payflowpro/solaris/lib

config statement for php:
=============================================
./configure --with-mysql --with-apache=../apache-1.3.19 --enable-track-vars
--with-pfpro=/usr/local/verisign/payflowpro/solaris/lib

make
make install
=============================================

changed directory to apache-1.3.19 and ran the following config:
============================================
./configure --activate-module=src/modules/php4/libphp4.a
make
============================================

make fails with the following errors:
============================================
gcc  -DSOLARIS2=280 -I/usr/local/src/php-4.0.5
-I/usr/local/src/php-4.0.5/main -
I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5/Zend
-I/usr/local/src/
php-4.0.5/Zend -I/usr/local/src/php-4.0.5/TSRM
-I/usr/local/src/php-4.0.5/TSRM -
I/usr/local/src/php-4.0.5 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci
`    \
      -o httpd buildmark.o modules.o  modules/php4/libphp4.a 
modules/standard/l
ibstandard.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a 
lib/expat-lite/libe
xpat.a  -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/us
r/local/verisign/payflowpro/solaris/lib  -L/usr/ucblib
-L/usr/local/lib/gcc-lib/
sparc-sun-solaris2.8/2.95.3 -L/usr/local/verisign/payflowpro/solaris/lib
-Lmodul
es/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam  -ldl
-lpfpro -l
resolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsocket -lgcc   -lsocket
-lnsl
Undefined                       first referenced
 symbol                             in file
PNInit                              modules/php4/libphp4.a(pfpro.o)
PNVersion                           modules/php4/libphp4.a(pfpro.o)
ProcessPNTransaction                modules/php4/libphp4.a(pfpro.o)
PNCleanup                           modules/php4/libphp4.a(pfpro.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /usr/local/src/apache-1.3.19/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /usr/local/src/apache-1.3.19
*** Error code 1
make: Fatal error: Command failed for target `build'
===============================

Please advise.

Thanks in advance.

Edward Greenspan
-- 
Edit bug report at: http://bugs.php.net/?id=12295&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to