From owner-freebsd-pkg@FreeBSD.ORG Wed May 14 02:36:17 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38F36BD2 for ; Wed, 14 May 2014 02:36:17 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF1272A54 for ; Wed, 14 May 2014 02:36:16 +0000 (UTC) Received: from seedling.local (CPE74ea3aa160af-CM78cd8ec60c2d.cpe.net.cable.rogers.com [99.241.210.3]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s4E2ZNkY098025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 14 May 2014 03:35:43 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4E2ZNkY098025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1400034948; bh=dFnmoct4e0Hq5E/Xbv0Xm53evPYV9wA7J/o9sGOdICk=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2013=20May=202014=2022:35:10=20-0400|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20Mysql=20server=20dependency|References: =20=20<5371EB62.9090805@FreeBSD.org>=20|In-Reply-To:=20; b=inj+Od890OGUd94m6Un9DsZkDLLQNxJIKPApesRpBn6t/RWpFUG36AmgyTOjkYV7J +NcREnvIukdxCad+pJM5eXp1tMjpchjbkiTvM19Mrq5/SAztTWLuUkX8dPbuk4iGR4 IRLoWSG+OhFhJIdPl3ac2pLqqOMh4MZzlwymasZ4= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host CPE74ea3aa160af-CM78cd8ec60c2d.cpe.net.cable.rogers.com [99.241.210.3] claimed to be seedling.local Message-ID: <5372D65E.4050108@infracaninophile.co.uk> Date: Tue, 13 May 2014 22:35:10 -0400 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Mysql server dependency References: <5371EB62.9090805@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pbjm9Bj8KKlVR6m0axVwu0TXUIeAw36El" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_PBL,RCVD_IN_RP_RNBL,RDNS_DYNAMIC,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 02:36:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pbjm9Bj8KKlVR6m0axVwu0TXUIeAw36El Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/05/2014 08:36, Hamza Abdelkebir wrote: > I made the changes you recommended but it does not seem to work. > Mysql56-server dependency is not in the produced package. Hmmm... one thing that strikes me. You have: USE_MYSQL=3D server Are you sure about that? Most web apps will want: USE_MYSQL=3D yes which pulls in mysql-client including libmysqlclient.so.X -- that is, your application needs the ability to log into the database and do queries, rather than needing just the mysql daemon installed. Not sure why there's nothing about MySQL in your pkg -- given that it's definitely looking for mysqld at build time: > =3D=3D=3D> appname-version depends on file: /usr/local/libexec/mysqld= - found Is mysql only in there as a BUILD_DEPENDS ? That would explain the absence from the package, as pkg only deals in RUN_DEPENDS. Try running make -C /path/to/your/appname/port -V BUILD_DEPENDS make -C /path/to/your/appname/port -V RUN_DEPENDS and compare the output of those two, MySQL-ish things will need to appear in the second one before you can see them in the pkg dependencies.= Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --pbjm9Bj8KKlVR6m0axVwu0TXUIeAw36El Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTctZoXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATQTIP/jUUi5Uo/rC1InTadlXQungf wiUakmnRJLhylGD9iREBOUB328VghXj9fcXGAp/CUmGWNARoNzEcnP9e2sH0yfaF nqkcSkI/O1UZ0PfpAQBfrDaSXvgLCW+/6sUMtF5GeyMmX1ZYMhlmjRt6g+NggTZs x8JuLiIfiqO2IJY4k+3eJfqQXrSGX6d1hEEZRfUKYClYCKMg9KJNWEoy6gfDfMUP 3L/rWSbc5WfsP+mJstUIxNK64OvxfAbyzf8F4w4THXOkmoSLa8Nlu8sMylki/E4A kecrhFNryxfxueNFB8IAM6E9USHklFEmm2GvJ96FqTZ4/rHAOIYCaQ6NtTm9jGWe PBQpiF52Pdeupk6eipbC606GfJShCc3toevmPUm+UQs7um2mo1jcDTvdLYixXFTZ 7h4pu2wbqsZOhNtCEvPnx0ySvaHguLTmORMaN5i9AcEuBnwKthKJznONrHeO3yi6 E1stePWcuyKihqc6mllgLnKOB+O+ZRDn0i5w7vDp/O+djazDy1juJvisb+JcvgD6 QgO4NWhiwY55fmIOq/GXkzb6aDiEiYLPt395Yln0M3Bv2ENfD7INd2NLnv1v/8g+ FtN2Osnfk2ZIqu1tKM8ei3dcZ7PvzrtVpVniNwjxqA/tRlB5WERljizVgpa3dytD RWzA8wrBY6sL3zkegVUi =+aJY -----END PGP SIGNATURE----- --pbjm9Bj8KKlVR6m0axVwu0TXUIeAw36El--