[ libetpan-Bugs-1675390 ] --with-openssl=DIR make fails, patch for configure.in
"SourceForge.net" <[email protected]> Tue, 03 Apr 2007 11:29:56 -0700
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1675390, was opened at 2007-03-07 01:31
Message generated for change (Comment added) 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: Open
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 18: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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV