Wojciech Puchar wrote:
fails on gtkextra and says that /usr/local/bin/gtk12-config doesn't exist

gtk12-config is here:


gtk12-config is hashed (/usr/X11R6/bin/gtk12-config)


what's wrong?


Script started on Sun Feb 25 23:56:13 2007
[EMAIL PROTECTED] /usr/ports/databases/clip]# make
===>   clip-1.1.16.1_1 depends on executable in : bash - found
===>   clip-1.1.16.1_1 depends on executable in : wget - found
===>   clip-1.1.16.1_1 depends on executable in : xmkmf - found
===>   clip-1.1.16.1_1 depends on executable in : gmake - found
===>   clip-1.1.16.1_1 depends on executable in : bison - found
===> clip-1.1.16.1_1 depends on file: /usr/local/bin/intltool-extract - found
===>   clip-1.1.16.1_1 depends on executable in : pkg-config - found
===>   clip-1.1.16.1_1 depends on shared library: jpeg.9 - found
===>   clip-1.1.16.1_1 depends on shared library: png.5 - found
===>   clip-1.1.16.1_1 depends on shared library: freetype.9 - found
===>   clip-1.1.16.1_1 depends on shared library: gtkextra.17 - not found
===> Verifying install for gtkextra.17 in /usr/ports/x11-toolkits/gtkextra
===>  Vulnerability check disabled, database not found
===>  Extracting for gtkextra-0.99.17_2
=> MD5 Checksum OK for gtk+extra-0.99.17.tar.gz.
=> SHA256 Checksum OK for gtk+extra-0.99.17.tar.gz.
===>  Patching for gtkextra-0.99.17_2
===>  Applying FreeBSD patches for gtkextra-0.99.17_2
===>   gtkextra-0.99.17_2 depends on executable in : gmake - found
===>   gtkextra-0.99.17_2 depends on file: /usr/local/bin/libtool - found
===>   gtkextra-0.99.17_2 depends on executable in : pkg-config - found
===>   gtkextra-0.99.17_2 depends on shared library: glib-12.3 - found
===>   gtkextra-0.99.17_2 depends on shared library: gtk-12.2 - found
===>   gtkextra-0.99.17_2 depends on shared library: X11.6 - found
===>  Configuring for gtkextra-0.99.17_2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether build environment is sane... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -march=pentium3 ) works... yes checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -march=pentium3 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for POSIXized ISC... no
checking for cc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether gmake sets ${MAKE}... (cached) yes
checking host system type... i386-portbld-freebsd6.2
checking build system type... i386-portbld-freebsd6.2
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... no
checking if cc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd6.2 ld.so
checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** bug-libtool@gnu.org

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-portbld-freebsd6.2
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for unistd.h... yes
checking for dirent.h... yes
checking for fnmatch.h... yes
checking for extra flags for POSIX compliance... none needed
checking for working const... (cached) yes
checking for inline... inline
checking for gtk-config... /usr/local/bin/gtk12-config
checking for GTK - version >= 1.2.0... ./configure: /usr/local/bin/gtk12-config: not found
./configure: /usr/local/bin/gtk12-config: not found
./configure: /usr/local/bin/gtk12-config: not found
./configure: /usr/local/bin/gtk12-config: not found
./configure: /usr/local/bin/gtk12-config: not found
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/local/bin/gtk12-config
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gtkextra/Makefile
creating gtkextra/gtkextrafeatures.h
creating docs/Makefile
creating gtkextra.spec
creating gtkextra-config
creating config.h
===>  Building for gtkextra-0.99.17_2
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/x11-toolkits/gtkextra/work/gtk+extra-0.99.17'
Making all in gtkextra
gmake[2]: Entering directory `/usr/ports/x11-toolkits/gtkextra/work/gtk+extra-0.99.17/gtkextra' /bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fno-strict-aliasing -pipe -march=pentium3 -Wall -c gtkbordercombo.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fno-strict-aliasing -pipe -march=pentium3 -Wall -c gtkbordercombo.c -fPIC -DPIC -o .libs/gtkbordercombo.o
gtkbordercombo.c:21:26: gtk/gtkarrow.h: No such file or directory
gtkbordercombo.c:22:25: gtk/gtkhbox.h: No such file or directory
gtkbordercombo.c:23:26: gtk/gtktable.h: No such file or directory
gtkbordercombo.c:24:33: gtk/gtktogglebutton.h: No such file or directory
gtkbordercombo.c:25:27: gtk/gtkpixmap.h: No such file or directory
gtkbordercombo.c:26:29: gtk/gtkeventbox.h: No such file or directory
gtkbordercombo.c:27:27: gtk/gtkbutton.h: No such file or directory
gtkbordercombo.c:28:25: gtk/gtkmain.h: No such file or directory
gtkbordercombo.c:29:27: gtk/gtksignal.h: No such file or directory
gtkbordercombo.c:30:27: gtk/gtkwindow.h: No such file or directory
gtkbordercombo.c:31:26: gtk/gtkframe.h: No such file or directory
gtkbordercombo.c:32:28: gdk/gdkkeysyms.h: No such file or directory
In file included from gtkbordercombo.c:33:
gtkcombobox.h:37: error: syntax error before "GtkHBox"
gtkcombobox.h:47: error: syntax error before "GtkHBoxClass"
gtkcombobox.h:50: error: syntax error before "gtk_combobox_get_type"
gtkcombobox.h:50: warning: type defaults to `int' in declaration of `gtk_combobox_get_type'
gtkcombobox.h:50: warning: data definition has no type or storage class
gtkcombobox.h:52: error: syntax error before '*' token
gtkcombobox.h:52: warning: type defaults to `int' in declaration of `gtk_combobox_new'
gtkcombobox.h:52: warning: data definition has no type or storage class
In file included from gtkbordercombo.c:34:
gtkbordercombo.h:41: error: syntax error before "gint"
gtkbordercombo.h:54: error: syntax error before "gint"
gtkbordercombo.h:57: error: syntax error before "gtk_border_combo_get_type"
gtkbordercombo.h:57: warning: type defaults to `int' in declaration of `gtk_border_combo_get_type'
gtkbordercombo.h:57: warning: data definition has no type or storage class
gtkbordercombo.h:59: error: syntax error before '*' token
gtkbordercombo.h:59: warning: type defaults to `int' in declaration of `gtk_border_combo_new'
gtkbordercombo.h:59: warning: data definition has no type or storage class
gtkbordercombo.c:42: error: syntax error before "border_combo_signals"
gtkbordercombo.c:42: warning: type defaults to `int' in declaration of `border_combo_signals'
gtkbordercombo.c:42: warning: data definition has no type or storage class
gtkbordercombo.c:76: error: syntax error before '*' token
gtkbordercombo.c:77: error: syntax error before '*' token
gtkbordercombo.c:78: error: syntax error before '*' token
gtkbordercombo.c:79: error: syntax error before "gchar"
gtkbordercombo.c:79: warning: type defaults to `int' in declaration of `create_border_pixmap'
gtkbordercombo.c:79: warning: data definition has no type or storage class
gtkbordercombo.c: In function `gtk_border_combo_class_init':
gtkbordercombo.c:86: error: `GtkObjectClass' undeclared (first use in this function) gtkbordercombo.c:86: error: (Each undeclared identifier is reported only once
gtkbordercombo.c:86: error: for each function it appears in.)
gtkbordercombo.c:86: error: `object_class' undeclared (first use in this function) gtkbordercombo.c:87: error: `GtkWidgetClass' undeclared (first use in this function) gtkbordercombo.c:87: error: `widget_class' undeclared (first use in this function) gtkbordercombo.c:89: warning: implicit declaration of function `gtk_type_class' gtkbordercombo.c:89: warning: implicit declaration of function `gtk_hbox_get_type' gtkbordercombo.c:89: warning: assignment makes pointer from integer without a cast
gtkbordercombo.c:90: error: syntax error before ')' token
gtkbordercombo.c:91: error: syntax error before ')' token
gtkbordercombo.c:97: warning: implicit declaration of function `gtk_signal_new' gtkbordercombo.c:98: error: `GTK_RUN_FIRST' undeclared (first use in this function) gtkbordercombo.c:100: warning: implicit declaration of function `GTK_SIGNAL_OFFSET'
gtkbordercombo.c:100: error: syntax error before "GtkBorderComboClass"
gtkbordercombo.c:105: warning: implicit declaration of function `gtk_object_class_add_signals'
gtkbordercombo.c: At top level:
gtkbordercombo.c:111: error: syntax error before '*' token
gtkbordercombo.c: In function `gtk_border_combo_destroy':
gtkbordercombo.c:113: error: syntax error before "i"
gtkbordercombo.c:116: warning: implicit declaration of function `GTK_CHECK_CAST' gtkbordercombo.c:116: error: `border_combo' undeclared (first use in this function)
gtkbordercombo.c:116: error: syntax error before "GtkBorderCombo"
gtkbordercombo.c:118: error: `i' undeclared (first use in this function)
gtkbordercombo.c:118: error: structure has no member named `nrows'
gtkbordercombo.c:119: error: `j' undeclared (first use in this function)
gtkbordercombo.c:119: error: structure has no member named `ncols'
gtkbordercombo.c:120: warning: implicit declaration of function `gtk_widget_destroy'
gtkbordercombo.c:120: error: structure has no member named `button'
gtkbordercombo.c:122: error: syntax error before "GtkBorderCombo"
gtkbordercombo.c:124: warning: implicit declaration of function `GTK_OBJECT_CLASS'
gtkbordercombo.c:124: error: invalid type argument of `->'
gtkbordercombo.c:125: error: invalid type argument of `->'
gtkbordercombo.c: At top level:
gtkbordercombo.c:131: error: syntax error before '*' token
gtkbordercombo.c: In function `gtk_border_combo_update':
gtkbordercombo.c:133: error: syntax error before "i"
gtkbordercombo.c:138: error: `GdkPixmap' undeclared (first use in this function) gtkbordercombo.c:138: error: `window' undeclared (first use in this function)
gtkbordercombo.c:140: error: `row' undeclared (first use in this function)
gtkbordercombo.c:140: error: `border_combo' undeclared (first use in this function) gtkbordercombo.c:141: error: `column' undeclared (first use in this function)
gtkbordercombo.c:143: error: `i' undeclared (first use in this function)
gtkbordercombo.c:144: error: `j' undeclared (first use in this function)
gtkbordercombo.c:145: warning: implicit declaration of function `GTK_WIDGET_HAS_FOCUS' gtkbordercombo.c:146: error: `focus_row' undeclared (first use in this function) gtkbordercombo.c:147: error: `focus_col' undeclared (first use in this function) gtkbordercombo.c:149: error: `GTK_STATE_ACTIVE' undeclared (first use in this function) gtkbordercombo.c:151: error: `new_selection' undeclared (first use in this function)
gtkbordercombo.c:151: error: `TRUE' undeclared (first use in this function)
gtkbordercombo.c:152: error: `new_row' undeclared (first use in this function) gtkbordercombo.c:153: error: `new_col' undeclared (first use in this function) gtkbordercombo.c:168: warning: implicit declaration of function `GTK_BUTTON'
gtkbordercombo.c:168: error: invalid type argument of `->'
gtkbordercombo.c:168: error: `FALSE' undeclared (first use in this function) gtkbordercombo.c:169: warning: implicit declaration of function `GTK_TOGGLE_BUTTON'
gtkbordercombo.c:169: error: invalid type argument of `->'
gtkbordercombo.c:170: warning: implicit declaration of function `gtk_widget_set_state' gtkbordercombo.c:170: error: `GTK_STATE_NORMAL' undeclared (first use in this function) gtkbordercombo.c:171: warning: implicit declaration of function `gtk_widget_queue_draw' gtkbordercombo.c:175: warning: implicit declaration of function `GTK_PIXMAP'
gtkbordercombo.c:175: error: syntax error before "GtkComboBox"
gtkbordercombo.c:177: warning: implicit declaration of function `gdk_window_copy_area' gtkbordercombo.c:178: error: `widget' undeclared (first use in this function)
gtkbordercombo.c:180: error: invalid type argument of `->'
gtkbordercombo.c:180: error: invalid type argument of `->'
gtkbordercombo.c:183: error: syntax error before "GtkComboBox"
gtkbordercombo.c:185: warning: implicit declaration of function `gtk_signal_emit' gtkbordercombo.c:185: warning: implicit declaration of function `GTK_OBJECT'
gtkbordercombo.c:190: error: invalid type argument of `->'
gtkbordercombo.c:191: error: invalid type argument of `->'
gtkbordercombo.c:201: warning: implicit declaration of function `gtk_toggle_button_set_active'
gtkbordercombo.c:201: error: syntax error before "GtkComboBox"
gtkbordercombo.c:203: warning: implicit declaration of function `gtk_grab_remove'
gtkbordercombo.c:203: error: syntax error before "GtkComboBox"
gtkbordercombo.c:204: warning: implicit declaration of function `gdk_pointer_ungrab' gtkbordercombo.c:204: error: `GDK_CURRENT_TIME' undeclared (first use in this function) gtkbordercombo.c:205: warning: implicit declaration of function `gtk_widget_hide'
gtkbordercombo.c:205: error: syntax error before "GtkComboBox"
gtkbordercombo.c: In function `gtk_border_combo_init':
gtkbordercombo.c:213: error: `GtkWidget' undeclared (first use in this function) gtkbordercombo.c:213: error: `widget' undeclared (first use in this function) gtkbordercombo.c:215: warning: implicit declaration of function `GTK_WIDGET'
gtkbordercombo.c:217: error: structure has no member named `nrows'
gtkbordercombo.c:218: error: structure has no member named `ncols'
gtkbordercombo.c:219: error: structure has no member named `row'
gtkbordercombo.c:220: error: structure has no member named `column'
gtkbordercombo.c: At top level:
gtkbordercombo.c:225: error: syntax error before '*' token
gtkbordercombo.c:226: error: syntax error before "gchar"
gtkbordercombo.c:227: warning: return type defaults to `int'
gtkbordercombo.c: In function `create_border_pixmap':
gtkbordercombo.c:228: error: `GtkWidget' undeclared (first use in this function) gtkbordercombo.c:228: error: `widget' undeclared (first use in this function) gtkbordercombo.c:229: error: `pixmap' undeclared (first use in this function) gtkbordercombo.c:230: error: `GdkPixmap' undeclared (first use in this function) gtkbordercombo.c:230: error: `border_pixmap' undeclared (first use in this function) gtkbordercombo.c:232: error: `border_combo' undeclared (first use in this function) gtkbordercombo.c:234: warning: implicit declaration of function `gdk_pixmap_create_from_xpm_d' gtkbordercombo.c:237: error: `GTK_STATE_NORMAL' undeclared (first use in this function) gtkbordercombo.c:238: error: `border' undeclared (first use in this function) gtkbordercombo.c:240: warning: implicit declaration of function `gtk_pixmap_new'
gtkbordercombo.c: At top level:
gtkbordercombo.c:247: error: syntax error before "gtk_border_combo_get_type"
gtkbordercombo.c:248: warning: return type defaults to `int'
gtkbordercombo.c: In function `gtk_border_combo_get_type':
gtkbordercombo.c:249: error: syntax error before "border_combo_type"
gtkbordercombo.c:251: error: `border_combo_type' undeclared (first use in this function)
gtkbordercombo.c:253: error: syntax error before "border_combo_info"
gtkbordercombo.c:264: warning: implicit declaration of function `gtk_type_unique' gtkbordercombo.c:264: error: `border_combo_info' undeclared (first use in this function)
gtkbordercombo.c: At top level:
gtkbordercombo.c:266: error: syntax error before "return"
gtkbordercombo.c:45: warning: 'xpm_border' defined but not used
gtkbordercombo.c:65: warning: 'full' defined but not used
gtkbordercombo.c:66: warning: 'dotted' defined but not used
gtkbordercombo.c:67: warning: 'side111' defined but not used
gtkbordercombo.c:68: warning: 'side000' defined but not used
gtkbordercombo.c:69: warning: 'side101' defined but not used
gtkbordercombo.c:70: warning: 'side010' defined but not used
gtkbordercombo.c:71: warning: 'side100' defined but not used
gtkbordercombo.c:72: warning: 'side001' defined but not used
gtkbordercombo.c:85: warning: 'gtk_border_combo_class_init' defined but not used
gtkbordercombo.c:212: warning: 'gtk_border_combo_init' defined but not used
gtkbordercombo.c:77: warning: 'gtk_border_combo_realize' declared `static' but never defined gtkbordercombo.c:132: warning: 'gtk_border_combo_update' defined but not used
gmake[2]: *** [gtkbordercombo.lo] Błąd 1
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtkextra/work/gtk+extra-0.99.17/gtkextra'
gmake[1]: *** [all-recursive] Błąd 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtkextra/work/gtk+extra-0.99.17'
gmake: *** [all-recursive-am] Błąd 2
*** Error code 2

Stop in /usr/ports/x11-toolkits/gtkextra.
*** Error code 1

Stop in /usr/ports/databases/clip.
[EMAIL PROTECTED] /usr/ports/databases/clip]# exit

Script done on Sun Feb 25 23:57:04 2007

Basically it (gcc/gmake) are looking for headers / definitions that don't exist in the included files.

Please submit the information included above and the configuration script output to the port maintainer.
-Garrett
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to