Date: Tue, 8 Aug 2006 12:00:03 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101647: MySQL 50 server/client uncompilable with OpenSSL Message-ID: <200608081000.k78A03Go021019@kulesh.obluda.cz> Resent-Message-ID: <200608081010.k78AAGIo057257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101647 >Category: ports >Synopsis: MySQL 50 server/client uncompilable with OpenSSL >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 08 10:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 6.1-STABLE i386 >Organization: Obludarium >Environment: Latest ports updated via CVSUP >Description: The mysql50-{client|server} is not compilable with WITH_OPENSSL It fail claiming it can't found the OpenSSL. It's bug in Mysql's configure script. For mode information see http://bugs.mysql.com/bug.php?id=21327 Unfortunatelly, until repaired by MySQL team, it can't be compiled with some combination of OPTIONs. Note, this PR is not related to ports/97933 >How-To-Repeat: make -DWITH_OPENSSL >Fix: Three posibilities: 1. return to an pre-bug version of MySQL 5.0.x 2. patch the configure by our own patch system using the patch presented in MySQL 21327 bug report 3. workaround in port Makefile: replace CONFIGURE_ARGS+=with_openssl=${OPENSSLBASE} with CONFIGURE_ARGS+=with_openssl CONFIGURE_ARGS+=with_openssl_includes=${OPENSSLINC} CONFIGURE_ARGS+=with_openssl_lib=${OPENSSLLIB} I would like to recommend the latest. At the first, it correct the actual problem, at the second, we have our own detection system for OpenSSl headers and libraries (bsd.openssl.mk) so it better to use it instead of an internal configure's logic. Mixing our and internal logic in different ports may result one port (library) compiled and linked against base Openssl and second against port OpenSSL. It may cause undeterministic malfunctions of software which will be hard to debug. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608081000.k78A03Go021019>