I am having problems compiling php whether with easyapache or manually. I get failures for imap and for sablot. I am hoping that somebody here can give me a fix before I have to submit a ticket to cpanel to fix this.
This is a RH 7.3 box.
Here is the error that shows in the config.log file for imap:
configure:40034: checking whether IMAP works
configure:40067: gcc -o conftest -g -O2 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerb$
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp'
configure: failed program was:
#line 40042 "configure"
#include "confdefs.h"
Here is the error that I get for Sablot:
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes
checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96 or greater required.
configure:81194: checking for XSLT Sablotron backend
configure:81219: checking for libexpat dir for Sablotron XSL support
configure:81244: checking for iconv dir for Sablotron XSL support
configure:81269: checking for JavaScript for Sablotron XSL support
configure:81523: checking for Sablotron libraries in the default path
configure:81539: checking for sablot-config
configure:81557: checking for Sablotron version
configure:81582: gcc -o conftest -g -O2 -I/usr/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/local/fla$
configure: failed program was:
#line 81564 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sablot.h>
int main ()
{
double version;
version = atof(SAB_VERSION);
if (version >= 0.96) {
exit(0);
}
exit(255);
}
Any suggestions?
This is a RH 7.3 box.
Here is the error that shows in the config.log file for imap:
configure:40034: checking whether IMAP works
configure:40067: gcc -o conftest -g -O2 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerb$
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp'
configure: failed program was:
#line 40042 "configure"
#include "confdefs.h"
Here is the error that I get for Sablot:
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes
checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96 or greater required.
configure:81194: checking for XSLT Sablotron backend
configure:81219: checking for libexpat dir for Sablotron XSL support
configure:81244: checking for iconv dir for Sablotron XSL support
configure:81269: checking for JavaScript for Sablotron XSL support
configure:81523: checking for Sablotron libraries in the default path
configure:81539: checking for sablot-config
configure:81557: checking for Sablotron version
configure:81582: gcc -o conftest -g -O2 -I/usr/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/local/fla$
configure: failed program was:
#line 81564 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sablot.h>
int main ()
{
double version;
version = atof(SAB_VERSION);
if (version >= 0.96) {
exit(0);
}
exit(255);
}
Any suggestions?