Changes

Jump to: navigation, search

Nl:Fedora RPM

281 bytes removed, 09:20, 23 April 2007
no edit summary
Je bent du op jezelf aangewezen om het probleem op te lossen en indien je een programmafout rapporteert moet je zeker zijn dat deze fout niet te wijten is aan de versieverschillen. Verwar de ontwikkelaars niet met die problemen die ze zelf niet kunnen oplossen.
This usually works, but it is not a supported method, ie: if it breaks the error may not be with gramps or the fedora build, but with the differences between fedora versions. In other words youStel je hebt een werkende versie van '''re on your own with trouble shooting, and if you do report a bug then be sure that it isnGRAMPS't to do with the version mismatch - don't confuse the developers/builders with introduced problems (one's outside their control), dan kun jee de ontwikkelings-rpm voor fc6 als volgt bekomen... yum --enablerepo=extras-development update gramps
Assuming you have an existing version of gramps installed, then to install the development rpm for fc6heb je echter nog geen versie van '''GRAMPS''' doe dan ... yum --enablerepo=extras-development update gramps
if you don't have any version installed, then '''install''' it using...
yum --enablerepo=extras-development install gramps
With the release of Met de verschijning van fc7, extras will apparently no longer exist as a seperate repositoryzullen de extra paketten niet meer in een aparte bibliotheek te vinden zijn. This package will no doubt be found using Waarschijnlijk moet je dus '''yum --enablerepo=development install gramps''', or similarof iets dergelijks doen.
= To build the Om via de broncode een rpm from source aan te maken =A better approach to installing the binary Een betere methode is om de binaire rpm is to build the package from source, this will build vanaf de broncode te bouwen. Dit laat toe om gramps using the package versions that you have installedop te bouwen door gebruik te maken van de pakketversies die geïnstalleerd zijn. The De map [http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/|SRPMS] directory contains the source bevat de bron-rpm for the latest development van de laatste ontwikkelings-build. Download this dus deze rpm, install it and build your own binary using the installeer deze en bouw je eigen binair pakket door gebruik te maken van de bouwomgeving van deze fedora release -distributie(in this case dit geval fc6) you're running, as the build environment.
== To build the De rpm as bouwen als non-root (recommended method) aangewezen methode ==
Install the build environment Installeer de bouwomgeving in the users directoryeen map van een normale gebruiker.
'''su -c 'yum install rpmdevtools''''
Login as a als een 'normalnormale' user and run gebruiker en doe '''rpmdev-setuptree''' . This will silently create the Dit zal op de achtergrond een boomstructuur 'rpmbuild/' tree aanmaken in the users home directory de thuismap van de gebruiker (instead of using anders zou deze boomstructuur aangemaakt worden in ''usr/src/redhat'')
Download the source de bron-rpm, for this example it will be . In dit voorbeeld zal dit '''wget&nbsp;<nowiki>http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/gramps-2.2.4-3.fc7.src.rpm</nowiki>''' or use your zijn, of gebruik je browser on the [http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/gramps-2.2.4-3.fc7.src.rpm link]
'''rpmbuild --rebuild gramps-2.2.4-3.fc7.src.rpm''' (additional packages may be required at this step een bijkomend pakket is misschien vereist - see zie ''Problems with the buildBouwproblemen'' belowonderaan)
'''su -c 'yum localinstall /home/<user>/rpmbuild/RPMS/noarch/gramps-2.2.4-3.noarch.rpm'''' (use gebruik yum to install the om de rpmte instaleeren)
=== Problems with the build Bouwproblemen ===The build may abort with an errorHet bouwen kan afgebroken worden op fouten....Missing dependenciesOntbrekende afhankelijke pakketten nodig: These dependencies may be related to the build environment het kan zijn dat er pakketten ontbreken die essentieel zijn voor het bouwen (have you built packages from source, on this machine, beforeheb jae al paketten 'gebouwd' op deze computer?)
In addition to the normal build tools, these additional packages are needed to build the Bovenover de normale bouwpaketten zijn volgende bijkomende paketten strikt nodig om de gramps -rpmaan te maken: desktop-file-utils, gettext, perl-XML-Parser, gnome-python2-canvas, gnome-python2-gconf, gnome-vfs2-devel, pygtk2-libglade, python-devel, scrollkeeper, and en gnome-doc-utils
Build errors: such as ''unpackaged files'' etc: The remedy for any of these errors will vary depending on circumstances, ie; there are no easy answers. '''Read the error message carefully''', copy a relevant part of the message string, and search the net. The chances are very good that the problem has been encountered before and a solution exists. If that fails and you're still keen, try the [http://sourceforge.net/mail/?group_id=25770|gramps mailing lists.]
3,245
edits

Navigation menu