aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compilation problems with wxGTK  (Read 6698 times)

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
compilation problems with wxGTK
« 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.
« Last Edit: April 24, 2005, 03:31:37 AM by Phili-Cheese Steak »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #1 on: April 24, 2005, 03:33:36 AM »

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

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: compilation problems with wxGTK
« Reply #2 on: April 24, 2005, 04:32:48 AM »

...got it. Thanks
Logged

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
can't finish compilation
« Reply #3 on: April 24, 2005, 04:45:10 AM »

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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #4 on: April 24, 2005, 04:53:13 AM »

Quote
**** 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

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: compilation problems with wxGTK
« Reply #5 on: April 24, 2005, 05:04:01 AM »

sorry, as i said, i'm a noob.

can u make aMule find wxGTK somehow?

Thanks
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #6 on: April 24, 2005, 05:15:29 AM »

if its installed amule will find it on its own ;)

where did you install your wxGTK?

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
RE: compilation problems with wxGTK
« Reply #7 on: April 24, 2005, 05:28:47 AM »

i just executed

./configure --prefix=/usr --disable-gtk2 --with-gtk && make

the attached file shows the record (i executed it one more time)

Thanks
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #8 on: April 24, 2005, 05:52:03 AM »

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

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: compilation problems with wxGTK
« Reply #9 on: April 24, 2005, 05:08:20 PM »

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
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #10 on: April 24, 2005, 05:14:29 PM »

nothing to worry ..

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: compilation problems with wxGTK
« Reply #11 on: April 24, 2005, 05:19:13 PM »

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

Phili-Cheese Steak

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: compilation problems with wxGTK
« Reply #12 on: April 24, 2005, 07:28:51 PM »

...worked pefectly!

Thanks for the link and the help. :baby:
Logged