Hi!

> > I'm trying to build dia 0.85 on my RedHat 6.2 machine. It complains
> > about the missing of two libraries: libart and gtk_pixbuf. I checked on
> > my machine and the libart library is there.
> >
> > So what is the problem?
> >
> 
> Does the config.log file give some idea of what is causing the problem?
> It worked fine for me.

It might have said but I surely have some troubles to understand it...
I join it. I just typed ./configure

                Daniel



-- 
***********************************************************************
Daniel TOURDE                                   E-mail : [EMAIL PROTECTED]
The Aeronautical Research Institute of Sweden   Tel : +46 8 55 54 93 44
P.O. Box 11021 S-161 11 BROMMA, Sweden          Fax : +46 8    25 34 81
***********************************************************************
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:611: checking for a BSD compatible install
configure:664: checking whether build environment is sane
configure:736: checking for gawk
configure:766: checking whether make sets ${MAKE}
configure:895: checking whether to enable maintainer-specific portions of Makefiles
configure:944: checking how to run the C preprocessor
configure:965: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1076: checking host system type
configure:1097: checking build system type
configure:1117: checking for ranlib
configure:1147: checking for gcc
configure:1260: checking whether the C compiler (gcc  ) works
configure:1276: gcc -o conftest    conftest.c  1>&5
configure:1302: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1307: checking whether we are using GNU C
configure:1316: gcc -E conftest.c
configure:1335: checking whether gcc accepts -g
configure:1374: checking dependency style of gcc
configure:1430: checking for ld used by GCC
configure:1492: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.9.5 (with BFD 2.9.5.0.22)
configure:1508: checking for BSD-compatible nm
configure:1544: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2   conftest.c  1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.9.5 (with BFD 2.9.5.0.22)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[      
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > 
conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   
conftest.c conftstm.o 1>&5
configure:1735: checking whether build environment is sane
configure:1776: checking for gcc
configure:1889: checking whether the C compiler (gcc -g -O2 ) works
configure:1905: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1931: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
configure:1936: checking whether we are using GNU C
configure:1964: checking whether gcc accepts -g
configure:2003: checking dependency style of gcc
configure:2059: checking for a BSD compatible install
configure:2112: checking whether ln -s works
configure:2133: checking whether make sets ${MAKE}
configure:2160: checking for POSIXized ISC
configure:2231: checking for gtk-config
configure:2266: checking for GTK - version >= 1.2.0
configure:2367: gcc -o conftest -g -O2 -I/usr/lib/glib/include -I/usr/X11R6/include   
conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl 
-lXi -lXext -lX11 -lm  1>&5
configure:2455: checking whether GNOME specific code should be used
configure:2535: checking for poptSetOtherOptionHelp in -lpopt
configure:2554: gcc -o conftest -g -O2   conftest.c -lpopt   1>&5
configure:2582: checking for popt.h
configure:2592: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2661: checking for libart-config
configure:2696: checking for LIBART - version >= 2.1.0
configure:2778: gcc -o conftest -g -O2    conftest.c  -L/usr/lib -lart_lgpl -lm 1>&5
configure:2725: libart_lgpl/libart.h: No such file or directory
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libart_lgpl/libart.h>

char*
my_strdup (char *str)
{
  char *new_str;
  
  if (str)
    {
      new_str = malloc ((strlen (str) + 1) * sizeof(char));
      strcpy (new_str, str);
    }
  else
    new_str = NULL;
  
  return new_str;
}

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

  system ("touch conf.libarttest");

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

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


configure:2826: gcc -o conftest -g -O2    conftest.c  -L/usr/lib -lart_lgpl -lm 1>&5
configure:2819: libart_lgpl/libart.h: No such file or directory
configure: failed program was:
#line 2816 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <libart_lgpl/libart.h>

int main() {
 return 0; 
; return 0; }
configure:2902: checking for gdk-pixbuf-config
configure:2937: checking for GDK_PIXBUF - version >= 0.7.0
configure:3136: checking for imlib-config
configure:3171: checking for IMLIB - version >= 1.8.0
configure:3233: gcc -o conftest -g -O2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/X11R6/include   conftest.c  -L/usr/lib -lgdk_imlib -L/usr/lib -L/usr/X11R6/lib 
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
configure:3319: checking for png_read_info in -lpng
configure:3338: gcc -o conftest -g -O2   conftest.c -lpng -lz -lm  1>&5
configure:3355: checking for png.h
configure:3365: cc -E  conftest.c >/dev/null 2>conftest.out
configure:3394: checking for png_structp in png.h
configure:3403: gcc -c -g -O2  conftest.c 1>&5
configure:3449: checking for ANSI C header files
configure:3462: cc -E  conftest.c >/dev/null 2>conftest.out
configure:3529: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3553: checking for working const
configure:3607: gcc -c -g -O2  conftest.c 1>&5
configure:3628: checking for inline
configure:3642: gcc -c -g -O2  conftest.c 1>&5
configure:3668: checking for off_t
configure:3701: checking for size_t
configure:3736: checking for working alloca.h
configure:3748: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3769: checking for alloca
configure:3802: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3971: checking for unistd.h
configure:3981: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4010: checking for getpagesize
configure:4038: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4063: checking for working mmap
configure:4211: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4239: checking for argz.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for limits.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for locale.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for nl_types.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for malloc.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for string.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4239: checking for unistd.h
configure:4239: checking for sys/param.h
configure:4249: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4279: checking for getcwd
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for munmap
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for putenv
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for setenv
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for setlocale
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for strchr
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for strcasecmp
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for strdup
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for __argz_count
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for __argz_stringify
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4279: checking for __argz_next
configure:4307: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4336: checking for stpcpy
configure:4364: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4398: checking for LC_MESSAGES
configure:4410: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4431: checking whether NLS is requested
configure:4451: checking whether included gettext is requested
configure:4470: checking for libintl.h
configure:4480: cc -E  conftest.c >/dev/null 2>conftest.out
configure:4497: checking for gettext in libc
configure:4509: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4623: checking for msgfmt
configure:4657: checking for dcgettext
configure:4685: gcc -o conftest -g -O2   conftest.c  1>&5
configure:4712: checking for gmsgfmt
configure:4748: checking for xgettext
configure:4788: gcc -o conftest -g -O2   conftest.c  1>&5
configure:5246: checking for catalogs to be installed
configure:5354: checking for xml-config
configure:5383: checking for libxml >= 1.8.5
configure:5403: checking for dirent.h that defines DIR
configure:5416: gcc -c -g -O2  conftest.c 1>&5
configure:5441: checking for opendir in -ldir
configure:5460: gcc -o conftest -g -O2   conftest.c -ldir   1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 5449 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:5524: checking for ANSI C header files
configure:5631: checking for stddef.h
configure:5641: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5631: checking for fcntl.h
configure:5641: cc -E  conftest.c >/dev/null 2>conftest.out
configure:5631: checking for unistd.h
configure:5669: checking for working const
configure:5747: checking for select
configure:5775: gcc -o conftest -g -O2   conftest.c  1>&5
configure:5747: checking for strcspn
configure:5775: gcc -o conftest -g -O2   conftest.c  1>&5
configure:5747: checking for strdup
configure:5747: checking for strtol
configure:5775: gcc -o conftest -g -O2   conftest.c  1>&5
configure:5747: checking for snprintf
configure:5775: gcc -o conftest -g -O2   conftest.c  1>&5
configure:5808: checking if C compiler accepts -Wall
configure:5819: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure:5833: checking if C compiler accepts -Wunused
configure:5844: gcc -c -g -O2 -Wall -Wunused  conftest.c 1>&5
configure:5858: checking if C compiler accepts -Winline
configure:5869: gcc -c -g -O2 -Wall -Wunused -Winline  conftest.c 1>&5
configure:5883: checking if C compiler accepts -Wmissing-prototypes
configure:5894: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes  conftest.c 
1>&5
configure: In function `main':
configure:5890: warning: no previous prototype for `somefunc'
configure:5908: checking if C compiler accepts -Wmissing-declarations
configure:5919: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes 
-Wmissing-declarations  conftest.c 1>&5
configure: In function `main':
configure:5915: warning: no previous prototype for `somefunc'
configure:5936: checking if C compiler accepts -fomit-frame-pointer
configure:5947: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes 
-Wmissing-declarations -fomit-frame-pointer  conftest.c 1>&5
configure: In function `main':
configure:5943: warning: no previous prototype for `somefunc'
configure:5964: checking if C compiler accepts -finline-functions
configure:5975: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes 
-Wmissing-declarations -fomit-frame-pointer -finline-functions  conftest.c 1>&5
configure: In function `main':
configure:5971: warning: no previous prototype for `somefunc'
configure:5989: checking if C compiler accepts -fstrict-aliasing
configure:6000: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes 
-Wmissing-declarations -fomit-frame-pointer -finline-functions -fstrict-aliasing  
conftest.c 1>&5
configure: In function `main':
configure:5996: warning: no previous prototype for `somefunc'

Reply via email to