[squid-users] Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611
Alex Rousskov
rousskov at measurement-factory.com
Tue Jun 13 15:38:36 UTC 2017
On 06/13/2017 08:46 AM, Norbert Naveen wrote:
> # grep 'EXT_LIBECAP_.*=' src/adaptation/ecap/Makefile
> EXT_LIBECAP_CFLAGS = /usr/local/lib
> EXT_LIBECAP_LIBS = /usr/local/lib
Strange. These variables are malformed and do not match the contents of
your /usr/local/lib/pkgconfig/libecap.pc file!
What output does the following one-line command produce?
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig /usr/bin/pkg-config
--print-errors --debug "libecap >= 1.0 libecap < 1.1"
> I did the below to no effect
> make -k clean;
> ./configure --enable-ecap
> make > /tmp/build.log 2>&1
FYI: The above is missing parenthesis and captures make output without
capturing ./configure output. I doubt that lost ./configure output would
be useful right now, but please be more careful next time.
Alex.
> -----Original Message-----
> From: Alex Rousskov [mailto:rousskov at measurement-factory.com]
> Sent: Tuesday, June 13, 2017 2:12 AM
> To: norbert.naveen at tayana.in; squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] Error Compiling squid-3.5.26 with libecap-1.0.1
> on CentOS Linux release 7.3.1611
>
> On 06/12/2017 11:29 AM, Norbert Naveen wrote:
>
>> I have attached Outputs of both Configure and Make And libecap.pc
>> contents are as below
>
> Your ./configure output and libecap.pc contents look good to me, but there
> is no sign of the eCAP library (-lecap) being linked with Squid during
> "make". If running "make clean; ./configure ...; make" does not fix this,
> then please find a way to post a link to the _entire_ build log. Something
> along these lines should be able to capture it:
>
> $ make -k clean; (./configure ...; make) > /tmp/build.log 2>&1
>
> You may want to compress /tmp/build.log. Please post a link to some public
> file sharing site here instead of the file itself. Even compressed, it may
> be too big to email.
>
> Also, what does the following command output?
>
> $ grep 'EXT_LIBECAP_.*=' src/adaptation/ecap/Makefile
>
> (adjust the Makefile path if necessary if you are not building Squid its
> source directory)
>
>
> Cheers,
>
> Alex.
>
More information about the squid-users
mailing list