portupgrade: gnotepad+ GTK+ missing

Tom Parquette tparquet at twcny.rr.com
Sun Sep 21 06:18:39 PDT 2003


This is from a 5.1-CURRENT system updated early Sept 20.  Ports was 
updated later in the day on the 20th.
It complained about GTK not being there but it also said it found it. 
TIA for any help.


P3R-272# cd /usr/ports/editors/gnotepad+
P3R-272# make
===>   gnotepad+-gnome-1.3.3 depends on file: 
/usr/local/libexec/libtool13/libtool - found
===>   gnotepad+-gnome-1.3.3 depends on executable: pkg-config - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: X11.6 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: esd.2 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: glib12.3 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: gtk12.2 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: xml.5 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: Imlib.5 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: ORBit.2 - found
===>   gnotepad+-gnome-1.3.3 depends on shared library: gnome.5 - found
===>  Configuring for gnotepad+-gnome-1.3.3
loading 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 make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a 
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking whether to use runtime debugging code... no
checking if we want compiler warnings... yes
checking whether to compile with strict ANSI... no
checking whether build environment is sane... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for libintl.h... yes
checking for getopt.h... yes
checking for getopt... yes
checking for getopt_long... yes
checking whether to use over-hyped gnome... yes (bleh, what's the big deal?)
checking for gnome-config... /usr/X11R6/bin/gnome-config
checking if /usr/X11R6/bin/gnome-config works... yes
checking whether to use libglade... yes
checking additional requirements for libglade...
checking for glade_xml_new in -lglade... yes
checking for gtk-config... /usr/X11R6/bin/gtk12-config
checking for GTK - version >= 1.0.5... no
*** Could not run GTK test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
***    rpm --erase --nodeps gtk gtk-devel
configure: error: Cannot find GTK+: Is gtk-config in executable path?
===>  Script "configure" failed unexpectedly.
       Please report the problem to ports at freebsd.org [maintainer] and 
attach
       the "/usr/ports/editors/gnotepad+/work/gnotepad+-1.3.3/config.log"
       including the output of the failure of your make command. Also, 
it might
       be a good idea to provide an overview of all packages installed 
on your
       system (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/editors/gnotepad+.
P3R-272#


Here is the config.log:

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

configure:652: checking for a BSD compatible install
configure:705: checking whether build environment is sane
configure:762: checking whether make sets ${MAKE}
configure:808: checking for working aclocal
configure:821: checking for working autoconf
configure:834: checking for working automake
configure:847: checking for working autoheader
configure:860: checking for working makeinfo
configure:881: checking for gcc
configure:994: checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works
configure:1010: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1036: checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compiler
configure:1041: checking whether we are using GNU C
configure:1050: cc -E conftest.c
configure:1069: checking whether cc accepts -g
configure:1103: checking whether to use runtime debugging code
configure:1128: checking if we want compiler warnings
configure:1142: checking whether to compile with strict ANSI
configure:1199: checking whether build environment is sane
configure:1239: checking how to run the C preprocessor
configure:1260: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1319: checking for ANSI C header files
configure:1332: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1399: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1423: checking for off_t
configure:1456: checking for pid_t
configure:1489: checking for size_t
configure:1522: checking for mode_t
configure:1555: checking for uid_t in sys/types.h
configure:1594: checking for libintl.h
configure:1604: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1594: checking for getopt.h
configure:1604: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:1633: checking for getopt
configure:1661: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1633: checking for getopt_long
configure:1661: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1693: checking whether to use over-hyped gnome
configure:1752: checking for gnome-config
configure:1789: checking if /usr/X11R6/bin/gnome-config works
configure:1865: checking whether to use libglade
configure:1880: checking for glade_xml_new in -lglade
configure:1899: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/libglade-1.0 -I/usr/local/include/gnome-xml -I/usr/local/include  -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lglade  -L/usr/local/lib -Wl,-E -lgtkxmhtml -lglade-gnome -lglade -lxml -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 -lgdk12 -lgmodule12 -lXi -lXext -lX11 -lgnome -lgnomesupport -lintl -lesd -laudiofile -lm -lglib12 1>&5
/usr/X11R6/lib/libgtkxmhtml.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/bin/ld: warning: libintl.so.4, needed by /usr/X11R6/lib/libglade.so, not found (try using -rpath or -rpath-link)
configure:1985: checking for gtk-config
configure:2020: checking for GTK - version >= 1.0.5
configure:2121: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/libglade-1.0 -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include  -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib conftest.c -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm -L/usr/local/lib -Wl,-E -lgtkxmhtml -lglade-gnome -lglade -lxml -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 -lgdk12 -lgmodule12 -lXi -lXext -lX11 -lgnome -lgnomesupport -lintl -lesd -laudiofile -lm -lglib12 1>&5
/usr/X11R6/lib/libgtkxmhtml.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/bin/ld: warning: libintl.so.4, needed by /usr/X11R6/lib/libglade-gnome.so, not found (try using -rpath or -rpath-link)
configure: failed program was:
#line 2043 "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.0.5");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.0.5");
     exit(1);
   }

  if ((gtk_major_version != 1) ||
      (gtk_minor_version != 2) ||
      (gtk_micro_version != 10))
    {
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
             1, 2, 10,
             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:2166: cc -o conftest -O -pipe -mcpu=pentiumpro -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/libglade-1.0 -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include  -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib conftest.c -L/usr/local/lib -Wl,-E -lgtkxmhtml -lglade-gnome -lglade -lxml -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 -lgdk12 -lgmodule12 -lXi -lXext -lX11 -lgnome -lgnomesupport -lintl -lesd -laudiofile -lm -lglib12 -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm 1>&5
/usr/X11R6/lib/libgtkxmhtml.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/bin/ld: warning: libintl.so.4, needed by /usr/X11R6/lib/libglade-gnome.so, not found (try using -rpath or -rpath-link)


More information about the freebsd-ports mailing list