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

Peter Pentchev <[email protected]> Fri, 23 Sep 2011 16:20:43 +0300
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
--===============0671523604716314902==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY"
Content-Disposition: inline


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 22, 2011 at 09:14:33AM +0200, JL Marcos wrote:
> Hello *
>=20
> as I think I posted this message on the wrong mailing list (previously on
> prelude-user), here is my question again... Sorry for the cross post.
>=20
> I'm trying to build libprelude (and then prelude-lml) on a HP-UX 11.23
> target.
>=20
> I'm hitting the 'libgnutls-config not found' problem.
>=20
> 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)
>=20
> I'm trying to compile v1.0.0 of both libprelude and prelude-lml packages.
>=20
> When I try to ./configure libprelude, I hit the missing libgnutls-config
> script problem. The config.log exerpt is:
>=20
> ---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<---
>=20
> I've tried to configure libprelude with:
>=20
> 1/ SHLIB_PATH=3D/usr/local/lib ./configure --> did not worked
> 2/ ./configure LIBGNUTLS_LIBS=3D"-lgnutls -L /usr/local/lib"

For what it's worth, those should be in the reverse order - the -L path
specification should come *before* the corresponding -l library spec so
that the linker knows to look in that path "in time" :)

Not sure if that will actually help, just throwing out an idea.

> 3/ ./configure LIBS=3D"
> But it did not help...
>=20
> Any hints really apreciated!

G'luck,
Peter

--=20
Peter Pentchev	[email protected] [email protected] [email protected]
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This inert sentence is my body, but my soul is alive, dancing in the sparks=
 of your brain.

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOfIemAAoJEGUe77AlJ98Tv7gQAKg6mib7yLBP5dvHmOBBEfYx
+RkojMcvCUC+L/Kcj4LqE7DKMOUWa+lwYbVfKLcI+kgLYPmdugREn4rAQBRL5+lz
CXiEcU0ejofISXR0+Akute30q9rv1fEMdtILGItg/+4Ysjqx2KqiHhgZlcRF/G6e
Yu+3/YnNY+zpTD6Umi9fSN2VvxGkqwA/H3NVCbdJiYKqutwi9a5FonDCXmrQXeNx
wLGsf5bmkfD0Ok3l6g7Z12QT21OtDcytLtPH5pK/mXfH8DVs9wmR70CSksBShUc/
WRhTjob05fkGdX6acomvgrGn9lODzpuOffImCJwLTwlSpOTNKPXeUhu61nO8vDjn
72ka/boZoiFXk7rbrYEZI5U5/IHYqTINzb9nVvYl1M6jARuTYIqHdQ8nMn6Mrw5I
v3QSIDOkytWZ3QMspgTsuepfws6gf9T0eb1luoNcfFGYejpu8iU+rWHiC+0Nkzal
3Yf4w/mDPdtYg9L353xdCvU8h2eUUPIiTmur6qPmTQpmhcTiDOwRIUVVXaRt+4hS
fntklcvEzEV6ZAvev8lniXUG77yEzmn3FmcFMzNIdjtei0EnemffyP36gh1cMHSw
davO44u9zXfXp9BSIe+lahN/d04WdEubcSAkDzxvDnFktvnPuZvsxOyztQacIwpg
ITH2d3mLurbYOqzXvnfM
=5qCM
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

--===============0671523604716314902==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Prelude-devel site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-devel
--===============0671523604716314902==--