aMule Forum

English => Compilation problems => Topic started by: lospo on March 22, 2007, 10:49:42 PM

Title: LibPng
Post by: lospo on March 22, 2007, 10:49:42 PM
In my libpng the version is 1.2.15beta5 and when i try "configure" system tell me that my libpng aren't right.
(i think bcause the "beta" word isn't expectec: only integer are allowed.)

But everything gonna be allright, but... when i start aMuled and i connect to localhost:4711 semms to be ok (it ask for the right pwd, static images...) but when i try to click on "Statistics" the webserver die. and the error is:

22:35:44: Error: can't open file '/usr/local/share/amule/webserver/php-default/amule_stats_download.png' (error 2: Nessun file o directory)

And i think: maybe the libpng doesn't work for a version problem??
Can anyone tell me how to modify the configure script??

Can all of you pardon me for this strange language that i used to call "Itanglish" ?

Thank you!
Title: Re: LibPng
Post by: skolnick on March 23, 2007, 11:27:11 PM
The libpng should be no problem. What was the exact error you got? remember you should also install the "devel" packages of libpng for aMule to compile fine using it. The problem with aMuleweb crashing was on old versions, it would crash if some image did not exist, I think that is corrected in recent CVS versions. Get the latest CVS from amule.hirnriss.net, compile it and report back.

Regards.
Title: Re: LibPng
Post by: lospo on March 24, 2007, 12:11:41 PM
Not better....
I've downloaded the cvs 20070323 and i did thethese things:

./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon

make

sudo make install

When all seems to finish with no problem i lunched amuled and this is the output


This binary requires you to use the flag --even-if-lfroen-complains-this-will-stay and only if you're very sure of it. Warning: If you're lfroen, you might find this annoying. That pleases me.

It was bettere the earlier version.... >:(
Title: Re: LibPng
Post by: wuischke on March 24, 2007, 04:27:34 PM
Hi lospo:

Be a good boy and use amule --even-if-lfroen-complains-this-will-stay to launch aMule and make Kry happy.

Kind regards
Title: Re: LibPng
Post by: lospo on March 26, 2007, 01:02:01 PM
I am a good boy, i started the daemon as you write below and... it works!

BUT...

The problem is involved to original:

Quote
12:59:06: Error: can't open file '/usr/local/share/amule/webserver/default/amule_stats_upload.png' (error 2: Nessun file o directory)
CFileImage: failed to open /usr/local/share/amule/webserver/default/amule_stats_upload.png
Segmentation fault (core dumped)


Because there isn't any PNG file into the dir!!!!

Maybe the permission aren't ok??

If some one know... TALK!
;)
Title: Re: LibPng
Post by: lospo on March 26, 2007, 01:05:57 PM
YEAH!!!!!!!
It work for me !!!!!!

After this command:
Quote
sudo chmod 777 /usr/local/share/amule/webserver/default/

it can't create PNGs because it havn't permission!!!! He was right!!! not me!!!

Now the survey:

"How stupid i am?"

Ans. 01: a bit
Ans. 02: a lot
Ans. 03: a very beautiful stupid.... (photos soon...)