PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Perl Image Scale kompiliert nicht



imhotep
12.07.15, 17:12
Hallo Leute,

ich versuche seit einigen Tagen auf einem openSuSE 13.2 einen Logitechmediaserver zu installieren.
Leider startet der Server nicht er sacht immer:



Jul 12 18:03:49 esprimo squeezeboxserver[19756]: Image::Scale (loaded <not found>, need 0.08)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: JSON::XS::VersionOneAndTwo (loaded <not found>, need 0.31)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: Proc::Background (loaded <not found>, need 1.08)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: Text::Unidecode (loaded <not found>, need 0.04)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: Tie::Cache::LRU (loaded <not found>, need 0.21)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: Tie::RegexpHash (loaded <not found>, need 0.13)
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: To fix this problem you have several options:
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: 2. Update the module's package using apt-get, yum, etc.
Jul 12 18:03:49 esprimo squeezeboxserver[19756]: 3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


Also mach ich mal 2.



CPAN: Storable loaded ok (v2.49)
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 11 Jul 2015 15:29:02 GMT
CPAN: LWP::UserAgent loaded ok (v6.05)
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.97)
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.064)
.................................................. ..........................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Sun, 12 Jul 2015 15:41:02 GMT
..............
New CPAN.pm version (v2.10) available.
[Currently running version is v2.05]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.


.................................................. ............DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Image::Scale'
CPAN: Digest::SHA loaded ok (v5.88)
Checksum for /root/.cpan/sources/authors/id/A/AG/AGRUNDMA/Image-Scale-0.08.tar.gz ok
CPAN: File::Temp loaded ok (v0.2304)
CPAN: Parse::CPAN::Meta loaded ok (v1.4414)
CPAN: CPAN::Meta loaded ok (v2.142060)
CPAN: Module::CoreList loaded ok (v5.020001)
Configuring A/AG/AGRUNDMA/Image-Scale-0.08.tar.gz with Makefile.PL

Image::Scale will be built with:

