bugGNU Wget - Bugs: bug #20321, --with-libssl-prefix=<path>...

 
 

bug #20321: --with-libssl-prefix=<path> ignores its argument

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Tue 03 Jul 2007 06:21:57 AM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed In Repository
Privacy: PublicAssigned to: Micah Cowan <micahcowan>
Originator Name: Jochen RoderburgOpen/Closed: Closed
Release: trunkOperating System: None
Reproducibility: NoneFixed Release: 1.11
Planned Release: 1.11Regression: Yes
Work Required: NonePatch Included: Yes

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 07 Aug 2007 08:04:33 PM UTC, comment #6:

Thanks to Ralf Wildenhues for the fix (using AS_IF macro instead of sh if): http://lists.gnu.org/archive/html/bug-gnulib/2007-08/msg00020.html

(link goes to my message; his isn't in the archives just yet).

Micah Cowan <micahcowan>In charge of this item.
Tue 07 Aug 2007 08:01:28 PM UTC, comment #5:

Merged for 1.11 in r2328.

Micah Cowan <micahcowan>In charge of this item.
Sat 04 Aug 2007 09:31:43 AM UTC, comment #4:

The culprit is somehow the invocation of the macro AC_LIB_HAVE_LINKFLAGS() multiple times, even in exclusive conditional sections.

If one removes the invocation of this macro from the gnutls-testing section, leaving the only invocation as the one in the openssl-testing section, openssl is detected normally. However, even if one replaces the invocation of AC_LIB_HAVE_LINKFLAGS() in the gnutls section with one identical to the way it is used in the openssl section, the one in the openssl section will fail.

I'm not sure how this is happening, but part of the failure is that, in the generated "configure" shell script, $shextlib gets an empty value instead of "so", and the openssl test winds up looking for "/usr/local/lib/libssl." instead of "/usr/local/libssl.so", and of course fails to find it, so it doesn't get added to the library flags to the test-run of gcc for the libssl test program.

Micah Cowan <micahcowan>In charge of this item.
Sat 04 Aug 2007 07:09:14 AM UTC, comment #3:

The patch is code that's already present in configure.in; it's just in an elif now instead of an if.

Micah Cowan <micahcowan>In charge of this item.
Mon 16 Jul 2007 09:19:16 PM UTC, comment #2:

Just waiting for me to have a chance to compare with earlier versions, to see if we missed anything else.

Micah Cowan <micahcowan>In charge of this item.
Fri 13 Jul 2007 05:32:01 PM UTC, comment #1:

It looks like that section of the configure script was removed somehow. Patch attached.

(file #13332)

Joshua David Williams <yurimxpxman>
Tue 03 Jul 2007 06:21:57 AM UTC, original submission:

From: http://www.mail-archive.com/wget@sunsite.dk/msg09302.html

There seems to a configure problem with the options to specify the directories
where the SSL installation resides.

I have the SSL that I want in /usr/local and in wget 1.10.2 the configure option
--with-libssl-prefix=/usr/local worked.

Part of configure output:

checking for libssl... yes
checking how to link with libssl... /usr/local/lib/libssl.so
/usr/local/lib/libcrypto.so -Wl,-rpath
-Wl,/usr/local/lib
configure: compiling in support for SSL

and in the Makefiles I have:

LIBS = -lintl -ldl -lrt /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so
-Wl,-rpath -Wl,/usr/local/lib

With wget-1.11-beta-1 however I get the configure output:

checking how to link with libssl... -lssl -lcrypto
configure: compiling in support for SSL via OpenSSL

and

LIBS = -lintl -ldl -lrt -lssl -lcrypto

Somehow the specified directory /usr/local seems to be ignored ;-)
I have a SSL under /usr from the base system installation, but the current and
correctly configured version that I actually use is in /usr/local.

J.Roderburg

Micah Cowan <micahcowan>In charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #13332:  sslprefix.patch added by yurimxpxman (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yurimxpxman (Updated the item)
  • -unavailable- added by micahcowan (Submitted the item)
  •  

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

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 07 Aug 2007 08:01:28 PM UTCmicahcowanStatusConfirmed=>Fixed In Repository
      Assigned toyurimxpxman=>micahcowan
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.11
    Sat 04 Aug 2007 07:09:14 AM UTCmicahcowanStatusReady For Test=>Confirmed
    Fri 13 Jul 2007 05:44:03 PM UTCyurimxpxmanPatch IncludedNone=>Yes
    Fri 13 Jul 2007 05:32:25 PM UTCyurimxpxmanStatusConfirmed=>Ready For Test
    Fri 13 Jul 2007 05:32:01 PM UTCyurimxpxmanAttached File-=>Added sslprefix.patch, #13332
    Fri 13 Jul 2007 05:06:54 PM UTCyurimxpxmanStatusNone=>Confirmed
    Fri 13 Jul 2007 06:38:21 AM UTCyurimxpxmanAssigned toNone=>yurimxpxman

    Back to the top


    Powered by Savane 3.1-cleanup1