By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,051 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,051 IT Pros & Developers. It's quick & easy.

Problems compiling Sablotron into PHP 4.3.2 on RedHat 7.2

P: n/a
Hi all,

I'm trying to install Sablotron on Red Hat Linux release 7.2 (Enigma).
I've got Sablotron to compile. I now get the following error when
running ./configure on PHP:

checking for Sablotron libraries in the default path... found in
/usr/local
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version
0.96 or greater required.
[root@redhat1 php-4.3.2]#
In config.log:
configure:75340: checking for sablot-config
configure:75358: checking for Sablotron version
configure:75383: gcc -o conftest -g -O2 -I/usr/local/include
-Wl,-rpath,/usr/\local/lib -L/usr/local/lib conftest.c -lcrypt -lcurl
-lm -lcurl -ldl -lcrypt 1\>&5
configure: failed program was:
#line 75365 "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);
--1-:---F1 config.log
(Fundamental)--L973--99%--------------------------

I have found the following URL:
http://archive.gingerall.cz/archives.../msg00263.html
which talks about problems coming from having some libraries compiled
using g++ version 3. If this might be the problem how can I go about
finding which libraries have been compiled in such a way?
If this isn't the problem, anyone got any suggestions?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.