aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compiling aMuleCVS20050416 on Mandrake Cooker  (Read 7903 times)

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Compiling aMuleCVS20050416 on Mandrake Cooker
« on: April 16, 2005, 07:34:54 PM »

Hello

look :

# rpmbuild -ta /homeInternet/aMule-CVS-20050416.tar.bz2
erreur: Dépendances de construction manquantes:
        wxGTK-devel >= 2.4.2 est nécessaire pour aMule-CVS-20050416
        curl-devel >= 7.10.6 est nécessaire pour aMule-CVS-20050416



I download wxGTK-devel on the amule site, but I can't find curl-devel. Where can i find it ?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #1 on: April 16, 2005, 07:36:42 PM »

look in your controll center...draxx I think it was under mandrake....
there should be a backage system, search there for curl and you will also find curl devel...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

ruiz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #2 on: April 16, 2005, 07:44:40 PM »

you can download curl-devel from http://rpm.pbone.net/ for any distribution based on rpm.
Logged

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #3 on: April 16, 2005, 08:49:41 PM »

i didn't find it because it's called : libcurl-devel ;)
now i found it in mandrake. I installed it.

but now :

# rpmbuild -ta /homeInternet/aMule-CVS-20050416.tar.bz2
erreur: Dépendances de construction manquantes:
        wxGTK-devel >= 2.4.2 est nécessaire pour aMule-CVS-20050416

I installed amule with libwxgtk-gtk2u_2.5_3-2.5.3-5mdk-10.1.i586.rpm, which wxGTK-devel do I need ?


Quote
[21:10:48 jeep05@notebook RPMS] $ ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root 354248 mar 13 21:09 /usr/bin/wxcas*
[21:12:02 jeep05@notebook RPMS] $ ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: No such file or directory

Quote
[21:12:33 root@notebook homeInternet] # rpm -qa | grep wx
libwxPythonGTK2.5_2-2.5.2.7-3mdk
libwxPythonGTK2.5_3-2.5.3.1-3mdk
libwxgtk2.5_3-2.5.3-6mdk
libwxgtk2.5_1-2.5.1-5.1.101mdk
wxGTK2.5-2.5.3-6mdk
libwxgtk2.4-2.4.2-6mdk
libwxgtk-gtk2u_2.5_3-2.5.3-5mdk
wxPythonGTK-2.5.3.1-3mdk
« Last Edit: April 16, 2005, 09:00:05 PM by 0x07 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #4 on: April 16, 2005, 10:32:46 PM »

thing is, your wxgtk rpms are so messed up under mdk our amule simple refuses to work ;)

what I can suggest you is to go to our dl page and dl the wxGTK / aMule pack for mdk 10.1, which is the latest we have atm, and probably this will work.

this is a complete tar.gz of amule and wxgtk, so before you install it REMOVE ALL your other wxgtk - wxPython packages..

if you dont like that, you cannot use the rpms, and you would have to compile yourself...either way


btw funny is there is no
wx-config

in /usr/bin/ .... I wonder how that works on mdk without that...but ok
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #5 on: April 16, 2005, 11:00:51 PM »

lol.

i already installed the last amule 2.0 version for mdk 10.1. It's working good.

It was just that i want to try the CVS version.
« Last Edit: April 16, 2005, 11:14:04 PM by 0x07 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #6 on: April 16, 2005, 11:08:16 PM »

ok, now gimme again

ls -l /usr/bin/wx*

or the output of

whereis wx-config
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #7 on: April 16, 2005, 11:13:33 PM »

# whereis wx-config
wx-config: /usr/bin/wx-config

# ls -l /usr/bin/wx*
-rwxr-xr-x  1 root root 354248 mar 13 21:09 /usr/bin/wxcas*
lrwxrwxrwx  1 root root     45 avr 16 23:23 /usr/bin/wx-config -> ../../usr/lib/wx/config/gtk2-ansi-release-2.5*
lrwxrwxrwx  1 root root      8 avr 16 23:23 /usr/bin/wxrc -> wxrc-2.5*
-rwxr-xr-x  1 root root  60360 fév 20 17:21 /usr/bin/wxrc-2.5*


EDIT:
It's ok, i installed libwxgtk2.5_3-devel. I am building the CVS package.

now I have
Quote
# rpm -qa | grep wx
libwxgtkgl2.5_3-2.5.3-6mdk
libwxgtk2.5_3-2.5.3-6mdk
wxGTK2.5-2.5.3-6mdk
libwxgtk2.5_3-devel-2.5.3-6mdk

End of the compilation :
Code: [Select]
Ecrit: /usr/src/RPM/SRPMS/aMule-CVS-20050416.src.rpm
Ecrit: /usr/src/RPM/RPMS/i586/aMule-CVS-20050416.i586.rpm
Exécution_de(%clean): /bin/sh -e /var/tmp/rpm-tmp.45706
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd amule-cvs
+ '[' '!' /usr/src/RPM/BUILD/aMule-CVS-root = / ']'
+ /bin/rm -rf /usr/src/RPM/BUILD/aMule-CVS-root
+ /bin/rm -rf /usr/src/RPM/BUILD/aMule-CVS
+ exit 0

