Mysql server dependency

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed May 14 02:36:17 UTC 2014


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=     server

Are you sure about that?  Most web apps will want:

USE_MYSQL=	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:

> ===>   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
-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20140513/3dbe1ad5/attachment.sig>


More information about the freebsd-pkg mailing list