On Thu, 2005-03-31 at 16:15, Mark R. Bowyer wrote:
> Just to add to the debate, I just built the same two snapshot files on
> Solaris 10.1_11/x64 on my Ferrari laptop, and it all works great.
> Somewhat confused as to the cause now =O( Just about everything above
> the kernel is identical. Except this time I had --prefix=/usr/local...
Oh, I do go on... =O}
Has Imlib2 1.2.0 been tested for endian-ness? On my X64 box, all is
fine, but on my SPARC system, I get:
42 ]imlib2_test
libpng warning: Application was compiled with png.h from libpng-1.0.8
libpng warning: Application is running with png.c from libpng-1.2.5
libpng error: Incompatible libpng version in application and library
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_width();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_height();
With the parameter:
image
being NULL. Please fix your program.
libpng warning: Application was compiled with png.h from libpng-1.0.8
libpng warning: Application is running with png.c from libpng-1.2.5
libpng error: Incompatible libpng version in application and library
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_width();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_height();
With the parameter:
image
being NULL. Please fix your program.
---
And then I get a window that's mostly black, with the top-left corner
lighting/shading effect, and bars across the bottom, but that's all.
Move my mouse around in there, and the output goes mad, much as above.
And I start getting horizontal bars of noise across the window, with the
shaded bars smaller beneath them...
I also see this:
47 ]pldd 709755
709755: imlib2_test
/home/markbo/E/bin/imlib2_test
/home/markbo/E/lib/libImlib2.so.1.2.0
/usr/sfw/lib/libfreetype.so.6
/usr/openwin/lib/libX11.so.4
/usr/openwin/lib/libXext.so.0
/lib/libdl.so.1
/lib/libm.so.2
/lib/libc.so.1
/usr/sfw/lib/libgcc_s.so.1
/usr/lib/libz.so.1
/platform/sun4u-us3/lib/libc_psr.so.1
/lib/libsocket.so.1
/lib/libnsl.so.1
/home/markbo/E/lib/imlib2/loaders/zlib.so
/home/markbo/E/lib/imlib2/loaders/xpm.so
/home/markbo/E/lib/imlib2/loaders/tga.so
/home/markbo/E/lib/imlib2/loaders/pnm.so
/home/markbo/E/lib/imlib2/loaders/png.so
/usr/lib/libpng.so.3.1.2.5
/home/markbo/E/lib/imlib2/loaders/lbm.so
/home/markbo/E/lib/imlib2/loaders/jpeg.so
/usr/lib/libjpeg.so.62.0.0
/home/markbo/E/lib/imlib2/loaders/bz2.so
/usr/lib/libbz2.so.1
/home/markbo/E/lib/imlib2/loaders/bmp.so
/home/markbo/E/lib/imlib2/loaders/argb.so
and I don't have an older png.h on my system - so it *is* Imlib2, but
what's it doing?
Dig in with truss -p and:
stat("notepad.ttf", 0xFFBFC408) Err#2 ENOENT
stat("notepad.ttf", 0xFFBFC500) Err#2 ENOENT
stat("notepad.TTF", 0xFFBFC408) Err#2 ENOENT
stat("notepad.TTF", 0xFFBFC500) Err#2 ENOENT
stat("notepad", 0xFFBFC408) Err#2 ENOENT
stat("notepad", 0xFFBFC500) Err#2 ENOENT
stat("/home/markbo/E/share/imlib2/data/fonts/notepad.ttf", 0xFFBFC408) =
0
stat("/home/markbo/E/share/imlib2/data/fonts/notepad.ttf", 0xFFBFC500) =
0
stat("notepad.ttf", 0xFFBFC408) Err#2 ENOENT
stat("notepad.ttf", 0xFFBFC500) Err#2 ENOENT
stat("notepad.TTF", 0xFFBFC408) Err#2 ENOENT
stat("notepad.TTF", 0xFFBFC500) Err#2 ENOENT
stat("notepad", 0xFFBFC408) Err#2 ENOENT
stat("notepad", 0xFFBFC500) Err#2 ENOENT
stat("/home/markbo/E/share/imlib2/data/fonts/notepad.ttf", 0xFFBFC408) =
0
stat("/home/markbo/E/share/imlib2/data/fonts/notepad.ttf", 0xFFBFC500) =
0
stat("/home/markbo/E/share/imlib2/data/images/mush.png", 0xFFBFC490) = 0
stat("/home/markbo/E/share/imlib2/data/images/mush.png", 0xFFBFC398) = 0
stat("/home/markbo/E/share/imlib2/data/images/mush.png", 0xFFBFC490) = 0
time() = 1112286690
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBFC2E8) = 0
fstat64(4, 0xFFBFC190) = 0
ioctl(4, TCGETA, 0xFFBFC274) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF358, SEEK_CUR) = 4
llseek(4, 0, SEEK_SET) = 0
libpng warning: write(2, " l i b p n g w a r n i".., 16) = 16
Application was compiled with png.h from libpng-1.0.8write(2, " A p p l
i c a t i o n ".., 53) = 53
write(2, "\n", 1) = 1
libpng warning: write(2, " l i b p n g w a r n i".., 16) = 16
Application is running with png.c from libpng-1.2.5write(2, " A p p l
i c a t i o n ".., 53) = 53
write(2, "\n", 1) = 1
libpng error: write(2, " l i b p n g e r r o r".., 14) = 14
Incompatible libpng version in application and librarywrite(2, " I n c o
m p a t i b l e".., 54) = 54
write(2, "\n", 1) = 1
llseek(4, 0, SEEK_CUR) = 0
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBFC1B0) = 0
fstat64(4, 0xFFBFC058) = 0
ioctl(4, TCGETA, 0xFFBFC13C) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF35A, SEEK_CUR) = 6
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
stat("/home/markbo/E/share/imlib2/data/images/mush.png", 0xFFBFC088) = 0
fstat64(4, 0xFFBFBE58) = 0
fstat64(4, 0xFFBFBD00) = 0
ioctl(4, TCGETA, 0xFFBFBDE4) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF356, SEEK_CUR) = 2
close(4) = 0
getpid() = 709755 [412634]
lstat64("/tmp/imlib2_loader_bz2-lCWEuR", 0xFFBF8368) Err#2 ENOENT
open("/tmp/imlib2_loader_bz2-lCWEuR", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 5
fstat64(5, 0xFFBF8278) = 0
fstat64(5, 0xFFBF8120) = 0
ioctl(5, TCGETA, 0xFFBF8204) Err#25 ENOTTY
read(5, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
read(5, 0x000471D4, 8192) = 0
llseek(5, 0, SEEK_CUR) = 3244
close(5) = 0
close(4) = 0
unlink("/tmp/imlib2_loader_bz2-lCWEuR") = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBFBE28) = 0
fstat64(4, 0xFFBFBCD0) = 0
ioctl(4, TCGETA, 0xFFBFBDB4) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
read(4, 0x00037AFC, 8192) = 0
setcontext(0xFFBFBB90)
llseek(4, 0, SEEK_CUR) = 3244
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBFC218) = 0
fstat64(4, 0xFFBFC0C0) = 0
ioctl(4, TCGETA, 0xFFBFC1A4) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF360, SEEK_CUR) = 12
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBFC130) = 0
fstat64(4, 0xFFBFBFD8) = 0
ioctl(4, TCGETA, 0xFFBFC0BC) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF355, SEEK_CUR) = 1
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat(4, 0xFFBFC490) = 0
mmap(0x00000000, 3244, PROT_READ, MAP_SHARED, 4, 0) = 0xFEBD0000
munmap(0xFEBD0000, 3244) = 0
close(4) = 0
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 4
fstat64(4, 0xFFBF5808) = 0
fstat64(4, 0xFFBF56B0) = 0
ioctl(4, TCGETA, 0xFFBF5794) Err#25 ENOTTY
read(4, "89 P N G\r\n1A\n\0\0\0\r".., 8192) = 3244
llseek(4, 0xFFFFFFFFFFFFF35D, SEEK_CUR) = 9
llseek(4, 0, SEEK_SET) = 0
llseek(4, 0, SEEK_CUR) = 0
close(4) = 0
stat("/home/markbo/E/share/imlib2/data/images/mush.png", 0xFFBFC470) = 0
getpid() = 709755 [412634]
lstat64("/tmp/imlib2_loader_zlib-mCWEuR", 0xFFBFBED8) Err#2 ENOENT
open("/tmp/imlib2_loader_zlib-mCWEuR", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
open("/home/markbo/E/share/imlib2/data/images/mush.png", O_RDONLY) = 5
read(5, "89 P N G\r\n1A\n\0\0\0\r".., 1024) = 1024
read(5, "82 \b02A4EFA3B5 "\f C".., 1024) = 1024
read(5, "C3DAE8 =CB9C83 J9204 ) %".., 1024) = 1024
read(5, " DFE12 oDF12A58D86CA1F ^".., 172) = 172
close(5) = 0
close(4) = 0
unlink("/tmp/imlib2_loader_zlib-mCWEuR") = 0
write(2, " * * * * * I m l i b 2".., 82) = 82
write(2, " i m l i b _ i m a g e _".., 21) = 21
write(2, " ( ) ;\n\n\t W i t h t".., 28) = 28
write(2, " i m a g e", 5) = 5
write(2, "\n\n\t b e i n g N U L".., 40) = 40
write(2, " * * * * * I m l i b 2".., 82) = 82
write(2, " i m l i b _ i m a g e _".., 22) = 22
write(2, " ( ) ;\n\n\t W i t h t".., 28) = 28
write(2, " i m a g e", 5) = 5
write(2, "\n\n\t b e i n g N U L".., 40) = 40
write(2, " * * * * * I m l i b 2".., 82) = 82
write(2, " i m l i b _ f r e e _ i".., 16) = 16
write(2, " ( ) ;\n\n\t W i t h t".., 28) = 28
write(2, "\n\n\t b e i n g N U L".., 40) = 40
repeats for a long time...
So - I'm open to this being a config error on this system I can't find,
but it's starting to look deeper? Or am I an idiot? Ben?
Ta,
--
o o mailto:[EMAIL PROTECTED]
/v\ark R. Bowyer http://mark.thebowyers.me.uk [EMAIL PROTECTED]
`-' --------------------------------------- /"\
...fingerprint = 7924 9E9E 7B91 225E B065 \ / ASCII Ribbon Campaign
1024D/15140DC1 39D0 551D ABE6 1514 0DC1 X Against HTML Mail
-------------------------------------------- / \
BURLINGJOBB A seventeenth-century crime by which excrement is thrown
into the street from a ground-floor window.
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel