Search squid archive

Re: Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611

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

 



Hello Alex and Squid Admins
Managed to Compile with ecap successfully 
Looks like the Error was due to earlier added export in bashrc 

Have questions on the 4 patches of ecap .. but I shall open a different Thread 


Thanks & Rgds
Naveen

-----Original Message-----
From: Norbert Naveen [mailto:norbert.naveen@xxxxxxxxx] 
Sent: Wednesday, June 14, 2017 1:08 AM
To: 'Alex Rousskov' <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>; 'squid-users@xxxxxxxxxxxxxxxxxxxxx' <squid-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611

Hello Alex
 I guess I know the culprit
 In bashrc
 The following 4 lines were present ,, I have commented it out now . 
 Shall try to make -k clean and then redo Thanks 

-----Original Message-----
From: Norbert Naveen [mailto:norbert.naveen@xxxxxxxxx]
Sent: Wednesday, June 14, 2017 12:37 AM
To: 'Alex Rousskov' <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>; 'squid-users@xxxxxxxxxxxxxxxxxxxxx' <squid-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611

Hello Alex 

Sorry for the mistake of missing the o/p of configure # PKG_CONFIG_PATH=/usr/local/lib/pkgconfig /usr/bin/pkg-config --print-errors --debug "libecap >= 1.0 libecap < 1.1"
Error printing disabled by default, value of --print-errors: 1 Error printing enabled Adding virtual 'pkg-config' package to list of known packages Scanning directory '/usr/local/lib/pkgconfig'
Ignoring file '.' in search directory; not a .pc file Ignoring file '..' in search directory; not a .pc file File 'libecap.pc' appears to be a .pc file Will find package 'libecap' in file '/usr/local/lib/pkgconfig/libecap.pc'
Scanning directory '/usr/lib64/pkgconfig'
Ignoring file '.' in search directory; not a .pc file Ignoring file '..' in search directory; not a .pc file File 'fontutil.pc' appears to be a .pc file Will find package 'fontutil' in file '/usr/lib64/pkgconfig/fontutil.pc'
File 'systemd.pc' appears to be a .pc file Will find package 'systemd' in file '/usr/lib64/pkgconfig/systemd.pc'
File 'libpcre.pc' appears to be a .pc file Will find package 'libpcre' in file '/usr/lib64/pkgconfig/libpcre.pc'
File 'libpcre16.pc' appears to be a .pc file Will find package 'libpcre16' in file '/usr/lib64/pkgconfig/libpcre16.pc'
File 'libpcre32.pc' appears to be a .pc file Will find package 'libpcre32' in file '/usr/lib64/pkgconfig/libpcre32.pc'
File 'libpcrecpp.pc' appears to be a .pc file Will find package 'libpcrecpp' in file '/usr/lib64/pkgconfig/libpcrecpp.pc'
File 'libpcreposix.pc' appears to be a .pc file Will find package 'libpcreposix' in file '/usr/lib64/pkgconfig/libpcreposix.pc'
File 'libsepol.pc' appears to be a .pc file Will find package 'libsepol' in file '/usr/lib64/pkgconfig/libsepol.pc'
File 'libselinux.pc' appears to be a .pc file Will find package 'libselinux' in file '/usr/lib64/pkgconfig/libselinux.pc'
File 'com_err.pc' appears to be a .pc file Will find package 'com_err' in file '/usr/lib64/pkgconfig/com_err.pc'
File 'libverto.pc' appears to be a .pc file Will find package 'libverto' in file '/usr/lib64/pkgconfig/libverto.pc'
File 'gssrpc.pc' appears to be a .pc file Will find package 'gssrpc' in file '/usr/lib64/pkgconfig/gssrpc.pc'
File 'kadm-client.pc' appears to be a .pc file Will find package 'kadm-client' in file '/usr/lib64/pkgconfig/kadm-client.pc'
File 'kadm-server.pc' appears to be a .pc file Will find package 'kadm-server' in file '/usr/lib64/pkgconfig/kadm-server.pc'
File 'kdb.pc' appears to be a .pc file
Will find package 'kdb' in file '/usr/lib64/pkgconfig/kdb.pc'
File 'krb5-gssapi.pc' appears to be a .pc file Will find package 'krb5-gssapi' in file '/usr/lib64/pkgconfig/krb5-gssapi.pc'
File 'krb5.pc' appears to be a .pc file
Will find package 'krb5' in file '/usr/lib64/pkgconfig/krb5.pc'
File 'mit-krb5-gssapi.pc' appears to be a .pc file Will find package 'mit-krb5-gssapi' in file '/usr/lib64/pkgconfig/mit-krb5-gssapi.pc'
File 'mit-krb5.pc' appears to be a .pc file Will find package 'mit-krb5' in file '/usr/lib64/pkgconfig/mit-krb5.pc'
File 'zlib.pc' appears to be a .pc file
Will find package 'zlib' in file '/usr/lib64/pkgconfig/zlib.pc'
File 'libcrypto.pc' appears to be a .pc file Will find package 'libcrypto' in file '/usr/lib64/pkgconfig/libcrypto.pc'
File 'libssl.pc' appears to be a .pc file Will find package 'libssl' in file '/usr/lib64/pkgconfig/libssl.pc'
File 'openssl.pc' appears to be a .pc file Will find package 'openssl' in file '/usr/lib64/pkgconfig/openssl.pc'
Scanning directory '/usr/share/pkgconfig'
Ignoring file '.' in search directory; not a .pc file Ignoring file '..' in search directory; not a .pc file File 'shared-mime-info.pc' appears to be a .pc file Will find package 'shared-mime-info' in file '/usr/share/pkgconfig/shared-mime-info.pc'
File 'spice-protocol.pc' appears to be a .pc file Will find package 'spice-protocol' in file '/usr/share/pkgconfig/spice-protocol.pc'
File 'gnome-video-effects.pc' appears to be a .pc file Will find package 'gnome-video-effects' in file '/usr/share/pkgconfig/gnome-video-effects.pc'
File 'udev.pc' appears to be a .pc file
Will find package 'udev' in file '/usr/share/pkgconfig/udev.pc'
File 'gnome-keybindings.pc' appears to be a .pc file Will find package 'gnome-keybindings' in file '/usr/share/pkgconfig/gnome-keybindings.pc'
File 'usbutils.pc' appears to be a .pc file Will find package 'usbutils' in file '/usr/share/pkgconfig/usbutils.pc'
File 'gnome-icon-theme-symbolic.pc' appears to be a .pc file Will find package 'gnome-icon-theme-symbolic' in file '/usr/share/pkgconfig/gnome-icon-theme-symbolic.pc'
File 'bash-completion.pc' appears to be a .pc file Will find package 'bash-completion' in file '/usr/share/pkgconfig/bash-completion.pc'
Looking for package 'libecap'
Looking for package 'libecap-uninstalled'
Reading 'libecap' from file '/usr/local/lib/pkgconfig/libecap.pc'
Parsing package file '/usr/local/lib/pkgconfig/libecap.pc'
  line>prefix=/usr/local
 Variable declaration, 'prefix' has value '/usr/local'
  line>exec_prefix=${prefix}
 Variable declaration, 'exec_prefix' has value '/usr/local'
  line>libdir=${exec_prefix}/lib
 Variable declaration, 'libdir' has value '/usr/local/lib'
  line>includedir=${prefix}/include
 Variable declaration, 'includedir' has value '/usr/local/include'
  line>
  line>Name: eCAP
  line>Description: Allows a network application to outsource content analysis and adaptation to a loadable module.
  line>URL: http://www.e-cap.org/
  line>Version: 1.0.1
  line>Libs: -L${libdir} -lecap
  line>Cflags: -I${includedir}
Path position of 'eCAP' is 1
Adding 'libecap' to list of known packages, returning as package 'libecap'

Shall make clean and send all the details 

Thanks 


-----Original Message-----
From: Alex Rousskov [mailto:rousskov@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, June 13, 2017 9:09 PM
To: norbert.naveen@xxxxxxxxx; squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Error Compiling squid-3.5.26 with libecap-1.0.1 on CentOS Linux release 7.3.1611

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@xxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Tuesday, June 13, 2017 2:12 AM
> To: norbert.naveen@xxxxxxxxx; squid-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  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.
> 

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux