Home > Archive > PHP Installation > November 2005 > Re: [PHP-INSTALL] more sablatron / php 4.4.1 compile problems
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-INSTALL] more sablatron / php 4.4.1 compile problems
|
|
| kristina clair 2005-11-10, 6:57 pm |
| On 11/10/05, Stuart Herbert <stuart@gentoo.org> wrote:
> Hi,
>
> On Thu, 2005-11-10 at 12:19 -0800, kristina clair wrote:
>
> You are missing the 'ltdl' library from your system. On a Gentoo
> system, this is installed by the libtool package.
Thanks - installing libtool got past the configure step.
Now, there are problems compiling with Sablot. Are there any specific
options that sablotron needs to be compiled with in order for it to
work with php?
I encounter the following errors with "make", and I also see them in
the config.log:
configure:95405: checking for SablotGetOptions in -lsablot
configure:95424: gcc -o conftest -g -O2 -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql
conftest.c -lsablot -lexpat -lcrypt -lmysqlclient -lmcrypt -lltdl
-lcurl -lz -lresolv -lm -ldl -lnsl -lssl -lcrypto -lgssapi_krb5
-lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lcurl -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl
-lcrypto -lz -lcrypt 1>&5
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_SetPrototype'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_PropertyStub'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_GC'
.... [this actually goes on and on with "undefined reference" errors until] =
.....
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libsablot.so: undefined
reference to `JS_Enumerate'
collect2: ld returned 1 exit status
configure: failed program was:
#line 95413 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char SablotGetOptions();
int main() {
SablotGetOptions()
; return 0; }
Thanks for any thoughts,
Kristina
| |
| Stuart Herbert 2005-11-10, 6:57 pm |
| On Thu, 2005-11-10 at 14:48 -0800, kristina clair wrote:
> Thanks - installing libtool got past the configure step.
:)
> Now, there are problems compiling with Sablot. Are there any specific
> options that sablotron needs to be compiled with in order for it to
> work with php?
[snip]
It looks like the Sablotron package you have is missing one or more
dependencies. Check the documentation that accompanied the Sablotron
RPM, to see if there are any additional RPMs that you need installed.
Alternatively (he says, somewhat tongue in ch ), you could switch from
Fedora to an alternative distribution which doesn't suffer from package
dependency problems, like Gentoo ;-)
Best regards,
Stu
--
Stuart Herbert stuart@gentoo.org
Gentoo Developer http://www.gentoo.org/
http://stu.gnqs.org/diary/
GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
--
|
|
|
|
|