JPEG support: yes (/usr/include, version unknown)
PNG support: yes (/usr/include, version 1.2.51)
GIF support: yes (/usr/include, version unknown, lib)

Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -l
Generating a Unix-style Makefile
Writing Makefile for Image::Scale
Writing MYMETA.yml and MYMETA.json
AGRUNDMA/Image-Scale-0.08.tar.gz
/usr/bin/perl Makefile.PL -- OK
Running make for A/AG/AGRUNDMA/Image-Scale-0.08.tar.gz
cp lib/Image/Scale.pm blib/lib/Image/Scale.pm
Running Mkbootstrap for Image::Scale ()
chmod 644 Scale.bs
/usr/bin/perl /usr/lib/perl5/5.20.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.20.1/ExtUtils/typemap -typemap typemap Scale.xs > Scale.xsc && mv Scale.xsc Scale.c
Please specify prototyping behavior for Scale.xs (see perlxs manual)
cc -c -I. -I.. -Isrc -Iinclude -I/usr/include -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/CORE" -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=unknown -DHAVE_PNG -DPNG_VERSION=1.2.51 -DHAVE_GIF -DGIF_VERSION=unknown Scale.c
In file included from src/image.c:20:0,
from Scale.xs:18:
src/bmp.c: In function ‘image_bmp_read_header’:
src/bmp.c:25:7: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable]
int offset, palette_colors;
^
In file included from src/image.c:28:0,
from Scale.xs:18:
src/gif.c: In function ‘image_gif_read_header’:
src/gif.c:58:3: error: too few arguments to function ‘DGifOpen’
im->gif = DGifOpen(im, image_gif_read_buf);
^
In file included from include/image.h:21:0,
from src/image.c:17,
from Scale.xs:18:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
^
In file included from src/image.c:28:0,
from Scale.xs:18:
src/gif.c:61:5: warning: implicit declaration of function ‘PrintGifError’ [-Wimplicit-function-declaration]
PrintGifError();
^
src/gif.c: In function ‘image_gif_load’:
src/gif.c:195:49: error: ‘SavedImage’ has no member named ‘Function’
if (DGifGetExtension(im->gif, &temp_save.Function, &ExtData) == GIF_ERROR) {
^
src/gif.c:202:22: error: ‘SavedImage’ has no member named ‘Function’
if (temp_save.Function == 0xF9) { // transparency info
^
src/gif.c:213:11: warning: implicit declaration of function ‘AddExtensionBlock’ [-Wimplicit-function-declaration]
if (AddExtensionBlock(&temp_save, ExtData[0], &ExtData[1]) == GIF_ERROR) {
^
src/gif.c:227:20: error: ‘SavedImage’ has no member named ‘Function’
temp_save.Function = 0;
^
src/gif.c:82:7: warning: variable ‘BackGround’ set but not used [-Wunused-but-set-variable]
int BackGround = 0;
^
Scale.c: In function ‘XS_Image__Scale___cleanup’:
Scale.c:633:7: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
HV * self;
^
Makefile:340: recipe for target 'Scale.o' failed
make: *** [Scale.o] Error 1
AGRUNDMA/Image-Scale-0.08.tar.gz
/usr/bin/make -- NOT OK


Und weil das nicht geht, auch noch 3. Das heißt, ich habe das TAR-File installiert und rufe im entsprechenden Ordner "perl Makefile.PL" auf. Geht aber auch nicht.



Skip blib/lib/Image/Scale.pm (unchanged)
Running Mkbootstrap for Image::Scale ()
chmod 644 Scale.bs
cc -c -I. -I.. -Isrc -Iinclude -I/usr/include -I/usr/include -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl5/5.20.1/x86_64-linux-thread-multi/CORE" -O2 -Wall -Wno-unused-value -Wno-format-security -Winline -ffast-math -DHAVE_JPEG -DJPEG_VERSION=unknown -DHAVE_PNG -DPNG_VERSION=1.2.51 -DHAVE_GIF -DGIF_VERSION=unknown Scale.c
In file included from src/image.c:20:0,
from Scale.xs:18:
src/bmp.c: In function ‘image_bmp_read_header’:
src/bmp.c:25:7: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable]
int offset, palette_colors;
^
In file included from src/image.c:28:0,
from Scale.xs:18:
src/gif.c: In function ‘image_gif_read_header’:
src/gif.c:58:3: error: too few arguments to function ‘DGifOpen’
im->gif = DGifOpen(im, image_gif_read_buf);
^
In file included from include/image.h:21:0,
from src/image.c:17,
from Scale.xs:18:
/usr/include/gif_lib.h:181:14: note: declared here
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
^
In file included from src/image.c:28:0,
from Scale.xs:18:
src/gif.c:61:5: warning: implicit declaration of function ‘PrintGifError’ [-Wimplicit-function-declaration]
PrintGifError();
^
src/gif.c: In function ‘image_gif_load’:
src/gif.c:195:49: error: ‘SavedImage’ has no member named ‘Function’
if (DGifGetExtension(im->gif, &temp_save.Function, &ExtData) == GIF_ERROR) {
^
src/gif.c:202:22: error: ‘SavedImage’ has no member named ‘Function’
if (temp_save.Function == 0xF9) { // transparency info
^
src/gif.c:213:11: warning: implicit declaration of function ‘AddExtensionBlock’ [-Wimplicit-function-declaration]
if (AddExtensionBlock(&temp_save, ExtData[0], &ExtData[1]) == GIF_ERROR) {
^
src/gif.c:227:20: error: ‘SavedImage’ has no member named ‘Function’
temp_save.Function = 0;
^
src/gif.c:82:7: warning: variable ‘BackGround’ set but not used [-Wunused-but-set-variable]
int BackGround = 0;
^
Scale.c: In function ‘XS_Image__Scale___cleanup’:
Scale.c:633:7: warning: variable ‘self’ set but not used [-Wunused-but-set-variable]
HV * self;
^
Makefile:340: recipe for target 'Scale.o' failed
make: *** [Scale.o] Error 1


Ist das Perl-Modul einfach kaputt oder mach ich was falsch? Und wenn ich was falsch mache, wie kann ich das denn richtig machen?

Grüße

Karsten

marce
13.07.15, 06:13
Dein (2) sieht von der Ausgabe eher nach (1) aus - poste bitte mal auch die jeweligen Befehle, die zu der Ausgabe geführt haben.