Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 20:48:42 +0900
From:      KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
To:        ports@FreeBSD.ORG
Subject:   Can't build WMakerconf(ports/7464)!
Message-ID:  <19990118204842M.kiri@pis.toba-cmt.ac.jp>

next in thread | raw e-mail | index | archive | help
----Next_Part(Mon_Jan_18_20:48:37_1999_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

Now I make build WMakerconf(ports/7464),but can't configure because of
gtk-config not found. I aware for that reason it should be depends
gtk11-config. Then I re-build WMakerconf, but build STOPS at followng stage:

kiri@kiri:/usr/ports/x11-wm/wmakerconf[751]% make build
===>  Building for wmakerconf-1.5
make all-recursive
Making all in GTKstep
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkcheckbutton.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkcombo.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkhscrollbar.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkoptionmenu.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkradiobutton.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkrange.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkscrolledwindow.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -DPKGDATADIR=\"/usr/X11R6/share/wmakerconf\" -DWMAKERDIR=\"\" -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11/include/ -I/usr/X11R6/include/ -I/usr/openwin/include -I/usr/X11R6/include -O -pipe -c gtkspinbutton.c
gtkspinbutton.c:2695: warning: type mismatch with previous external decl
gtkspinbutton.c:1542: warning: previous external decl of `gtk_spin_button_configure'
gtkspinbutton.c:2695: warning: type mismatch with previous implicit declaration
gtkspinbutton.c:1542: warning: previous implicit declaration of `gtk_spin_button_configure'
gtkspinbutton.c:2695: warning: `gtk_spin_button_configure' was previously implicitly declared to return `int'
gtkspinbutton.c:2714: conflicting types for `gtk_spin_button_new'
/usr/X11R6/include/gtk11/gtk/gtkspinbutton.h:107: previous declaration of `gtk_spin_button_new'
gtkspinbutton.c: In function `gtk_spin_button_new':
gtkspinbutton.c:2721: `GTK_TYPE_SPIN_BUTTON' undeclared (first use this function)
gtkspinbutton.c:2721: (Each undeclared identifier is reported only once
gtkspinbutton.c:2721: for each function it appears in.)
gtkspinbutton.c: At top level:
gtkspinbutton.c:2767: conflicting types for `gtk_spin_button_set_digits'
/usr/X11R6/include/gtk11/gtk/gtkspinbutton.h:115: previous declaration of `gtk_spin_button_set_digits'
*** Error code 1

Stop.

Is there any suggetions?  I put patch-aa of configure.

Thank you.

---
KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>


----Next_Part(Mon_Jan_18_20:48:37_1999_809)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch-aa

--- configure~	Mon Jan 18 20:35:09 1999
+++ configure	Mon Jan 18 20:36:45 1999
@@ -1391,18 +1391,18 @@
   if test x$gtk_config_exec_prefix != x ; then
      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
      if test x${GTK_CONFIG+set} != xset ; then
-        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
+        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk11-config
      fi
   fi
   if test x$gtk_config_prefix != x ; then
      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
      if test x${GTK_CONFIG+set} != xset ; then
-        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
+        GTK_CONFIG=$gtk_config_prefix/bin/gtk11-config
      fi
   fi
 
-  # Extract the first word of "gtk-config", so it can be a program name with args.
-set dummy gtk-config; ac_word=$2
+  # Extract the first word of "gtk11-config", so it can be a program name with args.
+set dummy gtk11-config; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:1408: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
@@ -1484,16 +1484,16 @@
       (gtk_minor_version != $gtk_config_minor_version) ||
       (gtk_micro_version != $gtk_config_micro_version))
     {
-      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
+      printf("\n*** 'gtk11-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
              gtk_major_version, gtk_minor_version, gtk_micro_version);
-      printf ("*** was found! If gtk-config was correct, then it is best\n");
+      printf ("*** was found! If gtk11-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("*** If gtk11-config was wrong, set the environment variable GTK_CONFIG\n");
+      printf("*** to point to the correct copy of gtk11-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)
@@ -1524,10 +1524,10 @@
         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("*** probably means that the wrong copy of the gtk11-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("*** correct copy of gtk11-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");
       }
@@ -1558,10 +1558,10 @@
   else
      echo "$ac_t""no" 1>&6
      if test "$GTK_CONFIG" = "no" ; then
-       echo "*** The gtk-config script installed by GTK could not be found"
+       echo "*** The gtk11-config script installed by GTK could not be found"
        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
        echo "*** your path, or set the GTK_CONFIG environment variable to the"
-       echo "*** full path to gtk-config."
+       echo "*** full path to gtk11-config."
      else
        if test -f conf.gtktest ; then
         :
@@ -1603,7 +1603,7 @@
    echo "*** The test program failed to compile or link. See the file config.log for the"
           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
-          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 
+          echo "*** may want to edit the gtk11-config script: $GTK_CONFIG" 
 fi
 rm -f conftest*
           CFLAGS="$ac_save_CFLAGS"

----Next_Part(Mon_Jan_18_20:48:37_1999_809)----

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?19990118204842M.kiri>