You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by "juergenp [core]" <ju...@core.at> on 2020/02/17 20:53:16 UTC
Re: webp support and some other modules are not built on
centos7/8
Hello Alan,
as i mentioned earlier, the .so file is not built on centos 7 and centos 8.
i don't know why - maybe the makefile.inc is the issue. i'll check that and
report later.
did you do the exact same installation i did ? with all the yum commands i
wrote down in the list ?
did you select "minimal installation" @ centos setup ?
kind regards
Juergen
On Mon, 17 Feb 2020 14:48:09 -0600 Alan Carroll wrote:
>Did some experimenting and when I build on CentOS and then "make install", the "WebpTransform.so" is installed with all of the other plugin .so files. Is that not the case for you?
>
>I do think the README is a bit thin on that plugin - it makes no mention of the name nor does it seem to have the name of the required package correct.
>
>On Mon, Feb 17, 2020 at 2:20 PM Alan Carroll <so...@verizonmedia.com> wrote:
>>Sorry for the delay - you'll need to change the "Makefile.inc" that should be in the plugin directory. These are gathered by the "Makefile.am" in the higher level directory.
>>
>>On Thu, Feb 13, 2020 at 2:12 AM juergenp [core] <ju...@core.at> wrote:
>>>
>>>
>>>Short update:
>>>
>>>On centos7 I found WebpTransform.so in the hidden .lib directory in the build-path under
>>>/root/trafficserver/plugins/experimental/webp_transform/.libs
>>>
>>>Maybe my problems occur because of because the file is named: WebpTransform.so instead of webp_transform.si <http://webp_transform.si> therefor it would explain why the library is missing.
>>>
>>>[root@cdn123 .libs]# ls -al
>>>total 956
>>>drwxr-xr-x 2 root root 173 Feb 12 17:43 .
>>>drwxr-xr-x. 4 root root 202 Feb 12 17:43 ..
>>>-rw-r--r-- 1 root root 618752 Feb 12 17:43 experimental_webp_transform_WebpTransform_la-ImageTransform.o
>>>-rw-r--r-- 1 root root 13 Feb 12 17:43 WebpTransform.exp
>>>lrwxrwxrwx 1 root root 19 Feb 12 17:43 WebpTransform.la -> ../WebpTransform.la
>>>-rw-r--r-- 1 root root 1039 Feb 12 17:43 WebpTransform.lai
>>>-rwxr-xr-x 1 root root 344176 Feb 12 17:43 WebpTransform.so
>>>
>>>[root@cdn123 .libs]# pwd
>>>/root/trafficserver/plugins/experimental/webp_transform/.libs
>>>[root@cdn123 .libs]#
>>>
>>>
>>>It seems the build-script needs to get fixed.
>>>
>>>Unfortunately I don’t know where I can change the building options to get the correct file. Please help.
>>>
>>>
>>>
>>>
>>>Von: juergenp [core] <ju...@core.at> Gesendet: Mittwoch, 12. Februar 2020 16:46An: users@trafficserver.apache.org; dev@trafficserver.apache.orgBetreff: webp support and some other modules are not built on centos7/8
>>>
>>>
>>>Hello,
>>>
>>>i tried new installations on centos7 and centos8
>>>on both server the webp support and some others from the experimental branch can not get built.
>>>did anyone run into the same problem ?
>>>
>>>i used a centos7 minimal install and did the following:
>>>
>>>---------------------
>>>
>>>
>>>yum update -yyum install setuptool -yyum install ntsysv -yyum install curl -yyum install -y libtoolyum install gcc -yyum install make -yyum install openssl -yyum install pcre -yyum install libcap -yyum install flex -yyum install hwloc hwloc-devel -yyum install lua -yyum install zlib -yyum install curl -yyum install curl-devel -yyum install ncurses-devel ncurses -yyum install perl-devel -yyum install libunwind libunwind-devel -yyum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpmyum -y install epel-release yum-utils
>>>yum-config-manager --disable remi-php54yum-config-manager --enable remi-php73
>>>yum -y install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json
>>>
>>>yum -y install ImageMagick ImageMagick-develyum install libwebp* -y
>>>yum install git
>>>yum -y install python3 python3-devel
>>>
>>>yum install ImageMagick-c++-devel/*** gcc++17: ***/yum -y install centos-release-sclyum -y install devtoolset-7-gcc*scl enable devtoolset-7 bashgit clone https://github.com/apache/trafficserver.gitgit pull /* - to be on safe side :-)autoreconf -if./configure --enable-experimental-plugins --prefix=/opt/tsmakemake check make install
>>>--------
>>>
>>>trafficserver builds without any error. checking out the libraries, following modules are found:
>>>please check attached screenshot "centos7-modules.jpg"
>>>no webp-trans.so.
>>>
>>>
>>>
>>>i did similar stuff on centos8 Minimal install.
>>>there for i had to install GraphicsMagick, GraphicsMagick-devel and GraphicsMagick-c++-devel instead of Imagemagick. thats the only difference at both installations.
>>>
>>>centos8 has the same modules built. please see attached "centos8-modules.jpg"
>>>
>>>
>>>where can i look for errors ? should i save and check the output of make for something missing or is the webp-module simply not included on some other reason ?
>>>
>>>
>>>Thank You
>>>
>>>
>>>kind regards
>>>
>>>Juergen
>>>
>>>
>>>
>>>
>>>On Tue, 11 Feb 2020 23:10:14 -0000 Evan Zelkowitz wrote:
>>>>That would be pulling from master, which will be version 10
>>>>
>>>>It looks like the webp plugin requires having the ImageMagick library installed and at >=7
>>>>Also make sure you are running configure with --enable-experimental-plugins, since webp is in experimental you have to add that to try to have any of those plugins built.
>>>>
>>>>The users list is the appropriate one. We can also invite you to the ASF slack channel if you prefer that
>>>>
>>>>On 2020/02/11 21:17:40, "juergenp [core]" <ju...@core.at> wrote:
>>>>>Hello all !!!
>>>>>i'm new to apache Trafficserver and still confused about versioning.
>>>>>it seems i'*m running version 10? i pulled here: https://github.com/apache/trafficserver Apache Traffic Server - traffic_server - 10.0.0 - (build # 020216 on Feb 2 2020 at 16:53:44) < https://github.com/apache/trafficserver>
>>>>>My current built version runs currently without special problems but i tried to build for example the experimental webp support module and did not get it working. make doesnt create the .so file. do i need a different version for that ?
>>>>>which mailing-list / users group is the correct one for traffic server with release 10 - in case i got questions ? i dont want to spam all of you.
>>>>>thank you all for your help !
>>>>>-- Juergen
>>>>>** Best Regards
>>>>>Jürgen Paulhart
>>>>>E-Mail / SIP / XMPP : juergenp@core.at VoIP / Mobil: +43 676 30 59 244
>>>>>*** Information Technologies & Hosted Unified Communications ***
>>>>><** Diese Nachricht is signiert. Der Inhalt wurde während des Transfers nicht verändert **> <*** .. and if you don't know, now you know, ... ***>
>>>>>
>>>>>
>>>**
>>>Best Regards
>>>
>>>Jürgen Paulhart
>>>
>>>E-Mail / SIP / XMPP : juergenp@core.at
>>>VoIP / Mobil: +43 676 30 59 244
>>>
>>>*** Information Technologies & Hosted Unified Communications ***
>>>
>>><** Diese Nachricht is signiert. Der Inhalt wurde während des Transfers nicht verändert **>
>>><*** .. and if you don't know, now you know, ... ***>
>>>
>>>
>>>
>>
>
**
Best Regards
Jürgen Paulhart
E-Mail / SIP / XMPP : juergenp@core.at
VoIP / Mobil: +43 676 30 59 244
*** Information Technologies & Hosted Unified Communications ***
<** Diese Nachricht is signiert. Der Inhalt wurde während des Transfers
nicht verändert **>
<*** .. and if you don't know, now you know, ... ***>