OpenSSL inside jails.

William Fletcher ultraviolet at turandot.net
Thu Dec 9 02:05:06 PST 2004


Hi,

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

cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro  -I/usr/ports/sysutils/pkg_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"
... 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,
> 
> > I already tried the WITH_OPENSSL_PORT=3D"YES".
> > 
> > Come to think of it, the pkg_install-devel just won't work against OpenSSL,
> > even with the WITH_OPENSSL_PORT=3D"YES". I even tried looking in ports/Mk t=
> > o=20
> > see if I could figure out, it does not appear to be "honoring" the CFLAGS\L=
> > DFLAGS.=20
> 
> It does...
> Please try this patch:
> 
> diff -u /usr/ports/sysutils/pkg_install-devel/Makefile ./Makefile
> --- /usr/ports/sysutils/pkg_install-devel/Makefile	Tue Aug 17 07:29:10 2004
> +++ ./Makefile	Thu Dec  9 05:44:24 2004
> @@ -36,6 +36,7 @@
>  USE_OPENSSL=		yes
>  MAN1+=			pkg_check.1 pkg_sign.1
>  PLIST_SUB+=		OPENSSL=""
> +LDFLAGS+=		-L${OPENSSLLIB}
>  .else
>  MAKE_ARGS=		-DNO_OPENSSL
>  PLIST_SUB+=		OPENSSL="@comment "
> 
> But libfetch might not work without a openssl in base.
> you can check it:
> $ ldd /usr/lib/libfetch.so.3
> 
> > And Squirrelmail, needs php4-openssl, which I tried the same thing with...=
> > And that fails.
> 
> How does it fail?, does Squirrelmail fail in build?
> does php4-openssl fail in build?
> 
> if php4-openssl fail in build, use "send-pr"
> 
> kind regards Dirk
> 
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> - [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041209/31f46e80/attachment.bin


More information about the freebsd-ports mailing list