A few problems, and a fix...

OK, the good news first: attached is a minor little fix to the test-suite in
gnome-libs.  They now don't always fail <G>.  Except for fileconvert -- the
result depends on the name of a temporary file.

Now, the problems (in approxamate order of severity):
1) mico's configure always fails on "checking if binary linked against shlib
   works".  I've looked into this quite a bit:
   a) With gcc 2.8, it fails because libshtest.so has foo() C++-mangled, and
      conftest.C declares it extern "C".
   b) Once you clear that up, it dies with a segfault in _cleanup (as
      repported by gdb).
   c) With egcs-1.0.2 release (as shipped in RH5.1), it dies with undifined
      references (<<, cout, flush).  Adding a "-lg++" to CXXFLAGS clears
      that one up.
   d) After _that_, it dies with a segfault at 0x0 (accordig to gcc)!
   Conclusion: The whole damm thing is broken, and should be libtooled.  But
   probably not by me. <G>.  Sigh.
2) Several of the programs (gmailman, gnome-ppp, gnometalk, gpostit) die
   with a "undefined reference to TIFFDefaultStripSize" in gdk_imlib.
   Linking manualy (with the same libtool commandline as echoed by make)
   _sometimes_ works!
3) gpostit should save the position and state of it's main window -- doing
   so would allow it to be used as a wonderful dock in windowmaker.  I would
   do it myself, but I don't know objc.  Perhaps I'll try anyway.
4) The standard configure.in macros don't find guile, even though it _is_
   there: guile --version claims version 1.2.  I just checked, and
   guile-build is non-existant, and RH5.1's guile RPM dosn't have it -- so
   we probably can't rely on it.  I'll fetch GNU's guile tarball...
5) And finaly: gtop's properties dialog's "OK" and "Apply" buttons never
   un-disable.  There was a ChangeLog entry that looked like it was supposed
   to fix it -- but it looks like it didn't.

	-=- James Mastros
This space intentionally filled by something devoid of meaning or relevance.
	-=- Me, with apology to anybody using a similar statement in their
	    signature.  I do not apologize to those who use it in manuals.
	    Other uses will be considered on a case-by-case basis.
Index: runtest.sh
RCS file: /cvs/gnome/gnome-libs/test-suite/runtest.sh,v
retrieving revision 1.5
diff -u -r1.5 runtest.sh
--- runtest.sh	1998/06/11 06:45:14	1.5
+++ runtest.sh	1998/07/11 02:18:07
@@ -20,6 +20,7 @@
 for I in $TESTS; do
     TEST=`basename $I .c`
     $COMPILE $srcdir/tests/$TEST.c -o tests/$TEST.o > /tmp/.$$ 2>&1
+    $LINK $srcdir/tests/$TEST.o $LDADD -o $srcdir/tests/$TEST
     if test $T != 0; then
 	echo "CFAIL: $TEST" >&3
Index: tests/fileconvert.c
RCS file: /cvs/gnome/gnome-libs/test-suite/tests/fileconvert.c,v
retrieving revision 1.3
diff -u -r1.3 fileconvert.c
--- fileconvert.c	1998/02/22 19:06:07	1.3
+++ fileconvert.c	1998/07/11 02:18:07
@@ -19,7 +19,7 @@
-	gnomelib_init("fileconvert", &argc, &argv);
+	gnomelib_init("fileconvert");
 	outfd = gnome_file_convert("fileconvert.in",
Index: tests/skel.c
RCS file: /cvs/gnome/gnome-libs/test-suite/tests/skel.c,v
retrieving revision 1.2
diff -u -r1.2 skel.c
--- skel.c	1998/02/22 19:06:08	1.2
+++ skel.c	1998/07/11 02:18:07
@@ -11,7 +11,7 @@
 int main(int argc, char *argv[])
-	gnomelib_init("skel", &argc, &argv);
+	gnomelib_init("skel");
 	fflush(stdout); /* Make sure to fflush things after you do
 			   any output, so what you see on your terminal
 			   is the same as what goes into the output file */
Index: tests/split.c
RCS file: /cvs/gnome/gnome-libs/test-suite/tests/split.c,v
retrieving revision 1.3
diff -u -r1.3 split.c
--- split.c	1998/02/22 19:06:08	1.3
+++ split.c	1998/07/11 02:18:07
@@ -13,7 +13,7 @@
 	char **output;
 	int i;
-	gnomelib_init("split", &argc, &argv);
+	gnomelib_init("split");
 	output = gnome_string_split("foo:bar:baz", ":", -1);
 	for(i = 0; output[i]; i++) {
 		g_print("%s ", output[i]);
Index: tests/trigs.c
RCS file: /cvs/gnome/gnome-libs/test-suite/tests/trigs.c,v
retrieving revision 1.2
diff -u -r1.2 trigs.c
--- trigs.c	1998/02/22 19:06:09	1.2
+++ trigs.c	1998/07/11 02:18:08
@@ -22,7 +22,7 @@
 	trig.u.function = sample_trigger_function;
 	trig.level = NULL;
-	gnomelib_init("trigs", &argc, &argv);
+	gnomelib_init("trigs");
 	gnome_triggers_add_trigger(&trig, "test", "one", NULL);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]