Hi,
I am currently developing a PHP extension which provides a lot of functions
to code/decode large mail attachments. This extension is based on the
C-library "UUDeview".
On Windows platforms, the extension works well. I have downloaded the
Windows version of "UUDeview", I have specified the path of the header files
in my "C++ Project" and I put the "uudeview.dll" file in my "C:\Windows"
directory.
The problem comes from the "UNIX/Linux" version : I have downloaded the UNIX
version of "UUDeview". I have installed it (./configure, make, make install)
and then I have copied the header files ("uudeview.h", "crc32.h",
"config.h") in the "/usr/local/include" directory. I have also copied the
"libuu.a" file in the "/usr/local/lib" directory. Then I used the
"./ext_skel" command which has created the module directory, the "config.m4"
file and the others files. I have modified the "att_codec.h" and the
"att_codec.c" files. Then I have modified the "config.m4" file. It only
contains that :
PHP_ARG_WITH(att_codec, for att_codec support,
[ --with-att_codec Include att_codec support])
if test "$PHP_ATT_CODEC" != "no"; then
PHP_NEW_EXTENSION(att_codec, att_codec.c, $ext_shared)
fi
Then I tried the following commands :
-./buildconf
-./configure --with-att_codec
-make
The problem comes from the make : It fails with a lot of errors : It doesn't
recognize the functions of the UNIX version of the C-library "UUDeview".
I think I have to add some lines in the "config.m4" file. Can someone help
me?
Stephane Degre