aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cant make on debian woody machine  (Read 4065 times)

Mon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
cant make on debian woody machine
« on: July 13, 2004, 12:57:29 AM »

configured with:
Code: [Select]
./configure --enable-optimise --disable-systray --enable-amulecmdgui --disable-debug --disable-wxcas --disable-alc
then did a "make" which eventually lead to:
Code: [Select]
g++ -DHAVE_CONFIG_H -I. -I. -I..    -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -I/usr/include -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__  -O2  -c -o amule-DownloadClient.o `test -f 'DownloadClient.cpp' || echo './'`DownloadClient.cpp
DownloadClient.cpp: In method `void CUpDownClient::ProcessBlockPacket(const char *, unsigned int, bool = false)':
DownloadClient.cpp:872: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:872: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:872:                 operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:872:                 operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp: In method `int CUpDownClient::unzip(Pending_Block_Struct *, BYTE *, unsigned int, BYTE **, uint32 *, int = 0)':
DownloadClient.cpp:967: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:967: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:967:                 operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:967:                 operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:974: ambiguous overload for `CPartFile *& ? const wxString & : const char[2]'
DownloadClient.cpp:974: candidates are: operator ?:(bool, wxString, wxString)
DownloadClient.cpp:974:                 operator ?:(bool, const wxChar *, const char *)
DownloadClient.cpp:974:                 operator ?:(bool, const wxChar *, const char *)
make[4]: *** [amule-DownloadClient.o] Error 1

guess i'll have to wait for thermoman to make the .debs? :)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: cant make on debian woody machine
« Reply #1 on: July 13, 2004, 01:30:24 AM »

Yes, that's a way ;-)
But should compile fine there anyway...
Make sure followed all the steps and ask whatever you need.
Greetings!
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: cant make on debian woody machine
« Reply #2 on: July 13, 2004, 03:54:28 AM »

Logged
Gentoo & Bittorrent User

Mon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: cant make on debian woody machine
« Reply #3 on: July 13, 2004, 12:37:50 PM »

Ok, so i'm not the only one with these problems.
Could this mean another quick (bugfix) release will be made ?
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: cant make on debian woody machine
« Reply #4 on: July 13, 2004, 12:46:25 PM »

It's only about 5 substitutions :)

look at the lines where make reports the error and do wxT -> wxString

thermoman
Logged
Gentoo & Bittorrent User

Mon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: cant make on debian woody machine
« Reply #5 on: July 13, 2004, 08:24:04 PM »

Alright, after that was fixed i got something better :p :
Code: [Select]
g++ -DHAVE_CONFIG_H -I. -I. -I..    -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -I/usr/include -O2 -Wall -DWXUSINGDLL -I/usr/include/ -D__CRYPTO_DEBIAN_GENTOO__  -O2  -c -o amule-SearchList.o `test -f 'SearchList.cpp' || echo './'`SearchList.cpp
SearchList.cpp: In method `CSearchFile::CSearchFile(CSearchFile *)':
SearchList.cpp:91: no matching function for call to `vector >::at (unsigned int &)'
make[4]: *** [amule-SearchList.o] Error 1


Another easy-fix for this one?
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Logged
Gentoo & Bittorrent User

Mon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: cant make on debian woody machine
« Reply #7 on: July 13, 2004, 10:01:20 PM »

You tha man Thermoman :) i'll be back tomorrow if it still doesn't work.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: cant make on debian woody machine
« Reply #8 on: July 13, 2004, 10:29:31 PM »

Come back ALSO if it works, to report it does ;-)
Greetings!
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: cant make on debian woody machine
« Reply #9 on: July 13, 2004, 10:34:45 PM »

Here it compiled fine - rearranging some things then i will upload new debian woody package.

thermoman
Logged
Gentoo & Bittorrent User

shinobee

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: cant make on debian woody machine
« Reply #10 on: July 13, 2004, 10:40:34 PM »

great! thanks thermoman
Logged

Mon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: cant make on debian woody machine
« Reply #11 on: July 14, 2004, 01:12:29 AM »

Patch applied just fine. Amule then compiled fine too. I'll start testing it :)
Maybe i'll try the .deb too later.

Thanks all.

Oh and Thermoman: i was wondering how you compile your debian files? (configure command)
« Last Edit: July 14, 2004, 01:13:33 AM by Mon »
Logged

thermoman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 40
Re: cant make on debian woody machine
« Reply #12 on: July 14, 2004, 10:50:05 AM »

Code: [Select]
# Add here commands to configure the package.
PATH=$(CURDIR)/debian:$(PATH) ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
--with-wx-config=/usr/bin/wx-config --enable-optimise --disable-debug --enable-amulecmd \
--enable-amulecmdgui --enable-webserver --enable-webservergui

Since libgd 2.0.1 in debian woody has no gdlib-config i took it from unstable and modified it so it fits.

thermoman
Logged
Gentoo & Bittorrent User