Hello Thomas,

Thank you for your help with my previous issue.  I was able to get past the 
mysql_config error by adding to the PATH variable as you suggested.  After 
that, I had problems with the configure script looking for "mysql/mysql.h".  I 
overcame this by adding a symbolic link from /usr/include/mysql to where my 
LAMPP package has mysql.h.  Configure now completes successfully.  Here is the 
mysql portion:
checking for mysql_config... mysql_config
checking for MySQL version... 5
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for mysql/mysql.h... (cached) yes

When I run the "make rpm", it again has a problem finding mysql/mysql.h:

make[1]: Leaving directory `/opt/tarfiles/robinhood-2.5.5'
mkdir -p `pwd`/rpms/BUILD `pwd`/rpms/SPECS `pwd`/rpms/SRPMS `pwd`/rpms/RPMS
rpmbuild --with lustre --define="lversion 2.4" --define="lpackage 
lustre-client-modules"  --with mysql     --define="_topdir `pwd`/rpms" 
--define="_prefix /opt" \
                --define="dbversion `mysql_config --version | cut -d "." -f 
1-2`" --define="purpose tmp_fs_mgr" \
        --define="_sysconfdir /opt/etc" \
                --define="_prefix /opt" -tb robinhood-2.5.5.tar.gz
error: Failed build dependencies:
        /usr/include/mysql/mysql.h is needed by 
robinhood-2.5.5-2.lustre2.4.x86_64
make: *** [rpm] Error 1

However, the path is valid, even though it is using a symbolic link:
# ls -l /usr/include/mysql/mysql.h
-rw-r--r-- 1 root root 29058 May  5 07:05 /usr/include/mysql/mysql.h

I've tried adding /usr/include to my PATH, hoping it was the answer again, but 
that did not work.

Thank you again for your time.

-dma

From: LEIBOVICI Thomas [mailto:[email protected]]
Sent: Wednesday, September 09, 2015 3:15 AM
To: Annal, David M; [email protected]
Subject: Re: [robinhood-support] robinhood alternate mysql/mysql_config?

Hi,

mysql_config must be in your PATH environment variable when you run configure.

Regards
Thomas


On 09/08/15 17:53, Annal, David M wrote:
Hello,

I'm working on installing robinhood on a SLES11 SP2 server and the configure 
errors out when checking for mysql.  While I do have some mysql rpm's installed 
and will be installing the missing RPM's, I am using a LAMPP package for mysql 
and would like to point the configure script to the location of those binaries. 
 Is this possible?

checking for mysql_config... no
configure: error: MySQL must be installed

Thank you,
-dma

David M. Annal
Principal Engineer
IS - Engineering Computing Systems
Westinghouse Electric Company
1000 Westinghouse Drive
Building 1 - 324F
Cranberry Township, PA 16066  USA
Phone:  +1 (412) 374-4149
Fax:  +1 (724) 940-8566
Email:  [email protected]<mailto:[email protected]>
Home Page: www.westinghousenuclear.com<http://www.westinghousenuclear.com/>



________________________________
This e-mail may contain proprietary information of the sending organization. 
Any unauthorized or improper disclosure, copying, distribution, or use of the 
contents of this e-mail and attached document(s) is prohibited. The information 
contained in this e-mail and attached document(s) is intended only for the 
personal and private use of the recipient(s) named above. If you have received 
this communication in error, please notify the sender immediately by email and 
delete the original e-mail and attached document(s).




------------------------------------------------------------------------------

Monitor Your Dynamic Infrastructure at Any Scale With Datadog!

Get real-time metrics from all of your servers, apps and tools

in one place.

SourceForge users - Click here to start your Free Trial of Datadog now!

http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140<http://cp.mcafee.com/d/2DRPoscyhJ5xx4sYCqerICXCQrK6zBZNxxV4SztMQsLKcfFLCQrK6zBZNxxVcSzsQsL3xOrOrVLogQZ1k56fFek29eHtfVsSo-AVg8AWJQ_BPrUWO3LLLZvAmnQT3hOyzRXBQXzHYCe7fILELsJt6OaaGdQ-l3PWApmU6CQjr9K_cEI8LILcnvdTdw0RCO6EkUzO5mO1_SfBoHMdMy4dgONVkB90Vdx4QsTjd79EVhq208AStz2b5PsOtltFN_O8lcOJ85m_utyrhhd7bVEVdwLQzh0qmUR8iwjHl0LhJpqIpCBQQghGgB0DmG1EwQ-vNxI_d42FqwIvyFqwIuaSH1Sh4ArspdIRTToejL>




_______________________________________________

robinhood-support mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/robinhood-support<http://cp.mcafee.com/d/2DRPos739J5xx4sYCqerICXCQrK6zBZNxxV4SztMQsLKcfFLCQrK6zBZNxxVcSzsQsL3xOrOrVLogQZ1k56fFek29eHtfVsSo-AVg8AWJQ_BPrUWO3LLLZvAmnQT3hOyzRXBQXzHYCe7fILELsJt6OaaGdQ-l3PWApmU6CQPr9K_cEI8LILcnvdTdAVPmEBC7OFeDkGT6TKw0vU6UvaAWovaAVgtHAqA9g9RGwnESIJmcPsOtltFN_O8lcOJ85m_utyrhhd7bVEVdwLQzh0qmUR8iwjHl0LhJpqIpCBQQghGgB0DmG1EwQ-vNxI_d42FqwIvyFqwIuaSH1Sh4ArspdIO1B>


________________________________
This e-mail may contain proprietary information of the sending organization. 
Any unauthorized or improper disclosure, copying, distribution, or use of the 
contents of this e-mail and attached document(s) is prohibited. The information 
contained in this e-mail and attached document(s) is intended only for the 
personal and private use of the recipient(s) named above. If you have received 
this communication in error, please notify the sender immediately by email and 
delete the original e-mail and attached document(s).
------------------------------------------------------------------------------
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to