On Aug. 18, John Arundel <[EMAIL PROTECTED]> wrote:
Being a happy user of 0.91, but keen to take advantage of the leafnode
feature in 0.92, I first attempted to install a binary (GTK2) package. Something wrong with the GTK2 installation on my machine means this runs, but doesn't display a window (or do anything that I can determine).
So I resolve to build 0.92. At first I get a variety of horrible errors
including an internal Signal 9 error in gcc. I try a few different versions
of gcc. I find it's happiest with gcc-2.95.3, but things still aren't right.
Complaints from Configure that I'm not using the GNU C library alert me to the fact that it's finding an ancient libc.so in /usr/lib (why? the real libc is in /lib). So I move this out of the way and things move forward somewhat, but still with no satisfactory result.
Using NLS the build fails with the 'xgettext' version problem reported by others. This is a mystery as I have the latest gettext released by GNU (0.11.5) and it doesn't support the --from-code and --msgid-bugs-address options. Raphael, are you using a gettext that fell through a time warp from the far future?
If I disable NLS, the build still fails:
cc -c -I.. -I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include � -I/usr/include/libxml2
-O � utf8.c
utf8.c: In function `locale_charset':
utf8.c:523: `CODESET' undeclared (first use in this function)
utf8.c:523: (Each undeclared identifier is reported only once
utf8.c:523: for each function it appears in.)
utf8.c: In function `g_iconv_complete':
utf8.c:640: warning: passing arg 2 of `iconv' from incompatible pointer type
make[2]: *** [utf8.o] Error 1
gtk-gnutella is one of my favourite software tools of all time, so I'm quite distressed that I'm having so much trouble building this version (especially as 0.91 is deprecated due to the lack of ultrapeer/leafnode support). Why have we switched to the metaconfig system, particularly when autoconf seemed to be working well? I assume there must be a sound reason, but I can't imagine what it is.
So, in the interests of saving my sanity, does anyone have a compiled binary
against GTK1 that I could use? Alternatively, a source patch from someone
with greater C skills than myself (e.g. anyone), would be most welcome.
NB These problems occur in all versions from 0.92c1 to cvs-current.
Regards John
Last thing's first, autoconf killed itself. Since no one had the ability to revive it, Raphael decided to change to metaconf, which he is quite proud of. However metaconf hasn't really been maintained since 1997, so there are going to be some issues, though Raphael is working to bring it up to date. Also, it's new to gtk-g. Once the initial 'features' are gone, it should be as good or better than autoconf.
Just to parrot the solution I've seen on irc, disable NLS and nm and it should compile.
About the binary, if you're running debian you might try the last rpm. Other than that, maybe someone with a similar platform could compile one for you. (You didn't say what you're running.)
Hope that helps. If not, you could a) wait for a better answer, b) write an update to this post if anything changed, or c) join #gtk-gnutella on freenode.net and ask in real-time.
Peace, Clayton
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
