I think what he has to do is something like this:

rpm -ivh
/usr/src/qtp-upgrade/SRPMS/vpopmail-toaster-5.4.13-1.3.2.src.rpm

Then edit /usr/src/redhat/SPECS/vpopmail-toaster.spec and find the line
with "--enable-libdir" on it to specify the path to the MySQL libs on
his system.  I believe that path is going to be /usr if mysql-devel was
installed from RPM (as shown by the output of yum below).

Then save, close and run rpmbuild -bb --with cnt40
/usr/src/redhat/SPECS/vpopmail-toaster.spec to compile the
vpopmail-toaster RPM without that error appearing.

Dairenn Lombard <[EMAIL PROTECTED]> - BroadSpire Systems
Administration Dept.
BroadSpire, Inc. - http://www.broadspire.com/
"Security, Scalability & Automation"


> -----Original Message-----
> From: Eric "Shubes" [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, October 22, 2006 9:52 AM
> To: [email protected]
> Subject: Re: [qmailtoaster] Re: qtp upgrade scripts (fatal errors)
> 
> 
> That's the crux of the matter all right.
> It comes from the rpmbuild command, which is invoked by 
> qtp-build-rpms, and should in this case look like: # rpmbuild 
> --rebuild --with cnt4064 --target=x86_64 \
>       /usr/src/qtp-upgrade/SRPMS/vpopmail-toaster-5.4.13-1.3.2.src.rpm
> 
> Dairenn Lombard wrote:
> > What is throwing this error?
> > 
> >> configure: error: Unable to find your MySQL lib dir, specify
> >> --enable-libdir.
> > 
> > Dairenn Lombard <[EMAIL PROTECTED]> - BroadSpire Systems 
> > Administration Dept. BroadSpire, Inc. - http://www.broadspire.com/
> > "Security, Scalability & Automation"
> > 
> >> -----Original Message-----
> >> From: Harry Zink [mailto:[EMAIL PROTECTED]
> >> Sent: Sunday, October 22, 2006 9:27 AM
> >> To: [email protected]
> >> Subject: Re: [qmailtoaster] Re: qtp upgrade scripts (fatal errors)
> >>
> >>
> >>
> >> On Oct 22, 2006, at 9:14 AM, Eric "Shubes" wrote:
> >>> Check to see which ones are installed, and yum install 
> any missing 
> >>> packages. mysql
> >> mysql.x86_64                             4.1.20-1.RHEL4.1        
> >> installed
> >>
> >>> mysql-bench
> >> mysql-bench.x86_64                       4.1.20-1.RHEL4.1        
> >> installed
> >>
> >>> mysql-devel
> >> mysql-devel.x86_64                       4.1.20-1.RHEL4.1        
> >> installed
> >>
> >>> mysql-server
> >> mysql-server.x86_64                      4.1.20-1.RHEL4.1        
> >> installed
> >>
> >>> php-mysql
> >> php-mysql.x86_64                         4.3.9-3.18              
> >> installed
> >>
> >> Doing a yum list installed shows them all as being properly
> >> installed. In the error it claims to not find the lib dir 
> (weird),  
> >> yet this is on a fully functional toaster box, and mysql 
> works on it.
> >>
> >>> configure: error: Unable to find your MySQL lib dir, specify
> >>> --enable-libdir.
> >> What can I do?
> >>
> >> The mystery deepens.
> >>
> 
> 
> -- 
> -Eric 'shubes'
> 
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to