On Mon, 30 Jul 2001, Patrick Bielen wrote:
>
> In file included from asdbget.c:37:
> /usr/local/include/tn5250/utility.h:73: glib.h: No such file or directory
> make: *** [asdbget.o] Error 1
>
Hmmm... It appears that asdbget has never been updated to compile
against version 0.17.x of tn5250. (the 0.16.x branch doesn't use glib)
The following patch should solve that problem for you. To try it,
do this:
cd /path/to/asdbget
patch -p0 < /path/to/patch
./autogen.sh
./configure
make
(On FreeBSD systems, remove the '-p0' from the patch line)
And here's the patch, itself:
diff -ur ./ChangeLog ../asdbget/ChangeLog
--- ./ChangeLog Thu Mar 16 13:47:07 2000
+++ ../asdbget/ChangeLog Mon Jul 30 10:32:42 2001
@@ -1,3 +1,7 @@
+Mon Jul 30, 2001 Scott Klement <[EMAIL PROTECTED]>
+ * Changed configure.in and Makefile.am so that asdbget will
+ link against lib5250 version >= 0.17.x
+
Thu Mar 16, 2000 Jay 'Eraserhead' Felice <[EMAIL PROTECTED]>
* Fixed incorrect handling of zoned decimal fields (reported by
Sean Porterfield).
diff -ur ./Makefile.am ../asdbget/Makefile.am
--- ./Makefile.am Mon Jul 30 10:33:08 2001
+++ ../asdbget/Makefile.am Mon Jul 30 10:19:23 2001
@@ -15,5 +15,7 @@
pkgdata_DATA = ASDB.dtd\
ASDB.xsl
+INCLUDES = @GLIB_CFLAGS@
+
clean-local:
rm -f *~
diff -ur ./configure.in ../asdbget/configure.in
--- ./configure.in Mon Jul 30 10:33:10 2001
+++ ../asdbget/configure.in Mon Jul 30 10:14:49 2001
@@ -5,6 +5,8 @@
dnl Checks for programs.
AC_PROG_CC
+AM_PATH_GLIB
+
dnl Checks for libraries.
AC_PATH_PROG(TN5250_CONFIG,tn5250-config,no)
if test x$TN5250_CONFIG != xno
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---