aMule Forum
English => Compilation problems => Topic started by: caki 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?
-
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
-
Does .spec file that comes with the tarball have any problems, apart from Copyright/License?
-
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
-
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
-
but did anybody tried to build rpm release of amule-2.0.3, have you, for example?
-
how can i fix this distribution noise?
-
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
-
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...
-
^^ 8) isnt she cute :))
about the errors...cant wait ;)
-
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?
-
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?
-
yes i have them installed, how can we change where it looks for ABOUT-NLS
-
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?
-
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
-
The problem is with the original spec file, it built the rpms with the .spec file that i took from cvs s, it is possibly about the original spec file is written for SUSE,
thx for your help stefanero..
-
and about teh original spec file, seams so yes. that it only builds on suse...
but it works with the spec from cvs :)
you could try to include taht one in the tarball from 2.0.3 and remove the date restriction from the spec file
-
aMule-2.0.3-FC4.i386.rpm (http://sl1pkn07.no-ip.com/Downloads/RPMs/aMule-2.0.3-FC4.i386.rpm)
wxGTK-2.6.1-1.i386.rpm (http://sl1pkn07.no-ip.com/Downloads/RPMs/wxGTK-2.6.1-1.i386.rpm)
talueee
up files in the amule.org servers (SourceForge or BerliOS)