To find a .h file you should use find /usr -name "mysql.h" just in case your
locate doesn't index /usr/include (where .h should
be saved)
after that a --with-mysql should be enough.
as the .configure --help said
--with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
install directory, default is to search through
a number of common places for the MySQL files.
/usr/share is more for doc or language
/usr/lib/mysql or /usr/lib64/mysql would normally be where lib and tools are
recorded.
Hope you will find your way
Ryan Novosielski wrote:
> You probably need the mysql-devel package -- typically if you're missing
> a header file, you need <packagename>-devel package installed.
>
> Reynier Perez Mira wrote:
>> Hi every:
>
>> Alter some headaches with Bacula I decide unistall using apt-get
>> autoremove bacula and then compile all from source. I try this:
>
>>> ./configure ?enable-bwx-console ?enable-tray-monitor
>> ?with-mysql=/usr/share/mysql
>
>> Here appear a problem that I can?t find a way to solve it.
>
>>> configure: error: Invalid MySQL directory /usr/share/mysql/ - unable to
>> find mysql.h under /usr/share/mysql/
>
>> I find this file over the entire computer using this time:
>
>>> locate mysql.h
>> But it doesn?t appear. Can any help me here?
>
>> Cheers and thanks in advance
>
>
>
>
>
>
>> ------------------------------------------------------------------------
>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
>
>> ------------------------------------------------------------------------
>
>> _______________________________________________
>> Bacula-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Bruno Friedmann [EMAIL PROTECTED]
Ioda-Net Sàrl - www.ioda-net.ch
2830 Vellerat - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users