aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3]

Author Topic: wont compile  (Read 21442 times)

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #30 on: December 13, 2005, 01:11:12 AM »

the same error

amule-remote-gui.cpp:414:10: warning: #warning TODO: Add remote command
amule-remote-gui.cpp: In member function `bool CSearchListRem::StartNewSearch(uint32*, SearchType, wxString&, wxString&, wxString&, unsigned int, unsigned int, unsigned int)':
amule-remote-gui.cpp:1331: warning: `EC_SEARCH_TYPE ec_search_type' might be used uninitialized in this function
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.7 -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXDEBUG__ -D__WXGTK__ -pthread  -I./libs -Ilibs -DCLIENT_GUI -DEC_REMOTE -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2 -pg -MT amulegui-amule-gui.o -MD -MP -MF ".deps/amulegui-amule-gui.Tpo" -c -o amulegui-amule-gui.o `test -f 'amule-gui.cpp' || echo './'`amule-gui.cpp; \
then mv -f ".deps/amulegui-amule-gui.Tpo" ".deps/amulegui-amule-gui.Po"; else rm -f ".deps/amulegui-amule-gui.Tpo"; exit 1; fi
amule-gui.cpp:31:69: X11/Xlib.h: No such file or directory
amule-gui.cpp: In member function `virtual int CamuleGuiBase::InitGui(bool, wxString&)':
amule-gui.cpp:186: error: `XParseGeometry' undeclared (first use this function)
amule-gui.cpp:186: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [amulegui-amule-gui.o] Error 1
make[3]: Leaving directory `/install/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/install/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/amule-cvs'
make: *** [all] Error 2
root@ozon /install/amule-cvs#



if I --disable-amule-gui compilation is sucsesfull
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #31 on: December 13, 2005, 01:53:12 AM »

If you really passed CPPFLAGS="-I /usr/X11R6/include" to ./configure and it still refused to pick it up, then it looks like a problem in the autoconf/automake stuff.

You can probably work around this problem by setting a symlink:
Code: [Select]
ln -s /usr/X11R6/include/X11 /usr/includeBy the way: This symlink should have existed before and your distro is not FHS compliant, since this symlink is mandatory for FHS compliance.
Quote
The symbolic link /usr/include/X11 must link to /usr/X11R6/include/X11 if the latter exists.
http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS12
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #32 on: December 13, 2005, 12:55:08 PM »

Huraaa It is working. many thanks to  U Gerd78 !!!!! I have now permanent euphoria....... after 7 days of amule compilations.
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wont compile
« Reply #33 on: December 14, 2005, 03:02:26 AM »

Congratulations
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wont compile
« Reply #34 on: December 15, 2005, 06:39:34 AM »

I removed XParseGeometry usage anyway.
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #35 on: December 15, 2005, 03:31:22 PM »

So for others to help. If U have problem with compilations of amule all U need is kernel & gcc  & some files below order is important :
freetype-2.1.10.tar.bz2,
fontconfig-2.2.3.tar.gz,
expat-1.95.8.tar.gz
gd-2.0.33.tar.gz
glib 2.9.1,
xc X11R6.8.2  after instaling   ln -s /usr/X11R6/include/X11 /usr/include  very important !!!
atk-1.10.3.tar.gz,
cairo-1.0.2.tar.gz,
gtk 2.8.9,  --enable-largefile
wx 2.7.0,

standard prefix /usr/local/

I could not compile amule --without-x  there is a demon version but x is needed anyway for gtk compilation option --without-x do not work with gtk
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wont compile
« Reply #36 on: December 15, 2005, 03:39:48 PM »

xc X11R6.8.2 after instaling ln -s /usr/X11R6/include/X11 /usr/include very important !!!

That's not needed anymore.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: wont compile
« Reply #37 on: December 15, 2005, 03:54:53 PM »

OK, fine, but I really don't understand why you are compiling *everything* from source. Trustix comes with development headers, I just checked it:

http://web12.austria182.server4free.de/projekte/trustix/releases/trustix-2.2/i586/trustix/rpms/

It should not be necessary to build all these libraries from source, unless you want to do it out of personal interest. Maybe gd (because some distros don't have it) or wx (because some distro packages don't work), but not X11, GTK, freetype and friends.

By the way: This "--without-x" switch doesn't do what you expect, so in order to get the non-GUI parts of aMule, use "./configure --disable-monolithic --disable-wxcas --enable-amule-daemon" etc. You only have to make sure to use wxBase instead of wxGTK (wxBase is also part of wxGTK, but if you want to compile without GTK, you need the separate wxBase).
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #38 on: December 16, 2005, 01:12:32 PM »

Quote
OK, fine, but I really don't understand why you are compiling *everything* from source. Trustix comes with development headers, I just checked it:
I am to retarded to use rpms ;).  

Quote
By the way: This "--without-x" switch doesn't do what you expect, so in order to get the non-GUI parts of aMule, use "./configure --disable-monolithic --disable-wxcas --enable-amule-daemon" etc. You only have to make sure to use wxBase instead of wxGTK (wxBase is also part of wxGTK, but if you want to compile without GTK, you need the separate wxBase).
I will try it at next server

 
Quote
xc X11R6.8.2 after instaling ln -s /usr/X11R6/include/X11 /usr/include very important !!!

That's not needed anymore.

standard xc instalation from sources does not create this link, Without this link compilation will faill as posted few posts before.
« Last Edit: December 16, 2005, 04:07:04 PM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: wont compile
« Reply #39 on: December 16, 2005, 06:46:00 PM »

READ my posts. It will not fail because I removed that usage.
Logged

Orlan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
    • http://sta.ctf.pl
Re: wont compile
« Reply #40 on: December 18, 2005, 12:44:29 AM »

Indeed. Sorry for misunderstanding.
« Last Edit: December 18, 2005, 12:45:53 AM by Orlan »
Logged
"Fascism should more properly be called corporatism because it is the merger of state and corporate power." - Benito Mussolini
It IS MY NO TO FASCIST IRAQ OCCUPATION !
Pages: 1 2 [3]