Re: [Pingus-Devel] Error message when I launch pingus

2013-05-09 Thread YuGiOhJCJ Mailing-List
On Fri, 10 May 2013 04:25:32 +0200
Ingo Ruhnke  wrote:

> On Fri, May 10, 2013 at 4:02 AM, YuGiOhJCJ Mailing-List <
> yugiohjcj-mailingl...@laposte.net> wrote:
> 
> > I can open it with GIMP:
> > $ gimp /usr/share/pingus/images/fonts/chalk-40px.png
> >
> > Or check the md5sum:
> > $ md5sum /usr/share/pingus/images/fonts/chalk-40px.png
> > 5eb9e51bbcadc00479da6098df83cf8c
> >  /usr/share/pingus/images/fonts/chalk-40px.png
> > $ md5sum
> > /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
> > 5eb9e51bbcadc00479da6098df83cf8c
> >  
> > /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
> >
> > Do you see any other test I can do to discover why I got this problem ?
> >
> 
> "git pull" the latest version, commited a small fix that while not fixing
> the problem, at least should give a better error message.
> 

Problem solved :)

SuperTux had the same problem.
$ supertux 
[...]
Error: Can't load
/usr/bin/../share/supertux/images/status/letters-black.png
[...]

So, the problem was not on Pingus but on SDL_image.

I have written a minimal code using the SDL_image library to be sure.
And I got this error:
$ ./main.out 
IMG_Init: Failed loading png_set_longjmp_fn: /usr/lib/libpng.so.3: undefined 
symbol: _png_set_longjmp_fn

So, the problem is that SDL_image is using my libpng shared library that 
doesn't contain the required symbol.

I have recompiled SDL_image using these options:
--disable--jpg-shared --disable-png-shared --disable-tif-shared 
--disable-webp-shared

And now it works :)

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Error message when I launch pingus

2013-05-09 Thread Ingo Ruhnke
On Fri, May 10, 2013 at 4:02 AM, YuGiOhJCJ Mailing-List <
yugiohjcj-mailingl...@laposte.net> wrote:

> I can open it with GIMP:
> $ gimp /usr/share/pingus/images/fonts/chalk-40px.png
>
> Or check the md5sum:
> $ md5sum /usr/share/pingus/images/fonts/chalk-40px.png
> 5eb9e51bbcadc00479da6098df83cf8c
>  /usr/share/pingus/images/fonts/chalk-40px.png
> $ md5sum
> /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
> 5eb9e51bbcadc00479da6098df83cf8c
>  
> /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
>
> Do you see any other test I can do to discover why I got this problem ?
>

"git pull" the latest version, commited a small fix that while not fixing
the problem, at least should give a better error message.

-- 
Blog: http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:  59461927
___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Error message when I launch pingus

2013-05-09 Thread YuGiOhJCJ Mailing-List
On Fri, 10 May 2013 03:43:41 +0200
Ingo Ruhnke  wrote:

