From owner-freebsd-ports@FreeBSD.ORG Fri Jul 3 19:56:49 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B8721065674 for ; Fri, 3 Jul 2009 19:56:49 +0000 (UTC) (envelope-from prvs=428fb22a8=pschmehl_lists@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7768FC17 for ; Fri, 3 Jul 2009 19:56:49 +0000 (UTC) (envelope-from prvs=428fb22a8=pschmehl_lists@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.42,344,1243832400"; d="scan'208";a="14442090" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 03 Jul 2009 14:56:48 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 7CB904EF43; Fri, 3 Jul 2009 14:56:48 -0500 (CDT) Date: Fri, 03 Jul 2009 19:56:48 +0000 From: Paul Schmehl To: Alex Goncharov Message-ID: <91D041090FA2939A0942293F@utd65257.utdallas.edu> In-Reply-To: References: <23B9298D1A02526B4646B131@utd65257.utdallas.edu> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-ports@freebsd.org Subject: Re: Question about a failure report X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 19:56:49 -0000 --On Friday, July 03, 2009 14:16:05 -0500 Alex Goncharov wrote: > > ,--- You/Paul (Fri, 03 Jul 2009 18:18:02 +0000) ----* >| I just got a failure report for one of my ports: >| security/barnyard-squil. That port is a slave port to >| security/barnyard. >| >| ********************************************** >| ERROR: unable to find mysql headers (mysql.h) >| checked in the following places >| /mysql.h >| ********************************************** >| >| How do I fix this since I'm using the builtin macro? > > If you don't want to use MySQL, run `make config' in > `security/barnyard', and uncheck MySQL. > > But if you want to use MySQL (which is more likely), add > MySQL to barnyard-sguil's BUILD_DEPENDS and RUN_DEPENDS. > I can't do that, because the port can be built to support either mysql or postgresql, so both are OPTIONS. Mysql is selected by default, and postgresql is not, but that's up to the port builder. Since mysql is preselected, the port *should* install mysql if it's not installed. For some reason, The error report is coming from here: The Restless Daemon identified a makefile error while trying to build: barnyard-sguil-0.2.0_5 maintained by pauls@utdallas.edu Makefile ident: $FreeBSD: ports/security/barnyard-sguil/Makefile,v 1.4 2008/05/09 21:33:40 itetcu Exp $ Since it's a tinderbox, does it ignore OPTIONS and not install dependent ports? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply.