Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Gtk-Gnutella (Linux/Unix/Mac OSX/Windows)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) Gtk-Gnutella user section. Preview this popular software: Gtk-Gnutella (Linux / BSD / Darwin / Mac OS X / Windows)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 29th, 2003
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
  #2 (permalink)  
Old October 9th, 2003
Apprentice
 
Join Date: May 18th, 2003
Location: Montana
Posts: 8
fsbooks is flying high
Default 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Limewire with Eclipse Ectoman Windows 1 November 15th, 2005 08:32 AM
Building Limewire with Eclipse Ectoman General Gnutella Development Discussion 0 November 6th, 2005 11:30 AM
Connection on building firewall doctoredv11 Connection Problems 2 September 27th, 2004 02:50 PM
Building a P2P in C# Orchus General Gnutella Development Discussion 5 March 18th, 2003 11:22 PM
building index Unregistered Support: General 4 November 3rd, 2001 05:12 AM


All times are GMT -7. The time now is 11:03 PM.


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.