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: Trouble building CVS for Mandrake  (Read 8866 times)

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: Trouble building CVS for Mandrake
« Reply #15 on: March 22, 2005, 01:22:48 PM »

Strange.

$ curl-config --libs
-L/usr/lib -lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/lib -lidn -lssl -lcrypto -lz
Logged

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #16 on: March 22, 2005, 01:26:43 PM »

well - I built on my suse machine a rpm without this krb thing - and it runs 5 days now - anyway - why do we need krb?
Logged

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: Trouble building CVS for Mandrake
« Reply #17 on: March 22, 2005, 01:51:14 PM »

RaVen,

From my previous posts, you can see that if you remove krb5 from FC3 systems, you also remove curl. So, even though there is no explicit dependency on the spec file, there is a dependency of curl on krb5, at least on my system.

Anyway, the build prerequisit has been removed now, if someone could test and report a rpm build without --nodeps, I would be gratefull.

reeky,

I checked FC3 curl.src.rpm, and there is no mention of krb5 there. Really strange, did you see it in Suse rpm?
Logged

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #18 on: March 22, 2005, 03:59:59 PM »

This explains some things - but I didn't want anybody to remove krb5 - I just wanted to know why krb5 is one of the dependecies - that's all. Ok you need krb5 for curl - and you need curl for amule - but you don't need krb5 for it!
So all i want to say is - if krb5 is not needed (i'm not talking about curl) please remove it from the dependencies - and leave curl there.

Sorry for my bad english - think I have to upgrade my english to Version 3.2 to make people understand me :-D
Logged

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #19 on: March 22, 2005, 04:05:18 PM »

and - afaik in Suse curl and Kerberos have nothing to do with each oder.
Or lets say there's no "krb5" in suse - it's called heimdal (free implementation of Krb5) - and afaik there isn't curl mentioned.... (but I may be wrong)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Trouble building CVS for Mandrake
« Reply #20 on: March 22, 2005, 04:06:15 PM »

RaVen: that is excatly what phoenix did, and said about 3post ealier :)
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."

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #21 on: March 22, 2005, 04:07:07 PM »

well - uhm - then - sorry for that
Logged

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #22 on: March 22, 2005, 04:10:22 PM »

ah - you removed it already from the spec, as i experienced now :-)..... okay - sometimes i'm a little slow - thx anyway
Logged

reeky

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 88
Re: Trouble building CVS for Mandrake
« Reply #23 on: March 22, 2005, 04:41:22 PM »

Quote
Originally posted by phoenix
Strange.

$ curl-config --libs
-L/usr/lib -lcurl -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/lib -lidn -lssl -lcrypto -lz

here is mine

reek@linux:~> curl-config --libs
-L/usr/lib -lcurl -L/usr/ssl/lib -lssl -lcrypto -ldl -lz

as i said, my rpm has not been built using the --nodeps flag but simpy modifying the spec file and repackaging all the stuff :)

bye
Logged

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: Trouble building CVS for Mandrake
« Reply #24 on: March 23, 2005, 03:43:39 AM »

lol :D

Ok folks, let me try to explain it in other words:

1- I have already removed the krb5 dependency from the spec file. I believe you all already got that one :D
2- Can someone on Mandrake and someone else on Suse do rpmbuild -ta aMule-CVS-20050323.tar.bz2 and report the result? Just plain that, no repackaging.

Quote
Originally posted by reeky
reek@linux:~> curl-config --libs
-L/usr/lib -lcurl -L/usr/ssl/lib -lssl -lcrypto -ldl -lz
So, that is the difference. On FC3 curl depends on krb5. On Suse, it doesn't. Anyway, I believe it is correct now, there is only a dependency on curl. If someone can do that command for Mandrake, it would be nice too. ;)

Cheers!
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Trouble building CVS for Mandrake
« Reply #25 on: March 23, 2005, 07:03:22 AM »

Quote
Originally posted by phoenix
lol :D

2- Can someone on Mandrake and someone else on Suse do rpmbuild -ta aMule-CVS-20050323.tar.bz2 and report the result? Just plain that, no repackaging.


Been there, done that on Mandrake 10.0 yesterday. It woorked flawlessly.

(Gtk2, wx 2.4.5)
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Trouble building CVS for Mandrake
« Reply #26 on: March 23, 2005, 07:04:57 AM »

And for the 2d question, still on Mandrake 10.0 :

Quote

curl-config --libs
-L/usr/lib -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl

Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

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: Trouble building CVS for Mandrake
« Reply #27 on: March 23, 2005, 11:26:02 AM »

Quote
Originally posted by OldFrog
(Gtk2, wx 2.4.5)
Guess you mean wx 2.5.4, right?

Quote
Originally posted by OldFrog
curl-config --libs
-L/usr/lib -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl
Ok, that is fine. Anyone else with a braindamaged distro like mine (FC3), please raise hands! :D

OldFrog, thank you very much for your help!

Enjoy aMule! :D
Logged

RaVen

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 70
Re: Trouble building CVS for Mandrake
« Reply #28 on: March 23, 2005, 04:26:21 PM »

hmm - dunno what i did wrong -but I believe it's my fault... :P:

with wx 2.4 i get this:

Code: [Select]
SysTray.cpp: In function `gboolean on_delete(GtkWidget*, GdkEvent*, void*)':
SysTray.cpp:163: warning: unused parameter `GtkWidget*widget'
SysTray.cpp:163: warning: unused parameter `GdkEvent*event'
SysTray.cpp:163: warning: unused parameter `void*user_data'
SysTray.cpp: In constructor `CSysTray::CSysTray(wxWindow*, DesktopMode, const wxString&)':
SysTray.cpp:593: error: `g_signal_connect' undeclared (first use this function)
SysTray.cpp:593: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [amule-SysTray.o] Fehler 1
make[4]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.44902 (%build)

as i said - don't know what i did - just same procedure as every day  :P


With wxgtk 2.5 it compiles and runs - but as soon as i hit the traffic dialog amule ends with a Qpainter error.


Ah - got suse 9.2
« Last Edit: March 23, 2005, 04:30:55 PM by RaVen »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Trouble building CVS for Mandrake
« Reply #29 on: March 23, 2005, 04:38:20 PM »

nah not your fault, good old kry forgot "tk" in this line where it fails...
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."
Pages: 1 [2] 3