aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amuleweb crash on Ubuntu Feisty  (Read 4066 times)

maciste

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Amuleweb crash on Ubuntu Feisty
« on: May 15, 2007, 10:54:43 AM »

Hi,
amuleweb crashes every time after login on Ubuntu Feisty. I think it's an Ubuntu packet problem. I tried to start it manualy on a terminal and before crashing it showed me a message like  this "can't find black.gif" or similar (i don't remember).  I've copied the webserver directory from  the source code tarball and it worked but now it's showing me other errors about other files not found. I've installed the official ubuntu packet. Tonight i'm going to compile Amule from source code.
Logged

lfroen

  • Guest
Re: Amuleweb crash on Ubuntu Feisty
« Reply #1 on: May 15, 2007, 12:19:51 PM »

I already heard such report. Can you post flags that were used for package compilation?
Logged

maciste

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Amuleweb crash on Ubuntu Feisty
« Reply #2 on: May 15, 2007, 04:02:56 PM »

I don't know how to get these flags.  I've used the official ubuntu Amule and not the source code version.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Amuleweb crash on Ubuntu Feisty
« Reply #3 on: May 15, 2007, 04:42:06 PM »

lfroen:
Here are the flags.
Quote
confflags = --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
       --disable-dependency-tracking --disable-ccache --disable-debug      \
       --enable-amule-daemon --enable-amulecmd --enable-ed2k --enable-webserver   \
       --enable-amule-gui --enable-cas --enable-wxcas --enable-alc --enable-alcc   \
       --disable-embedded-crypto
Logged

lfroen

  • Guest
Re: Amuleweb crash on Ubuntu Feisty
« Reply #4 on: May 15, 2007, 05:21:47 PM »

OK, flags looks OK, now I need to see "configure" output in order to check whether libpng is detected. And it must be listed in package dependencies (I guess).
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Amuleweb crash on Ubuntu Feisty
« Reply #5 on: May 15, 2007, 05:27:07 PM »

This one's missing now. (I've just downloaded the source tarball)
Quote
Build-Depends: autotools-dev, debhelper, quilt, libglib2.0-dev, zlib1g-dev, libgd2-xpm-dev, libreadline5-dev, libcrypto++-dev, libwxgtk2.8-dev, wx2.8-i18n
Logged

lfroen

  • Guest
Re: Amuleweb crash on Ubuntu Feisty
« Reply #6 on: May 15, 2007, 06:04:57 PM »

That's your explanation. Package is built without libpng.
Logged

madmanlxl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Amuleweb crash on Ubuntu Feisty
« Reply #7 on: May 16, 2007, 03:09:51 PM »

Simple question about the above mentioned.
Is there going to be a fixed build out shortly? or maybe a how to for those of us that do not entirly understand what you were saying above. (me being one of those)

Quote
Build-Depends: autotools-dev, debhelper, quilt, libglib2.0-dev, zlib1g-dev, libgd2-xpm-dev, libreadline5-dev, libcrypto++-dev, libwxgtk2.8-dev, wx2.8-i18n

Hell not sure what to do with this line. --^   :-S
Logged

lfroen

  • Guest
Re: Amuleweb crash on Ubuntu Feisty
« Reply #8 on: May 16, 2007, 04:17:51 PM »

Quote
Is there going to be a fixed
I have no idea where this package is coming from or who's maintaining it.
Logged

madmanlxl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Amuleweb crash on Ubuntu Feisty
« Reply #9 on: May 17, 2007, 10:33:18 AM »

lfroen :
Quote
I have no idea where this package is coming from or who's maintaining it.

The package is that of which is contained in the default ubuntu packages. at least this is the case for me.

Is there a way i can go about fixing the problem? As i have already install the packages and also installed the source of  libpng but still a no go.

btw. amuled is working fine its just the the web component doesn't generate the png files at all.
Logged

pochu

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 34
Re: Amuleweb crash on Ubuntu Feisty
« Reply #10 on: May 17, 2007, 11:18:34 AM »

Thanks for the report. wuischke has notified me at IRC, and I'll fix it.

libpng is there at build time, since it's a dependency of a build-dependency. The problem is that since it's not explicitly mentioned, debhelper doesn't put it at the "Depends:" field, so end users may miss it, which is what has happened.

Cheers
pochu
Logged

lfroen

  • Guest
Re: Amuleweb crash on Ubuntu Feisty
« Reply #11 on: May 17, 2007, 01:40:34 PM »

Quote
btw. amuled is working fine its just the the web component doesn't generate the png files at all.
http://forum.amule.org/index.php?action=post;topic=12630.0;num_replies=10
Post reply

Actually this means that configure doesn't fine libpng headers and as a result disables dynamic images.

Quote
libpng is there at build time
configure doesn't think so. Check it's output whether libpng is detected.
Logged

pochu

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 34
Re: Amuleweb crash on Ubuntu Feisty
« Reply #12 on: May 17, 2007, 01:49:43 PM »

Quote
libpng is there at build time
configure doesn't think so. Check it's output whether libpng is detected.

From http://librarian.launchpad.net/6720266/buildlog_ubuntu-feisty-i386.amule_2.1.3-1ubuntu2_FULLYBUILT.txt.gz
(latest Ubuntu build on 2007-03-09)

Libraries aMule will use to build:
                                       wxWidgets             2.8.1
                                       crypto++              5.2.1
                                       libpng                1.2.15beta5
                                       libgd                 2.0.34
                                       zlib                  1.2.3

So it's installed, detected and used ;)
Logged