Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 15:20:07 +1030
From:      "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
To:        gnome@freebsd.org
Cc:        ports@freebsd.org
Subject:   Problem building ports/x11/gnome
Message-ID:  <3C6B41FF.FFA82F4E@dsto.defence.gov.au>

next in thread | raw e-mail | index | archive | help
The problem is in the build of ports/x11/gnomelibs

Looks like the configure test program is not linking with
the installed imlib-1.9.11 (which the ports system correctly
installed as a dependency).

Everything on my machine is build from ports on a very recent
-CURRENT.


Extract of the error:


checking for IMLIB - version >= 1.9... no
*** Could not run IMLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding IMLIB or finding the wrong
*** version of IMLIB. If it is not finding IMLIB, 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
checking for imlib-config... (cached) /usr/X11R6/bin/imlib-config
checking for IMLIB - version >= 1.8... no
*** Could not run IMLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding IMLIB or finding the wrong
*** version of IMLIB. If it is not finding IMLIB, 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
configure: error: *** IMLIB 1.8 not installed - please install first ***
===>  Script "configure" failed: here are the contents of "config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

[snip]

configure:9092: checking for IMLIB - version >= 1.9
configure:9154: cc -o conftest -O -pipe  -Wall -Wunused  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include  conftest.c -lz -lm -L/usr/local/lib -L/usr/X11R6/lib -lgdk_imlib -ltiff -lungif -lpng -lz -lm -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
configure: failed program was:
#line 9114 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <gdk_imlib.h>

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

  system ("touch conf.gdkimlibtest");

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

    if ((1 > major) ||
        ((1 == major) && (9 >= minor)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'imlib-config --version' returned %d.%d, but the minimum version\n", 1, 9);
      printf("*** of IMLIB required is %d.%d. If imlib-config is correct, then it is\n", major, minor);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If imlib-config was wrong, set the environment variable IMLIB_CONFIG\n");
      printf("*** to point to the correct copy of imlib-config, and remove the file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}


configure:9198: cc -o conftest -O -pipe  -Wall -Wunused  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include  conftest.c -lz -lm -L/usr/local/lib -L/usr/X11R6/lib -lgdk_imlib -ltiff -lungif -lpng -lz -lm -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
configure:9267: checking for imlib-config
configure:9302: checking for IMLIB - version >= 1.8
configure:9364: cc -o conftest -O -pipe  -Wall -Wunused  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include  conftest.c -lz -lm -L/usr/local/lib -L/usr/X11R6/lib -lgdk_imlib -ltiff -lungif -lpng -lz -lm -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
configure: failed program was:
#line 9324 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <gdk_imlib.h>

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

  system ("touch conf.gdkimlibtest");

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

    if ((1 > major) ||
        ((1 == major) && (9 >= minor)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'imlib-config --version' returned %d.%d, but the minimum version\n", 1, 9);
      printf("*** of IMLIB required is %d.%d. If imlib-config is correct, then it is\n", major, minor);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If imlib-config was wrong, set the environment variable IMLIB_CONFIG\n");
      printf("*** to point to the correct copy of imlib-config, and remove the file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}


configure:9410: cc -o conftest -O -pipe  -Wall -Wunused  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include  conftest.c -lz -lm -L/usr/local/lib -L/usr/X11R6/lib -lgdk_imlib -ltiff -lungif -lpng -lz -lm -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
(end of "config.log")
*** Error code 1

Stop in /usr/ports/x11/gnomelibs.
*** Error code 1


--
 Matthew Thyer                                 Phone:  +61 8 8259 7249
 Science Corporate Information Systems         Fax:    +61 8 8259 5537
 Defence Science and Technology Organisation, Edinburgh
 PO Box 1500 EDINBURGH South Australia 5111

 IMPORTANT: This email remains the property of the Australian Defence
 Organisation and is subject to the jurisdiction of section 70 of the
 CRIMES ACT 1914.  If you have received this email in error, you are
 requested to contact the sender and delete the email.

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?3C6B41FF.FFA82F4E>