Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 16:02:24 -0500 (EST)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG, rom_glsa@ein-hashofet.co.il
Subject:   ports/8490: devel/gide cannot complete configure
Message-ID:  <199810292102.QAA07692@jade.chc-chimes.com>

next in thread | raw e-mail | index | archive | help

>Number:         8490
>Category:       ports
>Synopsis:       devel/gide cannot complete configure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 29 13:10:00 PST 1998
>Last-Modified:
>Originator:     Bill Fumerola
>Organization:
Computer Horizons Corp
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

FreeBSD jade.chc-chimes.com 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Fri Sep
25 16:41:52 EDT 1998 
root@jade.chc-chimes.com:/usr/cvs-update/src/sys/compile/JADED  i386


>Description:
configure: warning: currently highlighting does not work without gtktext
patch
checking for gtk-config... /usr/X11R6/bin/gtk11-config
checking for GTK - version >= 1.1.2... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk11-config
configure: error: Cannot include/link gtk/gdk/glib--check CFLAGS/LDFLAGS

I am also including my (lengthy) config.log because of the amount of
errors and compile problems it incurred.

>How-To-Repeat:

(cd /usr/ports/devel/gide/ && make configure)

>Fix:

my experience with GTK / gIDE / guile is rather limited, I have no idea.

For some wierd reason the configure script does not detect gcc (I know
they are the same, but still, it's odd).



---------snip----config.log------snip------------

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:560: checking for a BSD compatible install
configure:613: checking whether build environment is sane
configure:670: checking whether make sets ${MAKE}
configure:716: checking for working aclocal
configure:729: checking for working autoconf
configure:742: checking for working automake
configure:755: checking for working autoheader
configure:768: checking for working makeinfo
configure:787: checking for gcc
configure:864: checking whether the C compiler (cc -O -pipe ) works
configure:878: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:898: checking whether the C compiler (cc -O -pipe ) is a cross-compiler
configure:903: checking whether we are using GNU C
configure:912: cc -E conftest.c
configure:927: checking whether cc accepts -g
configure:956: checking for gtktext patch needed by editor widget
configure:958: checking how to run the C preprocessor
configure:979: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1098: checking for gtk-config
configure:1129: checking for GTK - version >= 1.1.2
configure:1230: cc -o conftest -O -pipe -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include  conftest.c -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk11 -lgdk11 -L/usr/local/lib -lgmodule11 -lglib11 -lX
ext -lX11 -lm 1>&5
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:23,
                 from configure:1154:
/usr/X11R6/include/gtk11/gdk/gdk.h:313: parse error before `GDestroyNotify'
In file included from /usr/X11R6/include/gtk11/gtk/gtkobject.h:23,
                 from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:24,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkarg.h:64: parse error before `va_list'
/usr/X11R6/include/gtk11/gtk/gtkarg.h:83: parse error before `arg_info_1'
/usr/X11R6/include/gtk11/gtk/gtkarg.h:85: parse error before `arg_info'
In file included from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:24,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkobject.h:138: parse error before `GData'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:138: warning: no semicolon at end of struct or union
/usr/X11R6/include/gtk11/gtk/gtkobject.h:285: parse error before `GDestroyNotify'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:311: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:314: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:318: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:320: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:322: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:340: parse error before `va_list'
In file included from /usr/X11R6/include/gtk11/gtk/gtkmisc.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtklabel.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtkaccellabel.h:26,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:25,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkwidget.h:165: field `object' has incomplete type
In file included from /usr/X11R6/include/gtk11/gtk/gtkadjustment.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:26,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkdata.h:46: field `object' has incomplete type
In file included from /usr/X11R6/include/gtk11/gtk/gtkbin.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtkalignment.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:27,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkcontainer.h:206: parse error before `va_list'
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:38,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkclist.h:101: parse error before `gconstpointer'
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:42,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkctree.h:83: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:195: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:198: parse error before `*'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:199: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:203: warning: data definition has no type or storage class
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:69,
                 from configure:1154:
/usr/X11R6/include/gtk11/gtk/gtkitemfactory.h:61: field `object' has incomplete type
configure: failed program was:
#line 1152 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>

int 
main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.gtktest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = g_strdup("1.1.2");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.1.2");
     exit(1);
   }

  if ((gtk_major_version != 1) ||
      (gtk_minor_version != 1) ||
      (gtk_micro_version != 2))
    {
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
             1, 1, 2,
             gtk_major_version, gtk_minor_version, gtk_micro_version);
      printf ("*** was found! If gtk-config was correct, then it is best\n");
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
      printf("*** required on your system.\n");
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
	   (gtk_minor_version != GTK_MINOR_VERSION) ||
           (gtk_micro_version != GTK_MICRO_VERSION))
    {
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
	     GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
	     gtk_major_version, gtk_minor_version, gtk_micro_version);
    }
#endif /* defined (GTK_MAJOR_VERSION) ... */
  else
    {
      if ((gtk_major_version > major) ||
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
               gtk_major_version, gtk_minor_version, gtk_micro_version);
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
	       major, minor, micro);
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
        printf("***\n");
        printf("*** If you have already installed a sufficiently new version, this error\n");
        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
        printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
        printf("*** so that the correct libraries are found at run-time))\n");
      }
    }
  return 1;
}

configure:1274: cc -o conftest -O -pipe -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include  conftest.c -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk11 -lgdk11 -L/usr/local/lib -lgmodule11 -lglib11 -lX
ext -lX11 -lm 1>&5
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:23,
                 from configure:1266:
/usr/X11R6/include/gtk11/gdk/gdk.h:313: parse error before `GDestroyNotify'
In file included from /usr/X11R6/include/gtk11/gtk/gtkobject.h:23,
                 from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:24,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkarg.h:64: parse error before `va_list'
/usr/X11R6/include/gtk11/gtk/gtkarg.h:83: parse error before `arg_info_1'
/usr/X11R6/include/gtk11/gtk/gtkarg.h:85: parse error before `arg_info'
In file included from /usr/X11R6/include/gtk11/gtk/gtkaccelgroup.h:27,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:24,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkobject.h:138: parse error before `GData'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:138: warning: no semicolon at end of struct or union
/usr/X11R6/include/gtk11/gtk/gtkobject.h:285: parse error before `GDestroyNotify'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:311: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:314: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:318: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:320: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:322: parse error before `GQuark'
/usr/X11R6/include/gtk11/gtk/gtkobject.h:340: parse error before `va_list'
In file included from /usr/X11R6/include/gtk11/gtk/gtkmisc.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtklabel.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtkaccellabel.h:26,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:25,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkwidget.h:165: field `object' has incomplete type
In file included from /usr/X11R6/include/gtk11/gtk/gtkadjustment.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:26,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkdata.h:46: field `object' has incomplete type
In file included from /usr/X11R6/include/gtk11/gtk/gtkbin.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtkalignment.h:24,
                 from /usr/X11R6/include/gtk11/gtk/gtk.h:27,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkcontainer.h:206: parse error before `va_list'
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:38,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkclist.h:101: parse error before `gconstpointer'
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:42,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkctree.h:83: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:195: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:198: parse error before `*'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:199: parse error before `GNode'
/usr/X11R6/include/gtk11/gtk/gtkctree.h:203: warning: data definition has no type or storage class
In file included from /usr/X11R6/include/gtk11/gtk/gtk.h:69,
                 from configure:1266:
/usr/X11R6/include/gtk11/gtk/gtkitemfactory.h:61: field `object' has incomplete type
configure: failed program was:
#line 1264 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>

int main() {
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 
; return 0; }

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810292102.QAA07692>