aMule Forum
English => aMule Help => Topic started by: kosaman on June 26, 2006, 07:08:33 PM
-
Hello.
I start my amule:
# amuled
and when I type in my browser (another PC in LAN)
http://192.168.0.1:4711/
I receive:
*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /home/kosa/.aMule/Incoming/ shared
18:01:31: Error: can't open file '/usr/local/share/amule/webserver/php-default/red.gif' (error 2: No such file or directory)
I compilled amule:
# ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --disable-debug
Any ideas?
Regards,
Tom
-
Did you only compile it (./configure ; make) or did you also install it (./configure ; make ; make install)?
-
whatever you did you miss 2 things
-libpng and devel pkg
-libgd and devel pkg
edit: gerd78 you helped him in teh "compilation forum" so why you ask if he compiles it :P
so as solution, install teh 2pkt mentioned above and !!recompile!! amule(web)
-
Yes, I did gmake and gmake install.
stefanero, when should I set this options?
-
Originally posted by stefanero
gerd78 you helped him in teh "compilation forum" so why you ask if he compiles it :P
I know that he compiled it, but I don't know if he installed it afterwards. He might be running it from the build tree, which works fine for the monolithic app, but not for amuleweb.
EDIT: OK, obsolete, forget it. ;)
@kosaman: You have to install libpng including the development headers and libgd including the development headers. They should be available in the ports collection. Afterwards you recompile amuleweb with the same options - it will pick up the new libraries automatically.
For your information, you already have libpng, only libgd is still missing. The name of the port is "gd" (two letters, without the "lib" prefix).
-
Hmm, look at it:
# pkg_info
...
gd-2.0.33_4,1 A graphics library for fast creation of images
png-1.2.8_3 Library for manipulating PNG images
wxgtk2-2.6.1 The wxWidgets GUI toolkit with GTK+ bindings
wxgtk2-common-2.6.1 The wxWidgets GUI toolkit (common files)
wxgtk2-unicode-2.6.2_2 The wxWidgets GUI toolkit (Unicode)
...
I have libpng and libgd, don't I?
-
Your ./configure output from the other thread indicates that the gd installation is incomplete.
What I mean are these lines:
configure:
WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
Please check that gdlib-config is in your default path, check out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your gdlib-config has other name.
Please try again with --with-gdlib-config=/usr/bin/gdlib-config
(replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
If you use compiled packages check if you have devel pack installed.
To download the latest version check http://www.boutell.com/gd
for sources.
Please check that you have a file named gdlib-config in your PATH (e.g. /usr/bin), a file named gd.h in an include directory (e.g. /usr/include) and a symlink named libgd.so in the library search path (e.g. /usr/lib). Or maybe just reinstall gd.
-
ok,
i've reinstalled gd and I have:
/usr/local/bin/gdlib-config
/usr/local/include/gd.h
/usr/local/lib/libgd.so
but after:
# ./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --disable-debug --with-gdlib-config=/usr/local/bin/gdlib-config
amule doesn't see it, I receive:
...
configure:
WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
Please check that gdlib-config is in your default path, check out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your gdlib-config has other name.
Please try again with --with-gdlib-config=/usr/bin/gdlib-config
(replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
If you use compiled packages check if you have devel pack installed.
To download the latest version check http://www.boutell.com/gd
for sources.
...
What's wrong?
-
Please attach the file "config.log" which was created in the build directory by the failed ./configure run.
-
Read the message.
-
...
-
OK, the log shows that it doesn't pick up -I/usr/local/include for some reason.
Please try if it works with this ./configure invocation:
export PATH="/usr/local/bin:$PATH"
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
./configure --enable-blubb --disable-blah
-
ok, but where should I paste this lines?
forgive me this stupid question:)
-
Into your terminal where you are going to build aMule.
And it must be the same terminal where you run "make" afterwards. --enable-blubb --disable-blah is just an example, insert the configure arguments there that you used before. They are fine.
-
ok, now it seems to be fine and I am doing gmake.
Thanks:)