Subject: Re: mysql-client does not build on solaris 8: openssl
To: grant beattie <grant@NetBSD.org>
From: Pierre Bourgin <pierre.bourgin@pcotech.fr>
List: tech-pkg
Date: 07/05/2005 11:51:31
grant beattie a écrit :
> On Mon, Jul 04, 2005 at 08:36:31AM +0200, Pierre Bourgin wrote:
> 
> 
>>hello,
>>
>>I'm unable to build database/mysql-client on solaris 8 (pkgsrc 2005Q2 as of 
>>20050626).
>>
>>the configure script of mysql-client does not find the openssl libs and 
>>includes.
>>
>>As a quick workaround, I made the following changes (sorry for the 
>>hardcoded path !):
>>
>>% cd database/mysql-client/
>>
>>% grep "NetBSD:" Makefile.common.orig
>># $NetBSD: Makefile.common,v 1.43 2005/05/22 20:07:46 jlam Exp $
>>
>>% diff Makefile.common.orig Makefile.common
>>51c51
>>< CONFIGURE_ARGS+=        --with-openssl
>>---
>>
>>>CONFIGURE_ARGS+=        --with-openssl=/usr/pkg
>>
>>
>>should I fill a PR with this or someone can fix it "directly" ?
> 
> 
> I have just fixed this, thanks!

hello,

and thanks for the fix. could you explain how you fixed it ? with the 
following line in Makefile.common ?

   CONFIGURE_ARGS+=        --with-openssl=${SSLBASE}

I'm curious about it, since SSLBASE does not contain anything in my env, as 
reported by the following commands:

   % cd mysql-client
   % bmake show-var VARNAME=SSLBASE

   % bmake show-var VARNAME=LOCALBASE
   /usr/pkg

So I've got trouble in my env  (solaris 8/sparc) ?

thanks for your comments.

Regards,
Pierre Bourgin