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

Author Topic: building rpm in fedora core 4  (Read 5242 times)

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
building rpm in fedora core 4
« on: July 07, 2005, 11:59:39 AM »

i have problems with building rpm on fedora core 4, can anybody managed to build rpm of aMule-2.0.3?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #1 on: July 07, 2005, 12:43:20 PM »

well could you maybe tell us the problem where it fails to compile?!
maybe we can help ya then...

I know for sure it compiles....since I have a fc4 box, and wxGTK and aMule compiled 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."

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #2 on: July 07, 2005, 01:04:22 PM »

Does .spec file that comes with the tarball have any problems, apart from Copyright/License?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #3 on: July 07, 2005, 01:16:13 PM »

not that I know if

you are the 1st one who complains...

it could be that 2 spec files are in the tarball....maybe you should check that, one if for cvs-daily-tarballs and one for the bulld of the release-rpm. but maybe not..

stefanero
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."

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #4 on: July 07, 2005, 01:18:19 PM »

no only one spec file, but you should look at it mayb sections like:

Distribution:   SuSE Linux 9.3 (i586)

disturb your build on fc4
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."

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #5 on: July 07, 2005, 01:21:22 PM »

but did anybody tried to build rpm release of amule-2.0.3, have you, for example?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #6 on: July 07, 2005, 01:23:43 PM »

how can i fix this distribution noise?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #7 on: July 07, 2005, 01:39:23 PM »

you can simple unpack it, change the spec file, and tar.gz it back up

and no I havent tryed it since I run gentoo at my home box, and have fc4 on a vmware box...

what would help more is if you could actually post some errors here...

have you tryed compiling amule yourself first? since if that wont work, then building the rpms will also not
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."

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #8 on: July 07, 2005, 01:42:35 PM »

you re going to regret this error request, i am installing fresh fc4 to my computer right now, within 30 minutes i will post them.

i will try changing the name,

yes i managed to compile and run aMule on fc4.

by the way, nice display...
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #9 on: July 07, 2005, 01:46:36 PM »

^^   8) isnt she cute :))

about the errors...cant wait ;)
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."

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #10 on: July 07, 2005, 02:53:11 PM »

here it comes:

error: magic_file(ms, "/var/tmp/aMule-2.0.3-build/usr/share/doc/aMule-2.0.3/ABOUT-NLS") failed: cannot open `/var/tmp/aMule-2.0.3-build/usr/share/doc/aMule-2.0.3/ABOUT-NLS' (No such file or directory)
rpmbuild: rpmfc.c:1229: rpmfcClassify: Assertion `ftype != ((void *)0)' failed.
Aborted

plus, it gives so many warning during the build process, is it normal?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #11 on: July 07, 2005, 03:10:15 PM »

about the warnings,
yes that most often just some info for us, so we dont forget things...

about your error,
its looking for the ABOUT-NLS in
share/doc/aMule-2.0.3/
instead of
share/doc/

you have gettext and gettext-devel installed?
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."

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #12 on: July 07, 2005, 03:13:06 PM »

yes i have them installed, how can we change where it looks for ABOUT-NLS
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

caki

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: building rpm in fedora core 4
« Reply #13 on: July 07, 2005, 03:21:51 PM »

i have just looked at /var/tmp/aMule-2.0.3-build/usr/share/doc/ and it just contains aMule-2.0.3 directory, and ABOUT-NLS has not been copied to this directory, as well-as some other files, like doxyfile, (i removed ABOUT-NLS from the tarball and the makefiles it gave the same error for doxyfile)

In my opinion, the directory should contain:
ABOUT-NLS, amulesig.txt, amule-win32.HOWTO.txt, ....TODO

but it only contains,
AUTHORS  Changelog  ED2K-Links.HOWTO  license.txt  README

Now, if i remove all the non-contained(is it a word?) files from the build process(from make files, etc..), will it do any harm, in the end they are in .../docs/ directory

what do you say?
Logged
Emre Cakir
SPC
there are 10 kinds of people, those who can count binary and those who cannot

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: building rpm in fedora core 4
« Reply #14 on: July 07, 2005, 03:26:40 PM »

it wont do any harm if you remove them no...

funny is that it dont find them there,

what you could do aswell, just as a test
dl the amule-cvs tarball from

http://amule.hirnriss.net

and try to build that, it also contains a spec file but a different one...

stefanero
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