List:MySQL++« Previous MessageNext Message »
From:Michael Harris Date:January 16 2006 10:21pm
Subject:Tweaking the source RPM spec file for x86_64
View as plain text  
In order to build the source RPM under RHEL 4.1 I had to tell
"configure" to look for the MySQL libs under /usr/lib64.

here's a patch against the mysql++-2.0.7-1.src.rpm spec file
that will fix this.  I hope it's of some use to someone.

*** mysql++.spec        2005-11-23 16:59:20.000000000 -0500
---    2006-01-16 17:03:42.000000000 -0500
*** 29,39 ****
--- 29,44 ----
  This is the MySQL++ documentation.  It's a separate RPM just because
  it's so large, and it doesn't change with every release.

  %setup -q
+ %ifarch i386
  ./configure --prefix=/usr --disable-examples
+ %endif
+ %ifarch x86_64
+ ./configure --prefix=/usr --disable-examples
--disable-dependency-tracking --with-mysql-lib=/usr/lib64
+ %endif



Michael Harris
Systems Administrator,
Tweaking the source RPM spec file for x86_64Michael Harris16 Jan
  • Re: Tweaking the source RPM spec file for x86_64Warren Young17 Jan