Mail Index


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

[ApacheGallery] Help make-ing Image::Imlib2



Hi everyone, I'm having big problems with the installation of Image::Imlib2...I'm hoping someone can help out.
When I first tried to install Image::Imlib2 it stopped at the "perl
Makefile.PL" stage with an error in Module::Build 0.23. After googling
around I found some other modules that had this same problem and solved it
by changing the last line of the makefile from
Module::Build::Compat->write_makefile();
to
Module::Build::Compat->write_makefile(build_class => 'Module::Build');

I did that and it got by the perl Makefile.PL stage without complaint.

good.  (or maybe that's the source of my problems?!)

But now, when I try to "make" it, I get a huge error list...and not really knowing anything about perl or gcc I haven't the slightest idea what to do with it.
here's the error:


[[email protected] Image-Imlib2-1.01]# make
/usr/bin/perl Build
gcc -shared -L/usr/local/lib -o blib/arch/auto/Image/Imlib2/Imlib2.so lib/Image/Imlib2.o ./lib/Image/Imlib2.o -L/usr/lib -lImlib2 -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib
./lib/Image/Imlib2.o(.text+0xc0): In function `XS_Image__Imlib2_constant':
lib/Image/Imlib2.c:51: multiple definition of `XS_Image__Imlib2_constant'
lib/Image/Imlib2.o(.text+0xc0):lib/Image/Imlib2.c:51: first defined here
./lib/Image/Imlib2.o(.text+0x480): In function `XS_Image(int0_t, int, bool, _n,...)(wchar_t)': lib/Image/Imlib2.c:70: multiple definition of `XS_Image(int0_t, int, bool, _n,...)(wchar_t)'
lib/Image/Imlib2.o(.text+0x480):lib/Image/Imlib2.c:70: first defined here
./lib/Image/Imlib2.o(.text+0x8a0): In function `XS_Image__Imlib2_DESTROY':
lib/Image/Imlib2.c:114: multiple definition of `XS_Image__Imlib2_DESTROY'
lib/Image/Imlib2.o(.text+0x8a0):lib/Image/Imlib2.c:114: first defined here
./lib/Image/Imlib2.o(.text+0xaf0): In function `XS_Image__Imlib2_load':
lib/Image/Imlib2.c:141: multiple definition of `XS_Image__Imlib2_load'
lib/Image/Imlib2.o(.text+0xaf0):lib/Image/Imlib2.c:141: first defined here
./lib/Image/Imlib2.o(.text+0xec0): In function `XS_Image__Imlib2_save':
lib/Image/Imlib2.c:188: multiple definition of `XS_Image__Imlib2_save'
lib/Image/Imlib2.o(.text+0xec0):lib/Image/Imlib2.c:188: first defined here
./lib/Image/Imlib2.o(.text+0x1220): In function `XS_Image__Imlib2_get_width':
lib/Image/Imlib2.c:221: multiple definition of `XS_Image__Imlib2_get_width'
lib/Image/Imlib2.o(.text+0x1220):lib/Image/Imlib2.c:221: first defined here
./lib/Image/Imlib2.o(.text+0x15d0): In function `XS_Image__Imlib2_get_height':
lib/Image/Imlib2.c:252: multiple definition of `XS_Image__Imlib2_get_height'
lib/Image/Imlib2.o(.text+0x15d0):lib/Image/Imlib2.c:252: first defined here
./lib/Image/Imlib2.o(.text+0x1980): In function `XS_Image__Imlib2_set_color':
lib/Image/Imlib2.c:283: multiple definition of `XS_Image__Imlib2_set_color'
lib/Image/Imlib2.o(.text+0x1980):lib/Image/Imlib2.c:283: first defined here
./lib/Image/Imlib2.o(.text+0x1ed0): In function `XS_Image__Imlib2_set_colour':
lib/Image/Imlib2.c:314: multiple definition of `XS_Image__Imlib2_set_colour'
lib/Image/Imlib2.o(.text+0x1ed0):lib/Image/Imlib2.c:314: first defined here
./lib/Image/Imlib2.o(.text+0x2420): In function `XS_Image__Imlib2_draw_point':
lib/Image/Imlib2.c:345: multiple definition of `XS_Image__Imlib2_draw_point'
lib/Image/Imlib2.o(.text+0x2420):lib/Image/Imlib2.c:345: first defined here
./lib/Image/Imlib2.o(.text+0x2810): In function `XS_Image__Imlib2_draw_line':
lib/Image/Imlib2.c:374: multiple definition of `XS_Image__Imlib2_draw_line'
lib/Image/Imlib2.o(.text+0x2810):lib/Image/Imlib2.c:374: first defined here
./lib/Image/Imlib2.o(.text+0x2d60): In function `XS_Image__Imlib2_query_pixel': lib/Image/Imlib2.c:405: multiple definition of `XS_Image__Imlib2_query_pixel'
lib/Image/Imlib2.o(.text+0x2d60):lib/Image/Imlib2.c:405: first defined here
./lib/Image/Imlib2.o(.text+0x3410): In function `XS_Image__Imlib2_draw_rectangle': lib/Image/Imlib2.c:443: multiple definition of `XS_Image__Imlib2_draw_rectangle'
lib/Image/Imlib2.o(.text+0x3410):lib/Image/Imlib2.c:443: first defined here
./lib/Image/Imlib2.o(.text+0x3960): In function `XS_Image__Imlib2_fill_rectangle': lib/Image/Imlib2.c:474: multiple definition of `XS_Image__Imlib2_fill_rectangle'
lib/Image/Imlib2.o(.text+0x3960):lib/Image/Imlib2.c:474: first defined here
./lib/Image/Imlib2.o(.text+0x3eb0): In function `XS_Image__Imlib2_draw_ellipse': lib/Image/Imlib2.c:505: multiple definition of `XS_Image__Imlib2_draw_ellipse'
lib/Image/Imlib2.o(.text+0x3eb0):lib/Image/Imlib2.c:505: first defined here
./lib/Image/Imlib2.o(.text+0x4400): In function `XS_Image__Imlib2_fill_ellipse': lib/Image/Imlib2.c:536: multiple definition of `XS_Image__Imlib2_fill_ellipse'
lib/Image/Imlib2.o(.text+0x4400):lib/Image/Imlib2.c:536: first defined here
./lib/Image/Imlib2.o(.text+0x4950): In function `XS_Image__Imlib2_add_font_path': lib/Image/Imlib2.c:567: multiple definition of `XS_Image__Imlib2_add_font_path'
lib/Image/Imlib2.o(.text+0x4950):lib/Image/Imlib2.c:567: first defined here
./lib/Image/Imlib2.o(.text+0x4c90): In function `XS_Image__Imlib2_load_font':
lib/Image/Imlib2.c:595: multiple definition of `XS_Image__Imlib2_load_font'
lib/Image/Imlib2.o(.text+0x4c90):lib/Image/Imlib2.c:595: first defined here
./lib/Image/Imlib2.o(.text+0x4fc0): In function `XS_Image__Imlib2_get_text_size': lib/Image/Imlib2.c:626: multiple definition of `XS_Image__Imlib2_get_text_size'
lib/Image/Imlib2.o(.text+0x4fc0):lib/Image/Imlib2.c:626: first defined here
./lib/Image/Imlib2.o(.text+0x55e0): In function `XS_Image__Imlib2_draw_text':
lib/Image/Imlib2.c:679: multiple definition of `XS_Image__Imlib2_draw_text'
lib/Image/Imlib2.o(.text+0x55e0):lib/Image/Imlib2.c:679: first defined here
./lib/Image/Imlib2.o(.text+0x5bf0): In function `XS_Image__Imlib2_crop':
lib/Image/Imlib2.c:725: multiple definition of `XS_Image__Imlib2_crop'
lib/Image/Imlib2.o(.text+0x5bf0):lib/Image/Imlib2.c:725: first defined here
./lib/Image/Imlib2.o(.text+0x61e0): In function `XS_Image__Imlib2_blend':
lib/Image/Imlib2.c:762: multiple definition of `XS_Image__Imlib2_blend'
lib/Image/Imlib2.o(.text+0x61e0):lib/Image/Imlib2.c:762: first defined here
./lib/Image/Imlib2.o(.text+0x6c00): In function `XS_Image__Imlib2_draw_polygon': lib/Image/Imlib2.c:806: multiple definition of `XS_Image__Imlib2_draw_polygon'
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
error building lib/Image/Imlib2.o from 'lib/Image/Imlib2.so' at /usr/lib/perl5/site_perl/5.8.1/Module/Build/Base.pm line 2004.
make: *** [all] Error 2


Anyone have any thoughts?

I'm running a Fedora Core 1 box
perl 5.8.1

"rpm -qa | grep imlib2" yields
imlib2-filters-1.1.0-1
imlib2-loader_png-1.1.0-1
imlib2-devel-1.1.0-1
imlib2-loader_argb-1.1.0-1
imlib2-loader_jpeg-1.1.0-1
imlib2-loader_pnm-1.1.0-1
imlib2-loader_xpm-1.1.0-1
imlib2-1.1.0-1
imlib2-loader_gif-1.1.0-1
imlib2-loader_tga-1.1.0-1

and I've installed all the other modules for apache::gallery without problem, so perl in general seems to be happy.
I just noticed there's a new version of module::build (0.24) out there
today, but not sure if that will just confound my problems or not.
Thanks in advance!

_________________________________________________________________
Click, drag and drop. My MSN is the simple way to design your homepage. http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers