aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Build of 1.2.3 on Debian Woody, gcc-2.9.5.4: SUCCESSFULL !  (Read 5793 times)

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Build of 1.2.3 on Debian Woody, gcc-2.9.5.4: SUCCESSFULL !
« on: January 01, 2004, 03:53:25 PM »

Results of build latest 1.2.3 realease on Debian Stable Woody, gcc-2.9.5.4, on EPIA M10000.

System is: Linux freedom 2.4.21-xfs #1 vr dec 5 20:53:29 CET 2003 i686 unknown

ViA C3 is C3-2 so support i686 optimisation (fully cmov compatible)

BUILD of wxBase:

CXXFLAGS="-march=i686 -malign-double -fomit-frame-pointer -pipe"  ../configure --prefix=/opt/wx --enable-shared --disable-gui --enable-soname --with-zlib=sys --enable-std_iostreams --enable-intl

BUILD on wxGTK:

CXXFLAGS="-march=i686 -malign-double -fomit-frame-pointer -pipe"  ../configure --prefix=/opt/wx  --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile --enable-soname --enable-dynamic-loader --enable-std_iostreams --enable-intl

BUILD of Curl:

CXXFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" CFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" ./configure --prefix=/opt/curl --disable-ipv6

BUILD of aMule 1.2.3:

The compilation need to modify the line 1962 in file src/Webserver.cpp:

replace:

Out.Replace("[ClearCompletedButton]",(completedAv && IsSessionAdmin(Data,sSession))?pThis->m_Templates.sClearCompleted :"");

by

Out.Replace("[ClearCompletedButton]",(completedAv &&
IsSessionAdmin(Data,sSession))?pThis->m_Templates.sClearCompleted :wxString(""));

Then
CXXFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" CFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" ./configure --prefix=/opt/amule --with-wx-prefix=/opt/wx --with-wxbase-prefix=/opt/wx --with-wxbase-config=/opt/wx/bin/wxbase-2.4-config --with-wx-config=/opt/wx/bin/wx-config --with-curl-config=/opt/curl/bin/curl-config --enable-optimise --disable-gtk --disable-systray --with-gnu-ld --enable-nls

The new aMule is in testing now and seems to work fine (i love aMule !) EXCEPT the webserver. Is the procedure different from 1.2.1 version to start it ?

the polish

PS: Happy new year !!

PS2: this is the warnig obtained during aMule compilation:

amulecmd-TextClient.o: In function `GetCommand(char *)':
/root/aMule-1.2.3/src/TextClient.cpp:140: the `gets' function is dangerous and should not be used.
WebServer.cpp:698: warning: #warning TODO: _SetSharedFilePriority
WebServer.cpp:1944: warning: #warning FIXME file priorities
WebServer.cpp:2243: warning: #warning wxPostEvent here
WebServer.cpp:2699: warning: #warning TODO implement this
WebServer.cpp:2711: warning: #warning TODO implement this
WebServer.cpp:2785: warning: #warning cant do this
WebServer.cpp:2832: warning: #warning cant do this
WebServer.cpp:2854: warning: #warning cant do this
WebServer.cpp:3217: warning: #warning cant do this
amuleweb-WebServer.o: In function `GetCommand(char *)':
/root/aMule-1.2.3/src/WebServer.cpp:128: the `gets' function is dangerous and should not be used.
WebServer.cpp:698: warning: #warning TODO: _SetSharedFilePriority
WebServer.cpp:1944: warning: #warning FIXME file priorities
WebServer.cpp:2243: warning: #warning wxPostEvent here
WebServer.cpp:2699: warning: #warning TODO implement this
WebServer.cpp:2711: warning: #warning TODO implement this
WebServer.cpp:2785: warning: #warning cant do this
WebServer.cpp:2832: warning: #warning cant do this
WebServer.cpp:2854: warning: #warning cant do this
WebServer.cpp:3217: warning: #warning cant do this
ListenSocket.cpp:506: warning: #warning TODO: CHECK SPAMMERS!
BaseClient.cpp:1450: warning: #warning ADDME
BaseClient.cpp: In method `void CUpDownClient::ProcessHelloTypePacket(CSafeMemFile *)':
BaseClient.cpp:415: warning: multi-character character constant
ChatSelector.cpp:327: warning: #warning FIXME
ChatSelector.cpp: In method `uint16 CChatSelector::GetTabByClient(CUpDownClient *)':
ChatSelector.cpp:247: warning: return of negative value `-1' to `uint16'
In file included from ServerList.h:24,
                 from ServerListCtrl.h:23,
                 from sockets.h:27,
                 from amuleDlg.h:24,
                 from amule.h:30,
                 from CFile.cpp:156:
Preferences.h:27: warning: `MAX_PATH' redefined
CFile.cpp:134: warning: this is the location of the previous definition
DownloadQueue.cpp:90: warning: #warning : **************************
DownloadQueue.cpp:91: warning: #warning : * need to be implemented *
DownloadQueue.cpp:92: warning: #warning : **************************
ExternalConn.cpp:343: warning: #warning FIXME ExportHTML()
KnownFile.cpp:138: warning: #warning FIXME
mfc.cpp: In method `void wxVoidListNode::DeleteData()':
mfc.cpp:23: warning: `_WX_LIST_ITEM_TYPE_VoidList *' is not a pointer-to-object type
PPgStats.cpp:145: warning: #warning COLOR IS NOT SET
ServerList.cpp:403: warning: `MAX_PATH' redefined
Preferences.h:27: warning: this is the location of the previous definition
TransferWnd.cpp:391: warning: #warning TODO: fix this
TransferWnd.cpp:407: warning: #warning TODO: fix this
TransferWnd.cpp:421: warning: #warning TODO: fix this
TransferWnd.cpp:472: warning: #warning TODO: fix this
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

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: Build of 1.2.3 on Debian Woody, gcc-2.9.5.4: SUCCESSFULL !
« Reply #1 on: January 01, 2004, 04:41:50 PM »

shakraw is working hard on WebServer .. be patient till all the warnings r gone ;)