bugNSS MySQL - Bugs: bug #18717, configure breaks on x86_64:...

 
 

bug #18717: configure breaks on x86_64: acinclude.m4 at fault

Submitter:  Jan Engelhardt <hirogen2>
Submitted:  Sun 07 Jan 2007 01:06:10 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Mar 2011 06:49:16 PM UTC, comment #2: 

I'll probably release a new .tar.gz soon so this will work out of the box on x86_64

Guillaume Morin <gmorin>
Group administrator
Mon 07 Jan 2008 11:05:33 PM UTC, comment #1: 

the patch I just posted (Rudd-O at Rudd-O dot com) may seem silly, but it's the only solution I could find in a short timeframe that would let it compile and build properly on x86_64 and I'm using it now.

sorry about the lameness!

Anonymous
Sun 07 Jan 2007 01:06:10 AM UTC, original submission:  

Note this line in acinclude.m4 in nss-mysql-1.0:

        MYSQL_LIB=${MYSQL_HOME}/lib/mysql                                      

This assumption is wrong, because for x86_64, mysql is in /usr/lib64 for example. It seems unfortunate, but the only way I see is to use

  MYSQL_LIB=`mysql_config --libs | grep -Eo '(^|[[:space:]])-L[^[:space:]]+'`

or

  MYSQL_LIB=`mysql_config --libs | grep -Po '(^|\s+)-L\S+'`

Jan Engelhardt <hirogen2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #14765:  patch added by None (31KiB - text/x-diff - Suggested patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gmorin (Posted a comment)
  • -email is unavailable- added by hirogen2 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-07 None Attached File- Added patch, #14765

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code