Is it OK ?
« Last Edit: April 16, 2005, 11:18:18 PM by 0x07 »
Logged

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #8 on: April 16, 2005, 11:23:22 PM »

arf I try to install my fresh packagebut :

Quote
[23:34:10 root@notebook homeInternet] # rpm -Uvh aMule-CVS-20050416.i586.rpm
erreur: Dépendances requises:
        wxGTK >= 2.4.2 est nécessaire pour aMule-CVS-20050416
        wxBase >= 2.4.2 est nécessaire pour aMule-CVS-20050416

What must I do ? Do I install them ?
« Last Edit: April 16, 2005, 11:23:47 PM by 0x07 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #9 on: April 17, 2005, 12:12:09 AM »

hum wtf?!

you just compiled it right? so the compiling worked with your system setup?

well....I will point phoenix to this post, since he made the spec file, for now try to use

rpm -Uvh --nodeps aMule...

to install it, and see if it actualyl works, should if you compiled it fine.
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #10 on: April 17, 2005, 03:32:54 PM »

Oh, my...

This is another example of the "distro name madness". X(

0x07, you can try to change the following line in aMule-CVS.spec:
Requires:    wxGTK >= 2.4.2, wxBase >= 2.4.2, curl >= 7.10.6

Change it to the names that Mandrake uses in their rpms. Probably, stefanero's suggestion will work fine too. :)

Cheers!
Logged

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #11 on: April 20, 2005, 09:14:04 PM »

hello.
thanks for answers.

unfortunately, i have deleted "aMule-CVS-20050416.i586.rpm.
So i try to compile 20050420 (today) but here are the last lines :

Quote
FriendListCtrl.cpp:51:2: warning: #warning REMOVE WHEN EC IS CODED!
In file included from FriendListCtrl.cpp:52:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
FriendListCtrl.cpp:99:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:122:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:141:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:156:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:190:3: warning: #warning EC: ASK THE LIST TO CORE!
FriendListCtrl.cpp:266:4: warning: #warning CORE/GUI!
FriendListCtrl.cpp:299:5: warning: #warning EC: We need a reply packet with a full CUpDownClient
FriendListCtrl.cpp:315:4: warning: #warning CORE/GUI!
FriendListCtrl.cpp:327:3: warning: #warning CORE/GUI!
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_WX_TRAY -I/usr/lib/wx/include/ -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D__GTK2__  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT amule-HTTPDownload.o -MD -MP -MF ".deps/amule-HTTPDownload.Tpo" \
  -c -o amule-HTTPDownload.o `test -f 'HTTPDownload.cpp' || echo './'`HTTPDownload.cpp; \
then mv -f ".deps/amule-HTTPDownload.Tpo" ".deps/amule-HTTPDownload.Po"; \
else rm -f ".deps/amule-HTTPDownload.Tpo"; exit 1; \
fi
HTTPDownload.cpp: In member function `void CHTTPDownloadThreadDlg::UpdateGauge(int, int)':
HTTPDownload.cpp:113: error: `wxStaticText' has not been declared
HTTPDownload.cpp:113: error: expected `>' before '*' token
HTTPDownload.cpp:113: error: expected `(' before '*' token
HTTPDownload.cpp:113: error: expected primary-expression before '>' token
HTTPDownload.cpp:113: error: expected `)' before ';' token

make[4]: *** [amule-HTTPDownload.o] Erreur 1
make[4]: Leaving directory `/usr/src/RPM/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/amule-cvs/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/amule-cvs'
make: *** [all] Erreur 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.42310 (%build)

Erreur de construction de RPM:
    Mauvais status de sortie pour /var/tmp/rpm-tmp.42310 (%build)
Logged

martymac

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • http://contribs.martymac.com
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #12 on: April 21, 2005, 11:47:44 AM »

Hi,

I tried to compile CVS tarball yesterday and got exactly the same problem on FreeBSD 5.4-STABLE... Any hint ?
Logged

martymac

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
    • http://contribs.martymac.com
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #13 on: April 21, 2005, 05:38:10 PM »

Ok, missing include... Apply this patch to compile the file :

Code: [Select]
--- HTTPDownload.cpp.orig       Thu Apr 21 17:44:11 2005
+++ HTTPDownload.cpp    Thu Apr 21 17:48:11 2005
@@ -54,6 +54,7 @@
        #include "muuli_wdr.h"          // Needed for ID_CANCEL: Let it here or will fail on win32
        #include "MuleGifCtrl.h"
        #include
+       #include
        #include
 #endif
Logged

0x07

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: Compiling aMuleCVS20050416 on Mandrake Cooker
« Reply #14 on: April 26, 2005, 09:22:08 PM »

hi :)

I compile amule cvs with today package, and it WORKS !!
My rpm is working !! cool :)

I installed it with :

rpm -Uvh --nodeps aMule-CVS-20050426.i586.rpm

Thanks :-p
Logged