---------- Forwarded message ----------
Date: 2003-10-22 14:00:03 +0000
From: Dennis Leeuw <[EMAIL PROTECTED]>
Subject: Test results base/make gui/back building

Hi all,

I have done a lot of testing the last couple of days. Esp. to see if the build process 
of apps and GNUstep can be broken, and yes it can :)
This doesn't mean GNUstep in general is broken, but I tried to deliberatly break stuff 
by playing a real dumb user.

Maybe some stuff is already fixed in CVS, if so sorry. But I did the tests with released packages.

Used stuff:
- Debian sarge (testing)
- GNUstep base/make 1.8.0
- GNUstep gui/back 0.9.0
- Gworkspace 0.6.0
- Preferences.app CVS 21-10-2003

gnustep-make: none

gnustep-base:
On a clean installed system with libffi-2.0.0 when configuring base, and  no ffcall:
./configure halts on no libffi.

[snip]

I have attached what I think is a reasonable fix for this, though I am certainly no developer so someone may want to have a look, or it might be that this has already been fixed, also there is a small patch to debugapp for older versions of gdb; either way the patches are here if they are useful.

Regards,

Ian (Ian_J on #gnustep)

<base_configure.ac.patch>

<debugapp.patch>

--- configure.ac.bak	Fri Oct 24 17:58:56 2003
+++ configure.ac	Fri Oct 24 18:42:38 2003
@@ -900,8 +900,16 @@
     LIBS="-L${ffcall_libdir} $LIBS"
 fi
 
-AC_CHECK_HEADER(ffi.h, , enable_libffi=no)
+AC_MSG_CHECKING("ffcall presence")
 AC_CHECK_HEADERS(callback.h, , enable_ffcall=no)
+if test $enable_ffcall = no; then
+    AC_WARNING("ffcall not found... looking for ffi presence")
+    enable_libffi = yes # try this instead!
+fi
+AC_CHECK_HEADER(ffi.h, , enable_libffi=no)
+if test $enable_ffi = no; then
+    AC_WARNING("ffi not found")
+fi
 
 have_forward_hook=yes
 AC_MSG_CHECKING("for forwarding callback in runtime")
@@ -912,7 +920,6 @@
   enable_ffcall=no
 fi
 
-AC_MSG_CHECKING("FFI library usage")
 WITH_FFI=none
 if test $enable_libffi = yes; then
   AC_DEFINE(USE_LIBFFI,1,
--- /usr/local/src/gnustep/gnustep/core/make/debugapp	Sun Jul 27 12:42:27 2003
+++ debugapp	Mon Jul 28 20:21:59 2003
@@ -205,14 +205,14 @@
   if [ $GNUSTEP_HOST_OS = nextstep4 ]; then
     "$GDB" -connect TextEdit "$file_appname" "$corearg"
   else
-    if [ -z "$corearg" ]; then
+    if [ -z "$corearg"] && (gdb --help | grep -e --args > /dev/null); then
 
        # Arguments passed to debugapp are passed over to the
        # application, in the same way as it happens for openapp.
        "$GDB" --args "$file_appname" "$@"
      else
-       "$GDB" "$file_appname" "$corearg"
+       "$GDB" "$file_appname" 
      fi
   fi
 
-fi
\ No newline at end of file
+fi
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to