Trying to build libprelude on HP-UX 11.23 computer... Fails on gnutls

JL Marcos <[email protected]> Wed, 21 Sep 2011 17:35:39 +0200
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <CANrT+XH5rFzqMab+A_z6o8WfgeoyFycBh_AYSFoMPZjp1wnCzw@mail.gmail.com>
Hi,

I'm trying to build libprelude (and then prelude-lml) on a HP-UX 11.23
target.

I'm hitting the 'libgnutls-config not found' problem.

On the HPUX machine, the compilation environment is (everything available
under /usr/local) :
- gcc v4.2.3
- gnutls 3.0.2 (both static and dynamic libs in /usr/local/lib)

I'm trying to compile v1.0.0 of both libprelude and prelude-lml packages.

When I try to ./configure libprelude, I hit the missing libgnutls-config
script problem. The config.log exerpt is:

---8<---
...
configure:20977: checking for LIBGNUTLS
configure:21329: checking for libgnutls-config
configure:21360: result: /usr/local/bin/libgnutls-config
configure:21369: checking for libgnutls - version >=3D 1.0.17
configure:21456: gcc -std=3Dgnu99 -o conftest -g -O2    conftest.c >&5
/usr/cc/bin/ld: Unsatisfied symbols:
   gnutls_check_version (first referenced in /var/tmp//ccmex8FG.o) (code)
collect2: ld returned 1 exit status
---8<---

I've tried to configure libprelude with:

1/ SHLIB_PATH=3D/usr/local/lib ./configure --> did not worked
2/ ./configure LIBGNUTLS_LIBS=3D"-lgnutls -L /usr/local/lib"
3/ ./configure LIBS=3D"
But it did not help...

Any hints really apreciated!

Cheers,
Jos=E9 L.
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user