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

 
 

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

Submitted by:  Jan Engelhardt <hirogen2>
Submitted on:  Sun 07 Jan 2007 01:06:10 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by gmorin (Posted a comment)
  • -unavailable- added by hirogen2 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Jan 2008 11:04:15 PM UTCNoneAttached File-=>Added patch, #14765

    Back to the top


    Powered by Savane 3.1-cleanup1