![]() |
Building RPM out of CVS version fails. *.po? I got the CVS version of gtk-gnutella. I did: $ ./Configure Where I basically just changed default value for prefix to /usr and told it to use GTK2 instead of GTK1. Configure created gtk-gnutella.spec file, which then seems to be ok. I do: $ tar czf /usr/local/src/redhat/SOURCES/gtk-gnutella-0.93u.tar.gz gtk-gnutella-0.93u Then building the RPM packages: $ rpmbuild -ta gtk-gnutella-0.93u.tar.gz Everything goes ok (in 'make all'), until this: --------------- CLIP START --------------------------- <pre> make[3]: Leaving directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' test -z "es.gmo fr.gmo nl.gmo" || make es.gmo fr.gmo nl.gmo make[3]: Entering directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' make gtk-gnutella.pot-update make[4]: Entering directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' : --default-domain=gtk-gnutella --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --from-code=UTF-8 \ --files-from=./POTFILES.in \ --copyright-holder='Raphael Manfredi' \ --msgid-bugs-address='gtk-gnutella-devel@lists.sf.net' test ! -f gtk-gnutella.po || { \ if test -f ./gtk-gnutella.pot; then \ sed -f remove-potcdate.sed < ./gtk-gnutella.pot > gtk-gnutella.1po && \ sed -f remove-potcdate.sed < gtk-gnutella.po > gtk-gnutella.2po && \ if cmp gtk-gnutella.1po gtk-gnutella.2po >/dev/null 2>&1; then \ rm -f gtk-gnutella.1po gtk-gnutella.2po gtk-gnutella.po; \ else \ rm -f gtk-gnutella.1po gtk-gnutella.2po ./gtk-gnutella.pot && \ mv gtk-gnutella.po ./gtk-gnutella.pot; \ fi; \ else \ mv gtk-gnutella.po ./gtk-gnutella.pot; \ fi; \ } make[4]: Leaving directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' /usr/bin/msgmerge --update es.po gtk-gnutella.pot /usr/bin/msgmerge: error while opening "gtk-gnutella.pot" for reading: No such file or directory make[3]: *** [es.po] Error 1 make[3]: Leaving directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' make[2]: *** [stamp-po] Error 2 make[2]: Leaving directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/local/src/redhat/BUILD/gtk-gnutella-0.93u' make: *** [all] Error 2 </pre> ------------------------ CLIP END ----------------- So it fails to find/make gtk-gnutella.pot file. Any ideas? (I am sure there were good reasons to change from configure to Configure, but the RPM building was working perfect before the change.) |
same problem with .po files, solved To fix it, I simply "touched" the file that did not exist. Then the procedure completed without error. I think the script simply needs a line to touch the file if it does not exist. In your case it looks like the file to touch is /usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po/gtk-gnutella.po In other words, issue the command "touch /usr/local/src/redhat/BUILD/gtk-gnutella-0.93u/po/gtk-gnutella.po" (just in case you don't know what touch means. |
All times are GMT -7. The time now is 06:09 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.