Re: [Bug-wget] Trying to compile wget on CentOS 7.4 ...
Hi Thomas. Alternatively you can also use Fedora COPR (https://copr.fedorainfracloud.org/) build system to rebuild latest Source RPMs from Fedora for EPEL-7. e.g. you can take latest Fedora wget SRPM - https://koji.fedoraproject.org/koji/buildinfo?buildID=1008280 and also add latest libpsl SRPM - https://koji.fedoraproject.org/koji/buildinfo?buildID=998706 COPR will rebuild libpsl for EPEL-7 and will then rebuild wget against it. However it may happen that you will have to rebuild also other packages. Also note that installing your custom libpsl on CentOS 7 system may break other packages, which depend on the CentOS 7 version of libpsl package. The downside is that you will have to maintain these packages yourself. But since you are already trying to compile wget, I think you know that you are on your own with rebuilds... Regards, Tomas On 09.01.2018 22:02, Tim Ruehsen wrote: > Please always answer on the list (except for very good reasons). > > Am Dienstag, den 09.01.2018, 21:48 +0100 schrieb Thomas Schweikle: >> On 1/9/2018 9:41 PM, Tim Ruehsen wrote: >>> Hi Thomas, >>> >>> libpsl 0.7.0 is *totally* outdated. Please don't use it any more - >>> many >>> bugs and security flaws have been fixed meanwhile. >> >> RHEL, CentOS, ScientificOS, Oracle-Linux all 7.4 install this from >> their >> repos. No newer version available. Bad, but they tend to tell you to >> wait for the next version of their distro. > > But they ship a version of wget (with or without libpsl support). > > If you want a newer version of wget, you also have to build all (or at > least some) dependencies in their latest versions. With a bit of > experience this is very easy. > > But you can also build wget without libpsl: > ./configure --without-libpsl > ... > > You really need libpsl only for cookie checking. But if you work > without cookies enabled, you are save without it. > > Regards, Tim > >>> Wget needs definitely a newer version. >>> >>> Regards, Tim >>> >>> Am Dienstag, den 09.01.2018, 19:45 +0100 schrieb Thomas Schweikle: On 1/9/2018 7:37 PM, Darshit Shah wrote: > Hi, > > Yes, you're missing the libpsl library. # rpm -ql libpsl-devel.x86_64 /usr/include/libpsl.h /usr/lib64/libpsl.so /usr/lib64/pkgconfig/libpsl.pc /usr/share/doc/libpsl-devel-0.7.0 /usr/share/doc/libpsl-devel-0.7.0/AUTHORS /usr/share/doc/libpsl-devel-0.7.0/NEWS /usr/share/gtk-doc/html/libpsl /usr/share/gtk-doc/html/libpsl/api-index-full.html /usr/share/gtk-doc/html/libpsl/deprecated-api-index.html /usr/share/gtk-doc/html/libpsl/home.png /usr/share/gtk-doc/html/libpsl/index.html /usr/share/gtk-doc/html/libpsl/index.sgml /usr/share/gtk-doc/html/libpsl/left.png /usr/share/gtk-doc/html/libpsl/libpsl-Public-Suffix-List- functions.html /usr/share/gtk-doc/html/libpsl/libpsl.devhelp2 /usr/share/gtk-doc/html/libpsl/libpsl.html /usr/share/gtk-doc/html/libpsl/object-tree.html /usr/share/gtk-doc/html/libpsl/right.png /usr/share/gtk-doc/html/libpsl/style.css /usr/share/gtk-doc/html/libpsl/up.png /usr/share/libpsl /usr/share/libpsl/effective_tld_names.dat /usr/share/man/man3/libpsl.3.gz # rpm -ql libpsl /usr/lib64/libpsl.so.0 /usr/lib64/libpsl.so.0.2.4 /usr/share/licenses/libpsl-0.7.0 /usr/share/licenses/libpsl-0.7.0/COPYING Looks like I have it ... > You may build without the library by passing the appropriate > configure flags, but we strongly suggest that you use the > library. Seems found by compiler and linker, but missing symbols within. > On January 9, 2018 5:51:59 PM UTC, Thomas Schweikle @gma > il.com> wrote: >> Hi! >> >> I am trying to compile wget on CentOS 7.4: >> >> CC version.o >> CC ftp-opie.o >> CC openssl.o >> CC http-ntlm.o >> CCLD wget >> cookies.o: In function `check_domain_match': >> cookies.c:(.text+0xd6c): undefined reference to >> `psl_builtin_outdated' >> collect2: error: ld returned 1 exit status >> make[3]: *** [wget] Error 1 >> make[3]: Leaving directory >> `/var/lib/jenkins/sharedspace/wget/build/src' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/var/lib/jenkins/sharedspace/wget/build/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/var/lib/jenkins/sharedspace/wget/build' >> make: *** [all] Fehler 2 >> >> Compile fails at ps1_buildin_outdated anything I am missing? >> >> >> -- >> Thomas >> -- Tomas Hozza Associate Manager, Software Engineering - EMEA ENG Core Services PGP: 1D9F3C2D UTC+1 (CET) Red Hat Inc. http://cz.redhat.com 0xC5887AD51D9F3C2D.asc Description: application/pgp-keys
Re: [Bug-wget] Trying to compile wget on CentOS 7.4 ...
Please always answer on the list (except for very good reasons). Am Dienstag, den 09.01.2018, 21:48 +0100 schrieb Thomas Schweikle: > On 1/9/2018 9:41 PM, Tim Ruehsen wrote: > > Hi Thomas, > > > > libpsl 0.7.0 is *totally* outdated. Please don't use it any more - > > many > > bugs and security flaws have been fixed meanwhile. > > RHEL, CentOS, ScientificOS, Oracle-Linux all 7.4 install this from > their > repos. No newer version available. Bad, but they tend to tell you to > wait for the next version of their distro. But they ship a version of wget (with or without libpsl support). If you want a newer version of wget, you also have to build all (or at least some) dependencies in their latest versions. With a bit of experience this is very easy. But you can also build wget without libpsl: ./configure --without-libpsl ... You really need libpsl only for cookie checking. But if you work without cookies enabled, you are save without it. Regards, Tim > > Wget needs definitely a newer version. > > > > Regards, Tim > > > > Am Dienstag, den 09.01.2018, 19:45 +0100 schrieb Thomas Schweikle: > > > On 1/9/2018 7:37 PM, Darshit Shah wrote: > > > > Hi, > > > > > > > > Yes, you're missing the libpsl library. > > > > > > # rpm -ql libpsl-devel.x86_64 > > > /usr/include/libpsl.h > > > /usr/lib64/libpsl.so > > > /usr/lib64/pkgconfig/libpsl.pc > > > /usr/share/doc/libpsl-devel-0.7.0 > > > /usr/share/doc/libpsl-devel-0.7.0/AUTHORS > > > /usr/share/doc/libpsl-devel-0.7.0/NEWS > > > /usr/share/gtk-doc/html/libpsl > > > /usr/share/gtk-doc/html/libpsl/api-index-full.html > > > /usr/share/gtk-doc/html/libpsl/deprecated-api-index.html > > > /usr/share/gtk-doc/html/libpsl/home.png > > > /usr/share/gtk-doc/html/libpsl/index.html > > > /usr/share/gtk-doc/html/libpsl/index.sgml > > > /usr/share/gtk-doc/html/libpsl/left.png > > > /usr/share/gtk-doc/html/libpsl/libpsl-Public-Suffix-List- > > > functions.html > > > /usr/share/gtk-doc/html/libpsl/libpsl.devhelp2 > > > /usr/share/gtk-doc/html/libpsl/libpsl.html > > > /usr/share/gtk-doc/html/libpsl/object-tree.html > > > /usr/share/gtk-doc/html/libpsl/right.png > > > /usr/share/gtk-doc/html/libpsl/style.css > > > /usr/share/gtk-doc/html/libpsl/up.png > > > /usr/share/libpsl > > > /usr/share/libpsl/effective_tld_names.dat > > > /usr/share/man/man3/libpsl.3.gz > > > > > > # rpm -ql libpsl > > > /usr/lib64/libpsl.so.0 > > > /usr/lib64/libpsl.so.0.2.4 > > > /usr/share/licenses/libpsl-0.7.0 > > > /usr/share/licenses/libpsl-0.7.0/COPYING > > > > > > Looks like I have it ... > > > > > > > You may build without the library by passing the appropriate > > > > configure flags, but we strongly suggest that you use the > > > > library. > > > > > > Seems found by compiler and linker, but missing symbols within. > > > > > > > On January 9, 2018 5:51:59 PM UTC, Thomas Schweikle > > > @gma > > > > il.com> wrote: > > > > > Hi! > > > > > > > > > > I am trying to compile wget on CentOS 7.4: > > > > > > > > > > CC version.o > > > > > CC ftp-opie.o > > > > > CC openssl.o > > > > > CC http-ntlm.o > > > > > CCLD wget > > > > > cookies.o: In function `check_domain_match': > > > > > cookies.c:(.text+0xd6c): undefined reference to > > > > > `psl_builtin_outdated' > > > > > collect2: error: ld returned 1 exit status > > > > > make[3]: *** [wget] Error 1 > > > > > make[3]: Leaving directory > > > > > `/var/lib/jenkins/sharedspace/wget/build/src' > > > > > make[2]: *** [all] Error 2 > > > > > make[2]: Leaving directory > > > > > `/var/lib/jenkins/sharedspace/wget/build/src' > > > > > make[1]: *** [all-recursive] Error 1 > > > > > make[1]: Leaving directory > > > > > `/var/lib/jenkins/sharedspace/wget/build' > > > > > make: *** [all] Fehler 2 > > > > > > > > > > Compile fails at ps1_buildin_outdated anything I am missing? > > > > > > > > > > > > > > > -- > > > > > Thomas > > signature.asc Description: This is a digitally signed message part
Re: [Bug-wget] Trying to compile wget on CentOS 7.4 ...
Hi Thomas, libpsl 0.7.0 is *totally* outdated. Please don't use it any more - many bugs and security flaws have been fixed meanwhile. Wget needs definitely a newer version. Regards, Tim Am Dienstag, den 09.01.2018, 19:45 +0100 schrieb Thomas Schweikle: > On 1/9/2018 7:37 PM, Darshit Shah wrote: > > Hi, > > > > Yes, you're missing the libpsl library. > > # rpm -ql libpsl-devel.x86_64 > /usr/include/libpsl.h > /usr/lib64/libpsl.so > /usr/lib64/pkgconfig/libpsl.pc > /usr/share/doc/libpsl-devel-0.7.0 > /usr/share/doc/libpsl-devel-0.7.0/AUTHORS > /usr/share/doc/libpsl-devel-0.7.0/NEWS > /usr/share/gtk-doc/html/libpsl > /usr/share/gtk-doc/html/libpsl/api-index-full.html > /usr/share/gtk-doc/html/libpsl/deprecated-api-index.html > /usr/share/gtk-doc/html/libpsl/home.png > /usr/share/gtk-doc/html/libpsl/index.html > /usr/share/gtk-doc/html/libpsl/index.sgml > /usr/share/gtk-doc/html/libpsl/left.png > /usr/share/gtk-doc/html/libpsl/libpsl-Public-Suffix-List- > functions.html > /usr/share/gtk-doc/html/libpsl/libpsl.devhelp2 > /usr/share/gtk-doc/html/libpsl/libpsl.html > /usr/share/gtk-doc/html/libpsl/object-tree.html > /usr/share/gtk-doc/html/libpsl/right.png > /usr/share/gtk-doc/html/libpsl/style.css > /usr/share/gtk-doc/html/libpsl/up.png > /usr/share/libpsl > /usr/share/libpsl/effective_tld_names.dat > /usr/share/man/man3/libpsl.3.gz > > # rpm -ql libpsl > /usr/lib64/libpsl.so.0 > /usr/lib64/libpsl.so.0.2.4 > /usr/share/licenses/libpsl-0.7.0 > /usr/share/licenses/libpsl-0.7.0/COPYING > > Looks like I have it ... > > > You may build without the library by passing the appropriate > > configure flags, but we strongly suggest that you use the library. > > Seems found by compiler and linker, but missing symbols within. > > > On January 9, 2018 5:51:59 PM UTC, Thomas Schweikle > il.com> wrote: > > > Hi! > > > > > > I am trying to compile wget on CentOS 7.4: > > > > > > CC version.o > > > CC ftp-opie.o > > > CC openssl.o > > > CC http-ntlm.o > > > CCLD wget > > > cookies.o: In function `check_domain_match': > > > cookies.c:(.text+0xd6c): undefined reference to > > > `psl_builtin_outdated' > > > collect2: error: ld returned 1 exit status > > > make[3]: *** [wget] Error 1 > > > make[3]: Leaving directory > > > `/var/lib/jenkins/sharedspace/wget/build/src' > > > make[2]: *** [all] Error 2 > > > make[2]: Leaving directory > > > `/var/lib/jenkins/sharedspace/wget/build/src' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory > > > `/var/lib/jenkins/sharedspace/wget/build' > > > make: *** [all] Fehler 2 > > > > > > Compile fails at ps1_buildin_outdated anything I am missing? > > > > > > > > > -- > > > Thomas > > signature.asc Description: This is a digitally signed message part
Re: [Bug-wget] Trying to compile wget on CentOS 7.4 ...
On 1/9/2018 7:37 PM, Darshit Shah wrote: > Hi, > > Yes, you're missing the libpsl library. # rpm -ql libpsl-devel.x86_64 /usr/include/libpsl.h /usr/lib64/libpsl.so /usr/lib64/pkgconfig/libpsl.pc /usr/share/doc/libpsl-devel-0.7.0 /usr/share/doc/libpsl-devel-0.7.0/AUTHORS /usr/share/doc/libpsl-devel-0.7.0/NEWS /usr/share/gtk-doc/html/libpsl /usr/share/gtk-doc/html/libpsl/api-index-full.html /usr/share/gtk-doc/html/libpsl/deprecated-api-index.html /usr/share/gtk-doc/html/libpsl/home.png /usr/share/gtk-doc/html/libpsl/index.html /usr/share/gtk-doc/html/libpsl/index.sgml /usr/share/gtk-doc/html/libpsl/left.png /usr/share/gtk-doc/html/libpsl/libpsl-Public-Suffix-List-functions.html /usr/share/gtk-doc/html/libpsl/libpsl.devhelp2 /usr/share/gtk-doc/html/libpsl/libpsl.html /usr/share/gtk-doc/html/libpsl/object-tree.html /usr/share/gtk-doc/html/libpsl/right.png /usr/share/gtk-doc/html/libpsl/style.css /usr/share/gtk-doc/html/libpsl/up.png /usr/share/libpsl /usr/share/libpsl/effective_tld_names.dat /usr/share/man/man3/libpsl.3.gz # rpm -ql libpsl /usr/lib64/libpsl.so.0 /usr/lib64/libpsl.so.0.2.4 /usr/share/licenses/libpsl-0.7.0 /usr/share/licenses/libpsl-0.7.0/COPYING Looks like I have it ... > You may build without the library by passing the appropriate configure flags, > but we strongly suggest that you use the library. Seems found by compiler and linker, but missing symbols within. > On January 9, 2018 5:51:59 PM UTC, Thomas Schweikle > wrote: >> Hi! >> >> I am trying to compile wget on CentOS 7.4: >> >> CC version.o >> CC ftp-opie.o >> CC openssl.o >> CC http-ntlm.o >> CCLD wget >> cookies.o: In function `check_domain_match': >> cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated' >> collect2: error: ld returned 1 exit status >> make[3]: *** [wget] Error 1 >> make[3]: Leaving directory >> `/var/lib/jenkins/sharedspace/wget/build/src' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/var/lib/jenkins/sharedspace/wget/build/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build' >> make: *** [all] Fehler 2 >> >> Compile fails at ps1_buildin_outdated anything I am missing? >> >> >> -- >> Thomas > -- Thomas
Re: [Bug-wget] Trying to compile wget on CentOS 7.4 ...
Hi, Yes, you're missing the libpsl library. You may build without the library by passing the appropriate configure flags, but we strongly suggest that you use the library. On January 9, 2018 5:51:59 PM UTC, Thomas Schweikle wrote: >Hi! > >I am trying to compile wget on CentOS 7.4: > > CC version.o > CC ftp-opie.o > CC openssl.o > CC http-ntlm.o > CCLD wget >cookies.o: In function `check_domain_match': >cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated' >collect2: error: ld returned 1 exit status >make[3]: *** [wget] Error 1 >make[3]: Leaving directory >`/var/lib/jenkins/sharedspace/wget/build/src' >make[2]: *** [all] Error 2 >make[2]: Leaving directory >`/var/lib/jenkins/sharedspace/wget/build/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build' >make: *** [all] Fehler 2 > >Compile fails at ps1_buildin_outdated anything I am missing? > > >-- >Thomas -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Bug-wget] Trying to compile wget on CentOS 7.4 ...
Hi! I am trying to compile wget on CentOS 7.4: CC version.o CC ftp-opie.o CC openssl.o CC http-ntlm.o CCLD wget cookies.o: In function `check_domain_match': cookies.c:(.text+0xd6c): undefined reference to `psl_builtin_outdated' collect2: error: ld returned 1 exit status make[3]: *** [wget] Error 1 make[3]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/lib/jenkins/sharedspace/wget/build' make: *** [all] Fehler 2 Compile fails at ps1_buildin_outdated anything I am missing? -- Thomas