[ libetpan-Bugs-1675390 ] --with-openssl=DIR make fails, patch for configure.in
"SourceForge.net" <[email protected]> Wed, 25 Jul 2007 09:40:01 -0700
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1675390, was opened at 2007-03-07 02:31
Message generated for change (Settings changed) made by hoa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=1675390&group_id=41064
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Configuration
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: --with-openssl=DIR make fails, patch for configure.in
Initial Comment:
When doing ./configure --with-openssl=/dir where /dir is some valid directory that contains lib/libssl.so file the configure is successful, but the LDFLAGS does not have -L/dir/lib in src/Makefile ...
The following shell script patches the configure.in of libetpan version 0.49 so that you can use the --with-openssl=/dir and make OK:
#!/bin/bash
patch configure.in << EOF
93a93
> TKKLIBS=""
99a100
> TKKLIBS="-L\$with_openssl/lib"
116c117,119
< SSLLIBS="-lssl \$SSLLIBS"
---
> SSLLIBS="-lssl \$SSLLIBS \$TKKLIBS"
> AC_MSG_NOTICE("OpenSSL LDFLAGS is \$LDFLAGS")
> AC_MSG_NOTICE("OpenSSL SSLLIBS is \$SSLLIBS")
EOF
----------------------------------------------------------------------
Comment By: DINH V. Hoa (hoa)
Date: 2007-04-03 20:29
Message:
Logged In: YES
user_id=201468
Originator: NO
I don't understand why it does not work.
LDFLAGS should be properly set.
If you send a diff, could you use unified diff (-u) ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=429696&aid=1675390&group_id=41064
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/