Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Image::Imlib2 + Imlib2 problems (with latest Imlib2 only)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
arcterex
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 109

PostPosted: Sat Feb 05, 2005 12:23 am    Post subject: Image::Imlib2 + Imlib2 problems (with latest Imlib2 only) Reply with quote

Edit Downgraded Imlib2 to 1.1.2 and it all started working again. Dang. Would be nice to have this working with the latest version through.

Not sure when it started, but my apache::gallery 0.8 (and 0.9.1) install is broken. Seems that Image::Imlib2 isn't working properly. The problem boils down to Image::Imlib2 (and possibly just imlib2) having problems loading images. If I do this:
Code:
perl -MImage::Imlib2 -lwe 'my $img = Image::Imlib2->load("image.jpg") or die $!;'

I get
Code:
Died at -e line 1.

My C is rusty so I can't check my imlib2 install with a similar test. But I've unmerged and re-emerged the following:

dev-perl/Image-Imlib2 1.03
media-libs/imlib2 1.2.0 (and 1.2.20050116)
media-libs/jpeg 6b-r4
media-libs/giflib 4.1.0-r3
media-libs/libpng 1.2.8

No problems on compiling anything, and I've gone through and made sure there aren't duplicate copies of the .pm files anywhere. The only problem I see is with the make test phase of Image-Imlib2 which when I run it by hand and run make test get:

Code:
/usr/bin/perl5.8.5 Build --makefile_env_macros 1 test
t/simple....NOK 6#     Failed test (t/simple.t at line 33)
#     Structures begin differing at:
#          $got->[3] = '0'
#     $expected->[3] = '255'
t/simple....ok 7/7# Looks like you failed 1 tests of 7.
t/simple....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
        Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/simple.t     1   256     7    1  14.29%  6
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test] Error 2


Which brings me back to imlib2 as the cause of the problems. All the stuff on the net that I've found seem to point to issues coming from not having jpeg or libgif or whatever being compiled right. However, I can't see where the problems are. Anyone able to help me out?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum