View Single Post
  #1 (permalink)  
Old September 29th, 2003
zimon zimon is offline
Disciple
 
Join Date: May 29th, 2003
Posts: 14
zimon is flying high
Question 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.)
Reply With Quote