[Top][All Lists]

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

[Bug-wget] pkg-config, openssl

From: Michael Felt
Subject: [Bug-wget] pkg-config, openssl
Date: Tue, 7 Jun 2016 00:21:03 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

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
                --prefix=/opt \
--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

reply via email to

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