bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #48634] MAC OS : Building with "--with-ssl=openssl" erro


From: anonymous
Subject: [Bug-wget] [bug #48634] MAC OS : Building with "--with-ssl=openssl" error
Date: Tue, 26 Jul 2016 10:00:49 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0

URL:
  <http://savannah.gnu.org/bugs/?48634>

                 Summary: MAC OS : Building with "--with-ssl=openssl" error
                 Project: GNU Wget
            Submitted by: None
            Submitted on: Tue 26 Jul 2016 10:00:46 AM UTC
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Corentin
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.18
        Operating System: Mac OS
         Reproducibility: Every Time
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: No

    _______________________________________________________

Details:

After configuring wget 1.18 with the command :
./configure --with-ssl=openssl


The make fails with the report :

---

if test -n ""; then cp "./build_info.c.in" .; fi
/usr/bin/perl "../build-aux/build_info.pl" \
            "../src/build_info.c"
if test -n ""; then rm -f build_info.c.in; fi
  CC       build_info.o
echo '/* version.c */' > version.c
echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> version.c
echo '' >> version.c
echo '#include "version.h"' >> version.c
echo 'const char *version_string = "1.18";' >> version.c
echo 'const char *compilation_string = "'gcc -DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I.  -I../lib -I../lib  
-I/usr/local/include  -DHAVE_LIBSSL  -DNDEBUG '";' \
            | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
echo 'const char *link_string = "'gcc  -I/usr/local/include  -DHAVE_LIBSSL 
-DNDEBUG  \
          -liconv  -lssl -lcrypto -lz -lz   ftp-opie.o openssl.o http-ntlm.o
../lib/libgnu.a'";' \
            | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
  CC       version.o
  CC       ftp-opie.o
  CC       openssl.o
openssl.c:40:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
         ^
1 error generated.
make[3]: *** [openssl.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It seems that Apple stop shipping openSSL with their OS ( src :
http://lists.apple.com/archives/macnetworkprog/2015/Jun/msg00025.html )

---

Maybe the configure should be updated.


Relevant information :

* OS X El Capitan 10.11.6
* gcc (probably from xcode's installation)

---

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

---




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48634>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]