Opened 9 years ago

Closed 6 years ago

#45875 closed defect (invalid)

mysql56: install package-config `pc` file

Reported by: cdeil (Christoph Deil) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql56

Description

I'm trying to build some software that uses package-config to find the mysql.h header.

Would it be possible to install a .pc file so that this works?

$ find /opt/local -name '*mysql*pc'
// nothing found
$ find /opt/local -name '*fftw*pc'
// the .pc file is here for many other libraries from Macports
/opt/local/lib/pkgconfig/fftw3.pc
/opt/local/lib/pkgconfig/fftw3f.pc

Change History (4)

comment:1 Changed 9 years ago by cdeil (Christoph Deil)

Oops ... actually it was using mysql_config, so I just had to do this:

export PATH="$PATH:/opt/local/lib/mysql56/bin/"

Could be useful to print this info about /opt/local/lib/mysql56/bin to the console when MySQL is installed?

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

I'm not sure that would be useful. Users are expected to use port contents to discover where files are installed.

comment:3 Changed 9 years ago by cdeil (Christoph Deil)

OK ... sorry for the noise ... close this ticket?

comment:4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

I'm going to close this since it's not up to us to create pkg-config files for programs; it's up to the developers of those programs to do so. Apparently MySQL has pkg-config files as of version 5.7.9.

Note: See TracTickets for help on using tickets.