aMule Forum
English => Compilation problems => Topic started by: Phili-Cheese Steak on April 24, 2005, 03:24:10 AM
-
hey,
i'm just trying to compilate wxGTK-2.4.2 to install amule, when after
./configure --prefix=/usr --disable-gtk2 --with-gtk && make
following occured at the and:
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
Can somebody tell me what to do?
I use Ubuntu, I am pretty much a noob and don't have root rights.
Can somebody help me?
Thanks.
-
hi,
i think you lack gtk-1.2.X devel package.. i'm not sure howto get it for your sys, but as ubuntu is debian based try smth like apt-get install pkg-name
and uh oh... tell your admin to do this as you don't have root rights :/
cheers
-
...got it. Thanks
-
hi,
i'm on compilating aMule2.0.0rc8 and get a buch of error reports that i have no idea where they come from. Like...
...onlinesig.cpp:35:23: wx/wxprec.h: No such file or directory
...onlinesig.h:57: error: 'wxDateTime' is used as a type, but is not defined as a
type.
...onlinesig.h:85: error: parse error before `&' token
... WxCasCte::wxUint32'
wxcascte.h:62: error: parse error before `;' token
wxcascte.h:65: error: ISO C++ forbids declaration of `wxUint32' with no type
wxcascte.h:65: error: declaration of `const int WxCasCte::wxUint32'
wxcascte.h:59: error: conflicts with previous declaration `const int
WxCasCte::wxUint32'
...onlinesig.cpp:317: error: syntax error before `++' token
The entire report is in the attached file.
I'm working with Ubuntu and I am a noob.
Can somebody help me and tell me how to fix that?
Thanks
-
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets Not detected
GTK 1.2.10
well.. amule can't find your wxGTK ..
cheers
ps. plz use next time your old thread (when the problem is related to the first one) instead of opening a new one
-
sorry, as i said, i'm a noob.
can u make aMule find wxGTK somehow?
Thanks
-
if its installed amule will find it on its own ;)
where did you install your wxGTK?
-
i just executed
./configure --prefix=/usr --disable-gtk2 --with-gtk && make
the attached file shows the record (i executed it one more time)
Thanks
-
ehm, yes.. but as you don't have root rights, you can't run 'make install' ..
add a compilation flag to amule: --with-wx-config=/path/to/your/wxGTK-2.4.2/wx-config
and well, u'll need wxBase 2.4.2 aswell.. howto compile it can be found in our wiki.
compilation flag for amule: --with-wxbase-config=/path/to/your/wxBase-2.4.2/wxbase-2.4-config
cheers
ps. more help tomorrow.. 6:05am.. :O
-
hey,
if i see during the comoilation of wxGTK a bunsh of these blocks
c++ -c -I./lib/wx/include/gtk-2.4 -I./include -I./src/png -I./src/tiff -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -pthread -Wall -fPIC -o http.o ./src/common/http.cpp
...is that good or bad?
Thanks
-
nothing to worry ..
-
btw, here is a nice howto http://www.amule.org/wiki/index.php/SuSE_9.2_install_at_home
ignore the word SuSE in it because it can be used for every distri
cheers
-
...worked pefectly!
Thanks for the link and the help. :baby: