aMule Forum
English => Compilation problems => Topic started by: mithrandir77 on October 21, 2005, 01:35:00 PM
-
Hi to everyone.
I'm a new user and i have the same problem, configure ok, make ko.
But i have tried with solutions above and nothing is changed
The output is attacched
can anyone help me? ;(
-
Splitted from the other thread since the problem seems to be something different. Please open a new thread for your problem instead of posting into an existing one unless you are really sure that your problem is the same. (And "amule crashes" doesn't qualify as "the same problem" ;) )
-
Originally posted by thedude0001
Splitted from the other thread since the problem seems to be something different. Please open a new thread for your problem instead of posting into an existing one unless you are really sure that your problem is the same. (And "amule crashes" doesn't qualify as "the same problem" ;) )
I'm sorry... i suspect that the problem is really similar to previous ;)
-
However
i've tried to compile later this configure
./configure --with-wx-config=/usr/local/bin/wx-config --enable-webserver --enable-amulecmd --enable-amulecmdgui --enable-webservergui --enable-amule-gui --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-kad-compile --enable-amule-daemon --enable-optimize
and it's fails like i have post previously
If i try to compile with this configure
wx_config_args="--toolkit=gtk" ./configure --enable-webserver --enable-amulecmd --enable-amulecmdgui --enable-webservergui --enable-amule-gui --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-kad-compile --enable-amule-daemon --enable-optimize
it fails but in another moment of compilation, the previous step doesn't fail...
?(
-
#ls -l /usr/bin/wx*
-rwxr-xr-x 1 root root 4992 2005-03-19 20:12 /usr/bin/wx2_conv
lrwxrwxrwx 1 root root 39 2005-10-21 14:32 /usr/bin/wx-config -> /usr/lib/wx/config/gtk-ansi-release-2.6
lrwxrwxrwx 1 root root 8 2005-10-21 14:32 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x 1 root root 74642 2005-04-24 03:12 /usr/bin/wxrc-2.6
#ls -l /usr/local/bin/wx*
-rwxr-xr-x 1 root root 988719 2005-10-21 13:17 /usr/local/bin/wxcas
lrwxrwxrwx 1 root root 46 2005-10-21 14:30 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-ansi-release-2.6
lrwxrwxrwx 1 root root 8 2005-10-21 14:30 /usr/local/bin/wxrc -> wxrc-2.6
-rwxr-xr-x 1 root root 74691 2005-10-21 14:30 /usr/local/bin/wxrc-2.6
# rpm -qa | grep wx
wxGTK-2.6.0-1
wxGTK-compat-2.5.3.1-5
These are the libraries installed on my Suse 9.3 system
-
well btw:
you have 3 wx-GTK installed on your system, probably one from suse and one from somewhere else, and also you compiled on in /usr/local/bin
to say it short, its a big time mess ;)
fastest way would be
remove the 2rpms and live with teh wxGTK install in /usr/local/bin
and recompile amule with that....
IF you get a startup error afterwards with amule, saying it cant find the libraries
ADD
/usr/local/lib
to
/etc/ld.so.conf
and rerun /sbin/ldconfig, tehn it should work
-
I have problems with a lot of dependencies for wxGTK. These make me not able to uninstall with rpm -e
I think is not a nice solution to force uninstalling ?(
P.s.: sorry for using of two post ;)
-
try to use the configure flag
--with-wx-config=/usr/local/bin/wx-config
and see if that helps...
I think your compile problems are due to the wx-libs mess....but mabye specifying the one you compiled yourself might help
-
I just use this option
./configure --with-wx-config=/usr/local/bin/wx-config --enable-webserver --enable-amulecmd --enable-amulecmdgui --enable-webservergui --enable-amule-gui --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-kad-compile --enable-amule-daemon --enable-optimize
;(
-
whats the current error msg? can you also try to download a "clean" tarball and unpack and use this one?
-
Ok, i will try to download a clean tarball and try another time.
The error message is the same of previous, but it happens 3 or 4 compilation steps later.
P.s.: for the cvs tarball, i need only to unpack, run configure, make and make install as other tarball or i need other steps?
-
yup only those steps....
-
I have tried with a clean tarball but the result is the same
I have attached make output.
;(
-
can we try something completly different?
since my bet is still your wx-libs are brocken and it does not help to compile over and over against those brocken libs
do this for a test to find it out:
download wxGTK-2.6.2 from wxwidgets.org
mkdir /home/USER_NAME/libs/wxgtk
configure wxGTK-2.6.2 with --prefix=/home/USER_NAME/libs/wxgtk/
make and make install
...................................
now try to rebuild amule with
--with-wx-config=/home/USER_NAME/libs/wxgtk/bin/wx-config
and we will see if your wxgtk is fucked or its your systems fault ;) but I doubt so :))
stefanero
-
hi,
i fear, there could exist a third possibility: something seems changed from october, 18th...
although using a "clean" tarball and install-/builddir, this happens on my SuSE9.3-box, too, when trying to build amule with the option "--enable-webserver" and/or "--enable-amuleweb".
(even with "--disable-monolithic" and only "--enable-webserver" it fails.)
but leaving away the "--enable-webserver" and/or "--enable-amuleweb", and keeping anything as before, or trying a cvs.tar.bz2 up to october, 17th, it works. - but, without webserver, the mule is not so cool as usual, of course. :(
on the other machine with SuSE10.0, everything works fine with the same settings as before.
so, @mithrandir77: try a tarball up to october 17th, or leave away the --enable-webserver and test again, to eventually confirm this.
-
if this is the case, I will never respont to any SuSE user, exect telling them to get a working Linux....
-
lol, oh, stefanero, u are so good to me... *gg*
but pse never say never again... ;)
infact:
any ideas, what has changed from the 17th with the webserverthings?
Originally posted by mithrandir77
... I have problems with a lot of dependencies for wxGTK. These make me not able to uninstall with rpm -e
mithrandir77, dependent, from what you have installed, you should have effort with the --nodeps and then reinstall only one correct wxGTK, as stefanero said.
for example rpm -e wxGTK-2.5.3.1-5 --nodeps
(perhaps you also have to rpm -e wxGTK-devel-2.5.3.1-5 --nodeps
rpm -e wxGTK-compat-2.5.3.1-5 --nodeps
rpm -e wxGTK-gl-2.5.3.1-5 --nodeps)
and try the deltaHF´s sledgehammer, to get rid of your several wxthings before a clean reinstall:
rm -f /usr/bin/wx*
rm -rf /usr/lib/wx
rm -f /usr/lib/libwx*
rm -f /usr/local/bin/wx*
rm -rf /usr/local/lib/wx
rm -f /usr/local/lib/libwx*
don´t forget SuSEconfig/ldconfig after this.
then, after a clean newinstallation of wxGTK for SuSE9.3, the wxthingsmess should be gone.
but i fear, the problem with the errorthings on configure will stay...
-
well thats why I wanted him to compile into his homedirectoy and not use any of this "presented messy libs" and this way we can tell if its teh system or the libs ;)
about the cahnge:
well 16th worked...
17th there we NO commits
and 18th the only commit for webserver was
Reorganizing hirarchy for image classes in order to allow
creation of statistic graphs as png images.
-
Originally posted by stefanero
well thats why I wanted him to compile into his homedirectoy and not use any of this "presented messy libs" and this way we can tell if its teh system or the libs ;)
i know, but i wanted it a little bit easier for him, to get rid of his mess with this fu%&§(& wxthings.... ;)
Originally posted by stefanero
about the cahnge:
well 16th worked...
17th there we NO commits
...
ahum, perhaps i expressed myself some inaccurately (surely i should have been more attentively in school those days, decades ago...) - the tarball from 2005/10/17 works, too, meaning including the 17th. (u made it so important, that there has been _no_ changes on oct, 17th...)
Originally posted by stefanero
..
and 18th the only commit for webserver was
Reorganizing hirarchy for image classes in order to allow
creation of statistic graphs as png images.
very strange, this. but let us wait, what mithrandir77 has to report.
cu
-
Hi! I have read your discussion but i have a bad new: ;(
Also with new wxGTK the problem remains... the same of previous library...
I can try to disable amule server web, but just for testing, because i need it... :rolleyes:
What do you think i can do now? ;(
-
Revision: 5504
Author: lfroen
Date: 2005-10-17 08:16:11 +0200 (Mon, 17 Oct 2005)
Log Message:
-----------
Bringing kad info to webserver:
1 Adding EC tag (only declaration, since int128 is not transferred yet).
2 Adding container for kad nodes
3 Adding php native object for kad node
Modified Paths:
--------------
trunk/src/ECSpecialTags.h
trunk/src/kademlia/utils/UInt128.cpp
trunk/src/webserver/src/Makefile.am
trunk/src/webserver/src/WebServer.cpp
trunk/src/webserver/src/WebServer.h
trunk/src/webserver/src/php_core_lib.cpp
Modified: trunk/src/webserver/src/Makefile.am
===================================================================
--- trunk/src/webserver/src/Makefile.am 2005-10-17 04:23:02 UTC (rev 5503)
+++ trunk/src/webserver/src/Makefile.am 2005-10-17 06:16:11 UTC (rev 5504)
@@ -24,7 +24,8 @@
$(top_srcdir)/src/StringFunctions.cpp \
$(top_srcdir)/src/NetworkFunctions.cpp \
$(top_srcdir)/src/Format.cpp \
- $(top_srcdir)/src/MuleDebug.cpp
+ $(top_srcdir)/src/MuleDebug.cpp \
+ $(top_srcdir)/src/kademlia/utils/UInt128.cpp
amuleweb_SOURCES += \
php_parser.c \
@@ -58,7 +59,8 @@
$(top_srcdir)/src/StringFunctions.cpp \
$(top_srcdir)/src/NetworkFunctions.cpp \
$(top_srcdir)/src/Format.cpp \
- $(top_srcdir)/src/MuleDebug.cpp
+ $(top_srcdir)/src/MuleDebug.cpp \
+ $(top_srcdir)/src/kademlia/utils/UInt128.cpp
amulewebDLG_SOURCES += \
php_parser.c \
I bet this causes the bugs.
-
Originally posted by mithrandir77
What do you think i can do now? ;(
get a REAL linux? or at least update this crapy 9.3 since IhmSelbst said its working on 10.0
suse is really open now and you can get it from http://www.opensuse.org ;)
btw: what configure did you use now? can you post the configure line?
also did you try again a "clean tarball" or did not forget "make distclean" ?
-
About Suse 9.3 it is the first problem i found on this distribution. Howevere I want to upgrade to 10 in few time... ;-)
The configure line is
./configure --with-wx-config=/usr/local/bin/wx-config --enable-webserver --enable-amulecmd --enable-amulecmdgui --enable-webservergui --enable-amule-gui --enable-wxcas --enable-cas --enable-alc --enable-alcc --enable-kad-compile --enable-amule-daemon --enable-optimize
What do you mean with clean tarball?
About make distclean, i don't know it until now... :P
I can try it ;-)
-
wwwwwwwwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
did you do what I told ya and compiled a 2nd wxGTK to /home/USER_NAME/libs/wxgtk?
if YES, you have to use --with-wx-config=/home/USER_NAME/libs/wxgtk/bin/wx-config !!!!!!!!!!!
if not, no wonder it did not compile again ;)
ps: about "make distclean" I think I wrote the command 10posts before, since when you only do configure, and then do a "make" again, it will remain "fucked" if you dont clean it up again.
so chaning configure will not help, until you clean the dir again....thats what "make distclean" does, but you have to rerun, autogen.sh also
with clean tarball I meant, download a new one from teh server, or atleast unpack it again, and throw away the old stuff....
-
Originally posted by stefanero
wwwwwwwwaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
did you do what I told ya and compiled a 2nd wxGTK to /home/USER_NAME/libs/wxgtk?
if YES, you have to use --with-wx-config=/home/USER_NAME/libs/wxgtk/bin/wx-config !!!!!!!!!!!
if not, no wonder it did not compile again ;)
Yes yes :P
I have tried to run configure with /home/USER_NAME/libs/wxgtk but without success, so i come back to old configure line ;-)
I use make clean, instead make distclean...
However i have tried also to download another tarball but nothing has changed ;)
-
kk :D
try the distclean tehn ;) and then retry with /home/USER_NAME/libs/wxgtk/bin/wx-config, maybe it was just "fucked" from teh make before...
it this does not help I think only an update will help ya ;)
-
Originally posted by stefanero
kk :D
try the distclean tehn ;) and then retry with /home/USER_NAME/libs/wxgtk/bin/wx-config, maybe it was just "fucked" from teh make before...
it this does not help I think only an update will help ya ;)
Ok, i will try these solution before upgrading.
Now i have tried the cvs tarball of 16-10-2005 and everything is ok... ?(
I don't know... However tomorrow i will update to suse 10 and i will try with last tarball... and i will make you to know
THX a lot for your help ;)
-
Originally posted by mithrandir77
Now i have tried the cvs tarball of 16-10-2005 and everything is ok... ?(
well so its teh same thing as IhmSelbst said....
lfroen probably changed it some way thats its incompatible with suse 9.3, and maybe also some other systems...I guess we find out sometime ;)
-
Originally posted by stefanero
Originally posted by mithrandir77
Now i have tried the cvs tarball of 16-10-2005 and everything is ok... ?(
well so its teh same thing as IhmSelbst said....
lfroen probably changed it some way thats its incompatible with suse 9.3, and maybe also some other systems...I guess we find out sometime ;)
I think so... ;)
-
Originally posted by mithrandir77
Now i have tried the cvs tarball of 16-10-2005 and everything is ok... ?(
as expected... ;(
Originally posted by mithrandir77
I don't know... However tomorrow i will update to suse 10 and i will try with last tarball... and i will make you to know
ok, to prevent you from other bad experiences:
when you build the mule on your SuSE10.0, you should remove the old wxthings (i think, during installation it requests for that, if you upgrade from 9.3), and take those from your installmedia or from the suse-ftp. works fine here. :)
btw:
today´s cvs still works on suse10, and still fails on 9.3.
cu
-
Retry with tomorrow's CVS tarball. Should be fixed.
-
Originally posted by GonoszTopi
Retry with tomorrow's CVS tarball. Should be fixed.
Ok thanks ;-)
Thanks IhmSelbst too :baby:
-
Originally posted by GonoszTopi
Retry with tomorrow's CVS tarball. Should be fixed.
yep, in fact, it is fixed, as you promised. - now works on the suse9.3box, with the webserverthings, too.
thanks
:baby:
-
Yes, with today tarball the problem is solved.
Thanks a lot.
But now i have a problem with php-webserver and login
Even if the password is the same of standard webserver with php-webserver (started manually with amuleweb) i can't log in and amuleweb logs
WCThread: Started a new WCThread
Session ok
Warning: session is not logged in but request have no password
Processing request: login.html
WCThread: exited [WebSocket closed]
Do you know why? ?(
-
search the forum for "remote.conf" :D
-
Originally posted by stefanero
search the forum for "remote.conf" :D
Thx :D
-
I have solved the login problem in php webserver but now i have a strange behaviour, with both webserver
?(
I have posted it in Help section
http://forum.amule.org/thread.php?threadid=7810&sid=
;(