> On Thu, May 9, 2013 at 10:48 PM, YuGiOhJCJ Mailing-List <
> yugiohjcj-mailingl...@laposte.net> wrote:
> 
> > Welcome to Pingus 0.7.6!
> > 
> > userdir: /home/yugiohjcj/.pingus/
> > datadir: /usr/share/pingus
> > language:English (en)
> > sound support:   enabled
> > music support:   enabled
> > fullscreen:  disabled
> >
> > Pingus: Standard exception caught!:
> > Surface::Surface(): couldn't load: datadir://images/fonts/chalk-40px.png
> >
> > I use pingus from GIT ( 4da0ae9d3544b72587fe862a93b3f9442d6519bd ).
> > I do these steps to compile it:
> > $ make PREFIX=/usr
> > DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
> > $ make install PREFIX=/usr
> > DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
> > Then I create the package for my distro (Slackware 14).
> >
> > I must use pingus from GIT because the 0.7.6 tarball released has an other
> > error message when I launch it (
> > http://code.google.com/p/pingus/issues/detail?id=132&can=1&q=font&colspec=ID%20Type%20Status%20Milestone%20Component%20Owner%20Summary).
> >
> > Is it a bug ?
> >
> 
> How does /usr/share/pingus/ look? Does it contain
> images/fonts/chalk-40px.png? Does your DESTDIR contain that file after the
> "make install"?
> 

Yes, the /usr/share/pingus/ directory contains the file:
$ find /usr/share/pingus/ -name "chalk-40px.png"
/usr/share/pingus/images/fonts/chalk-40px.png

Yes, the DESTDIR directory contains the file:
$ find /tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd -name 
"chalk-40px.png"
/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png

I can open it with GIMP:
$ gimp /usr/share/pingus/images/fonts/chalk-40px.png

Or check the md5sum:
$ md5sum /usr/share/pingus/images/fonts/chalk-40px.png
5eb9e51bbcadc00479da6098df83cf8c  /usr/share/pingus/images/fonts/chalk-40px.png
$ md5sum 
/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png
 
5eb9e51bbcadc00479da6098df83cf8c  
/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd/usr/share/pingus/images/fonts/chalk-40px.png

Do you see any other test I can do to discover why I got this problem ?

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


Re: [Pingus-Devel] Error message when I launch pingus

2013-05-09 Thread Ingo Ruhnke
On Thu, May 9, 2013 at 10:48 PM, YuGiOhJCJ Mailing-List <
yugiohjcj-mailingl...@laposte.net> wrote:

> Welcome to Pingus 0.7.6!
> 
> userdir: /home/yugiohjcj/.pingus/
> datadir: /usr/share/pingus
> language:English (en)
> sound support:   enabled
> music support:   enabled
> fullscreen:  disabled
>
> Pingus: Standard exception caught!:
> Surface::Surface(): couldn't load: datadir://images/fonts/chalk-40px.png
>
> I use pingus from GIT ( 4da0ae9d3544b72587fe862a93b3f9442d6519bd ).
> I do these steps to compile it:
> $ make PREFIX=/usr
> DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
> $ make install PREFIX=/usr
> DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
> Then I create the package for my distro (Slackware 14).
>
> I must use pingus from GIT because the 0.7.6 tarball released has an other
> error message when I launch it (
> http://code.google.com/p/pingus/issues/detail?id=132&can=1&q=font&colspec=ID%20Type%20Status%20Milestone%20Component%20Owner%20Summary).
>
> Is it a bug ?
>

How does /usr/share/pingus/ look? Does it contain
images/fonts/chalk-40px.png? Does your DESTDIR contain that file after the
"make install"?

-- 
Blog: http://grumbel.blogspot.com/
JabberID: xmpp:grum...@jabber.org
ICQ:  59461927
___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel


[Pingus-Devel] Error message when I launch pingus

2013-05-09 Thread YuGiOhJCJ Mailing-List
Hello,

When I run pingus on a GNU/Linux OS I got this message:
$ pingus
Welcome to Pingus 0.7.6!

userdir: /home/yugiohjcj/.pingus/
datadir: /usr/share/pingus
language:English (en)
sound support:   enabled
music support:   enabled
fullscreen:  disabled

Pingus: Standard exception caught!:
Surface::Surface(): couldn't load: datadir://images/fonts/chalk-40px.png

I use pingus from GIT ( 4da0ae9d3544b72587fe862a93b3f9442d6519bd ).
I do these steps to compile it:
$ make PREFIX=/usr DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
$ make install PREFIX=/usr 
DESTDIR=/tmp/pingus-4da0ae9d3544b72587fe862a93b3f9442d6519bd
Then I create the package for my distro (Slackware 14).

I must use pingus from GIT because the 0.7.6 tarball released has an other 
error message when I launch it ( 
http://code.google.com/p/pingus/issues/detail?id=132&can=1&q=font&colspec=ID%20Type%20Status%20Milestone%20Component%20Owner%20Summary
 ).

Is it a bug ?

Thank you.
Regards.

___
Pingus-Devel mailing list
Pingus-Devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pingus-devel