How to get the configure command

Ryan Schmidt ryandesign at macports.org
Thu Sep 2 08:43:14 PDT 2010


On Sep 2, 2010, at 10:32, Scott Haneda wrote:

> That is interesting, how would I, were I to make this variant for the port, know the value to put for --with-dlz-mysql?
> 
> If I go to the driver page for DLZ http://bind-dlz.sourceforge.net/mysql_driver.html
> I see this mention:
> 
>    The configure script will search in the normal locations for the 
>    MySQL headers and libraries. You can specify the appropriate 
>    directory if it is not found by appending a path to the MySQL 
>    configure option. For example: --with-dlz-mysql=/path/to/files
> 
>    To find out where your mysql headers and libraries are you can run 
>    the mysql_config command. "mysql_config --cflags" will return the 
>    path to the MySQL header files, and "mysql_config --libs" will return 
>    the path to the MySQL library files.
> 
> That leads me to believe that I am looking to put in the returned output from the mysql_config(5) command, not the path to the actual file.  Is that perhaps bad/misleading instructions on the part of the driver docs?  It even says it will search a path, but to me, it seems like it is calling the command, and searching the paths in the results of that command, which is entirely different from the statement in the docs.

I agree, they should improve their documentation.




More information about the macports-users mailing list