I am having a bit of difficulty generating the cybercash.so from the etc/cybercash directory.
Here is a brief log.
[root@db ext]# cd cybercash
[root@db cybercash]# phpize
aclocal: macro AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macroAC_ADD_INCLUDE' defined in acinclude.m4 but never used
aclocal: macro AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macroAC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but never used
You should update your aclocal.m4' by running aclocal.
[root@db cybercash]# ./configure --with-cybercash=/root/mck-3.3.1-i586-pc-linux-gnulibc2.1/
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/lib/php4
checking for CyberCash support... yes
checking for base64_encode in -lmckcrypto... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for working mkdir -p... yes
creating config_vars.mk
creating Makefile
updating cache ./config.cache
creating ./config.status
creating config.h
[root@db cybercash]# make
make[1]: Entering directory/root/php-4.0.6/ext/cybercash'
/bin/sh /root/php-4.0.6/ext/cybercash/libtool --mode=compile gcc -I. -I/root/php-4.0.6/ext/cybercash/ -I/root/php-4.0.6/ext/cybercash/main -I/root/php-4.0.6/ext/cybercash -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/root/mck-3.3.1-i586-pc-linux-gnulibc2.1//c-api -DHAVE_CONFIG_H -g -O2 -c cybercash.c
gcc -I. -I/root/php-4.0.6/ext/cybercash/ -I/root/php-4.0.6/ext/cybercash/main -I/root/php-4.0.6/ext/cybercash -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/root/mck-3.3.1-i586-pc-linux-gnulibc2.1//c-api -DHAVE_CONFIG_H -g -O2 -c cybercash.c -fPIC -DPIC -o cybercash.lo
/bin/sh /root/php-4.0.6/ext/cybercash/libtool --mode=link gcc -I. -I/root/php-4.0.6/ext/cybercash/ -I/root/php-4.0.6/ext/cybercash/main -I/root/php-4.0.6/ext/cybercash -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/root/mck-3.3.1-i586-pc-linux-gnulibc2.1//c-api -DHAVE_CONFIG_H -g -O2 -o libcybercash.la cybercash.lo
mkdir .libs
rm -fr .libs/libcybercash.la .libs/libcybercash. .libs/libcybercash.
ar cru .libs/libcybercash.al cybercash.lo
ranlib .libs/libcybercash.al
creating libcybercash.la
(cd .libs && rm -f libcybercash.la && ln -s ../libcybercash.la libcybercash.la)
make[1]: Leaving directory `/root/php-4.0.6/ext/cybercash'
[root@db cybercash]#
As you can see, it never even creates the .so file. Anyone have any similar problems?
Thanks,
Chad