[Discuss] perl/Tk

dan moylan jdm at moylan.us
Fri Feb 27 14:26:54 EST 2015


running fc21 on acer aspire E1-472P-6860
trying to install perl/Tk -- i needed two other installs
first, and did those:

  yum install libX11-devel
  yum install gcc
  cpan -i Tk

the cpan installation went on for quite a while, but at the
end, i got:

make[2]: Leaving directory
          '/root/.cpan/build/Tk-804.033-glv7i1/PNG/libpng'
make[2]: Entering directory
          '/root/.cpan/build/Tk-804.033-glv7i1/PNG/libpng'
gcc -fPIC -c -Wall -O2 -I../zlib pngtest.c
gcc -fPIC -s -L../zlib -o pngtest pngtest.o libpng.a -lz -lm
libpng.a(png.o): In function `png_init_mmx_flags':
png.c:(.text+0xbaf): undefined reference to `png_mmx_support'
libpng.a(pngread.o): In function `png_read_row':
pngread.c:(.text+0xfd2): undefined reference to `png_combine_row'
pngread.c:(.text+0xff5): undefined reference to `png_combine_row'
pngread.c:(.text+0x1086): undefined reference to `png_combine_row'
pngread.c:(.text+0x10a3): undefined reference to `png_combine_row'
pngread.c:(.text+0x111c): undefined reference to `png_read_filter_row'
pngread.c:(.text+0x113c): undefined reference to `png_do_read_interlace'
pngread.c:(.text+0x118f): undefined reference to `png_combine_row'
pngread.c:(.text+0x11d8): undefined reference to `png_combine_row'
pngread.c:(.text+0x124d): undefined reference to `png_combine_row'
pngread.c:(.text+0x1292): undefined reference to `png_combine_row'
libpng.a(pngread.o):pngread.c:(.text+0x12d4):
            more undefined references to `png_combine_row' follow
collect2: error: ld returned 1 exit status
Makefile:58: recipe for target 'pngtest' failed
make[2]: *** [pngtest] Error 1
make[2]: Leaving directory
           '/root/.cpan/build/Tk-804.033-glv7i1/PNG/libpng'
Makefile:516: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory
           '/root/.cpan/build/Tk-804.033-glv7i1/PNG'
Makefile:966: recipe for target 'subdirs' failed
make: *** [subdirs] Error 2
  SREZIC/Tk-804.033.tar.gz
  /bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

any suggestions as to where i go from here?

tia,
ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[no html pls]



More information about the Discuss mailing list