Dear list,
 
I hope it's OK to write in english on this list.
 
I have tried to build bigloo 4.2c from source on OpenBSD 4.8. The program build 
using the procedure 
outlined below, but tests still fail. I wonder if there is any way to improve 
the situation. 
 
I have patched the source using the following patch (unified diff):

--- runtime/Clib/cresolv.c      Mon Jan  4 23:20:00 2016
+++ runtime/Clib/cresolv.c.orig Mon Jan  4 23:19:22 2016
@@ -20,6 +20,7 @@
 #  include <regex.h>
 
 #  define N 4096
+#endif
 
 typedef obj_t (*fmt_t)( ns_msg*, int );
 
@@ -291,7 +292,6 @@
       default: return &rr_format_default;
    }
 }
-#endif
    
 /*---------------------------------------------------------------------*/
 /*    obj_t                                                            */



I have then used the following script to configure bigloo:
Output is at <http://alexshendi.org/tmp/Bigloo/Config.log>
 
=========================================================================
AUTOMAKE_VERSION=1.15 AUTOCONF_VERSION=2.69 \
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib \
./configure --prefix=/usr/local --lflags=-L/usr/local/lib \
  --ldflags=-L/usr/local/lib \
  --gcprefix=/usr/local --gcincdir=/usr/local/include \
  --gclibdir=/usr/local/lib --customgc=no --no-resolv \
  --gcparallelmark=no 
=========================================================================

I have the edited the generated file "lib/bigloo/4.2c/bigloo_config.h", 
changing 
"#define BGL_POSIX_CONDV_TIMEDWAIT" to "#define BGL_POSIX_CONDV_TIMEDWAIT 1" 
(line 414)

I then did:
gmake       # Output: <http://alexshendi.org/tmp/Bigloo/Make.log>
gmake test  # Output: <http://alexshendi.org/tmp/Bigloo/Test.log>

I would be glad to supply any further information.

Many thanks in advance & best regards,

Alexander

Reply via email to