bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] pkg-config, openssl


From: Tim Ruehsen
Subject: Re: [Bug-wget] pkg-config, openssl
Date: Tue, 07 Jun 2016 09:52:28 +0200
User-agent: KMail/4.14.10 (Linux/4.5.0-2-amd64; KDE/4.14.20; x86_64; ; )

Hi Michael,

> Unknown option: utf8
> make: 1254-004 The error code from the last command is 1.

This should be solved by commit 302aa79abb17a2b621e2191723e5e2cf3ebc5dbb from 
May 27. (Did you pull in the latest changes ?)

####
Author: Tim Rühsen <address@hidden>
Date:   Fri May 27 16:44:50 2016 +0200

    Fallback to pod2man without utf-8 on error
    
    * doc/Makefile.am: Fallback to pod2man without utf-8 on error
####

> "/usr/include/sys/mman.h", line 115.9: 1506-236 (W) Macro name
> MAP_FAILED has been redefined.
> "/usr/include/sys/mman.h", line 115.9: 1506-358 (I) "MAP_FAILED" is
> defined on line 156 of ../../src/wget-1.17.1/src/sysdep.h.

This is just a warning, but I'll push a fix soon.

> "../../src/wget-1.17.1/src/html-url.c", line 632.16: 1506-068 (W)
> Operation between types "char*" and "int" is not allowed.
> "../../src/wget-1.17.1/src/http.c", line 3437.19: 1506-068 (W) Operation
> between types "char*" and "int" is not allowed.

Also just warnings. These come if you have IRI support disabled. This happens 
(if not requested manually) when libiconv and/or libidn are missing.
You should get IRI working - in the future, wget might not be compilable 
without international URL support.

Tim

On Tuesday 07 June 2016 00:21:03 Michael Felt wrote:
> Hello Giuseppe,
> 
> Many thanks for your work and attention re: wget.
> 
> As you asked for "issues", I have one re: the hardness of wget relying
> on pkg-config with regard to openssl. I have openssl installed, and I
> even installed on older version of pkg-config to pass-by other tests.
> But for AIX - pkg-config is not ever going to be reliable.
> 
> Using ./configure --with-ssl=openssl I end with:
> 
> configure: error: Package requirements (openssl) were not met:
> 
> No package 'openssl' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables OPENSSL_CFLAGS
> and OPENSSL_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> buildaix: ${CONFIGURE} ... returned an error
> 
> + grep configure: config.log
> + tail
> configure:37284: $? = 0
> configure:37293: result: yes
> configure:37376: checking for OPENSSL
> configure:37383: $PKG_CONFIG --exists --print-errors "openssl"
> configure:37386: $? = 1
> configure:37400: $PKG_CONFIG --exists --print-errors "openssl"
> configure:37403: $? = 1
> configure:37417: result: no
> configure:37433: error: Package requirements (openssl) were not met:
> configure: exit 1
> 
> Fortunately, this seems to be working:
> xlc is /usr/vacpp/bin/xlc
>          ../src/wget-1.17.1/configure\
>                  --prefix=/opt \
>                  --sysconfdir=/var/wget/etc\
>                  --sharedstatedir=/var/wget/com\
>                  --localstatedir=/var/wget\
>                  --mandir=/usr/share/man\
>                  --infodir=/opt/share/info/wget --with-ssl=openssl
> --with-libssl-prefix=/usr
> 
> But it takes me three tries to get it right (first GNUTLS fails, :) )
> 
> So, nothing major, but pkg-config is not a guarantee for anything - and,
> imho, installing it only disturbs my "generic" platform (i.e., I
> reinstall AIX for each package to remove what becomes an unexpected
> dependency).
> 
> Later - make fails with:
> (stderr only)
> + make > .buildaix/make.out
> "../../src/wget-1.17.1/src/html-url.c", line 632.16: 1506-068 (W)
> Operation between types "char*" and "int" is not allowed.
> "../../src/wget-1.17.1/src/http.c", line 3437.19: 1506-068 (W) Operation
> between types "char*" and "int" is not allowed.
> "/usr/include/sys/mman.h", line 115.9: 1506-236 (W) Macro name
> MAP_FAILED has been redefined.
> "/usr/include/sys/mman.h", line 115.9: 1506-358 (I) "MAP_FAILED" is
> defined on line 156 of ../../src/wget-1.17.1/src/sysdep.h.
> Unknown option: utf8
> make: 1254-004 The error code from the last command is 1.
> 
> In closing - wget-1.16.3 I have packaged successfully - was requested to
> package wget-1.17.1 - but not working yet. Maybe there is an additional
> dependency that configure is not looking for (e.g., libiconv.so.X)
> 
> I do not expect you to know AIX and the AIX Toolbox - but I have none of
> the RPMs from AIX Toolbox installed as that requires supporting 2
> run-time environments in parallel (GNU and POSIX). I consider it too
> hard to do both well.
> 
> address@hidden:[/data/prj/gnu/wget-1.17.1]rpm -qa
> AIX-rpm-5.3.7.0-1

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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