Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2004 12:04:35 +0200
From:      William Fletcher <ultraviolet@turandot.net>
To:        Dirk Meyer <dirk.meyer@dinoex.sub.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: OpenSSL inside jails.
Message-ID:  <20041209100435.GR69179@omina.co.za>
In-Reply-To: <b4CzHaxzqm@dmeyer.dinoex.sub.org>
References:  <bthxEKxzqm@dmeyer.dinoex.sub.org> <20041206163545.GC51179@omina.co.za> <bthxEKxzqm@dmeyer.dinoex.sub.org> <20041208091953.GJ69179@omina.co.za> <b4CzHaxzqm@dmeyer.dinoex.sub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Hi,

The compile goes... Perfectly, Until it get to where it previously looked f=
or
-lssl, now it is missing a lot of header files.

cc -O -pipe -mcpu=3Dpentiumpro -mcpu=3Dpentiumpro  -I/usr/ports/sysutils/pk=
g_install
-devel/work/pkg_install-20040811/sign/../lib  -c x509.c
x509.c:40:25: openssl/rsa.h: No such file or directory
x509.c:41:25: openssl/evp.h: No such file or directory
x509.c:42:29: openssl/objects.h: No such file or directory
x509.c:43:26: openssl/x509.h: No such file or directory
x509.c:44:25: openssl/err.h: No such file or directory
x509.c:45:25: openssl/pem.h: No such file or directory
x509.c:46:25: openssl/ssl.h: No such file or directory
x509.c:70: error: syntax error before "STACK_OF"
=2E.. And a lot more errors.

Inside the jail I'm trying to install in...
# ldd /usr/lib/libfetch.so.3
/usr/lib/libfetch.so.3:
#

Opening a send-pr for php4-openssl.

Thank you very much for your time.

On Thu, Dec 09, 2004 at 05:51:42AM +0100, Dirk Meyer wrote:
> Hallo William Fletcher,
>=20
> > I already tried the WITH_OPENSSL_PORT=3D3D"YES".
> >=20
> > Come to think of it, the pkg_install-devel just won't work against Open=
SSL,
> > even with the WITH_OPENSSL_PORT=3D3D"YES". I even tried looking in port=
s/Mk t=3D
> > o=3D20
> > see if I could figure out, it does not appear to be "honoring" the CFLA=
GS\L=3D
> > DFLAGS.=3D20
>=20
> It does...
> Please try this patch:
>=20
> diff -u /usr/ports/sysutils/pkg_install-devel/Makefile ./Makefile
> --- /usr/ports/sysutils/pkg_install-devel/Makefile	Tue Aug 17 07:29:10 20=
04
> +++ ./Makefile	Thu Dec  9 05:44:24 2004
> @@ -36,6 +36,7 @@
>  USE_OPENSSL=3D		yes
>  MAN1+=3D			pkg_check.1 pkg_sign.1
>  PLIST_SUB+=3D		OPENSSL=3D""
> +LDFLAGS+=3D		-L${OPENSSLLIB}
>  .else
>  MAKE_ARGS=3D		-DNO_OPENSSL
>  PLIST_SUB+=3D		OPENSSL=3D"@comment "
>=20
> But libfetch might not work without a openssl in base.
> you can check it:
> $ ldd /usr/lib/libfetch.so.3
>=20
> > And Squirrelmail, needs php4-openssl, which I tried the same thing with=
...=3D
> > And that fails.
>=20
> How does it fail?, does Squirrelmail fail in build?
> does php4-openssl fail in build?
>=20
> if php4-openssl fail in build, use "send-pr"
>=20
> kind regards Dirk
>=20
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]

--xe2geHXJg22At20M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBuCMztBfQcwTFxMoRAkcGAJwMlmvdOX3D847Remkv7hnkYibNcQCfZsef
0KZbttBvNh0VWyPmq0ybJBg=
=8gr7
-----END PGP SIGNATURE-----

--xe2geHXJg22At20M--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041209100435.GR69179>