Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2002 22:25:04 +0500 (YEKT)
From:      Ilia Chipitsine <ilia@chel.skbkontur.ru>
To:        questions@FreeBSD.ORG
Cc:        ports@FreeBSD.ORG, <gnome@FreeBSD.ORG>
Subject:   gtk12 doesn't compile
Message-ID:  <20021201222245.Q66966-200000@apollo.chel.skbkontur.ru>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
the problem is:

===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and
attach
      the "/usr/ports/x11-toolkits/gtk12/work/gtk+-1.2.10/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/x11-toolkits/gtk12.

apollo# uname -a
FreeBSD apollo.chel.skbkontur.ru 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Dec
1 10:44:06 YEKT 2002
ilia@apollo.chel.skbkontur.ru:/usr/src/sys/compile/GENERIC  i386
apollo#

Mesa-3.4.2_2
XFree86-aoutlibs-3.3.3
Xaw3d-1.5
aalib-1.2
apache-2.0.43
autoconf213-2.13.000227_1
automake14-1.4.5_8
avifile-0.7.18.20021107,2
cclient-2001a,1
cdrtools-1.10
cfs-1.4.0b2_1
citrix_ica-6.20.986
cyrus-sasl-2.1.9_1
db3-3.3.11,1
deco-3.8.3
djbfft-0.76
esound-0.2.29
expat-1.95.5
ffmpeg-0.4.5_4
fvwm-2.3.19
fxtv-1.02
fxtv-1.03
gettext-0.11.5_1
gimp-1.1.24
glib-1.2.10_7
glib-1.2.10_8
glib-1.2.8
gmake-3.79.1
gtk-1.2.8
imlib-1.9.14_1
iozone-3.83_1
john-1.6
jpeg-6b
krb5-1.2.3
krb5-1.2.6
liba52-0.7.4
libaudiofile-0.2.3
libdvdcss-1.2.2
libdvdread-0.9.3
libgnugetopt-1.2
libiconv-1.8_2
libogg-1.0_1,3
libtool-1.3.4_2
libungif-4.1.0b1
libvorbis-1.0_1,3
libxine-0.9.13
m4-1.4_1
mad-0.14.2b_2
mkisofs-1.12.1
mkisofs-1.14
mpeg-1.2.2
mpeg2codec-1.2
mpeg2play-1.1b
mpeg_encode-1.5b
mpeg_lib-1.3.1
mpeg_play-2.4
mpegaudio-3.9
mpg123-0.59r
mysql-client-3.22.32
mysql-server-3.22.32
nasm-0.98.33,1
netscape-communicator-4.73
netscape-remote-1.0
netscape-wrapper-2000.07.07
nmap-2.54.b33
openquicktime-1.0
p5-DBD-Pg-0.98
p5-DBI-1.15
p5-Time-101.062101
pam_krb5-1.0.1
pam_krb5-1.0.3
pine-4.44
pkgconfig-0.13.0
png-1.0.10
png-1.0.7
png-1.2.5
popt-1.6.4
postgresql-7.1.3
postgresql-7.2.3
samba-2.2.7
sdl-1.2.4_1
siphon-0.666
snort-1.8.6
snortsnarf-020126
sox-12.16
squid-2.4_9
svgalib-1.4.2_1
tcl-8.3.3_4
tiff-3.5.5
tk-8.3.3
trafshow-3.1_1
vnc-3.3.3.2_1
win32-codecs-011002.0.0.90pre7
xpm-3.4k
xv-3.10a_1
xvid-0.20020412_1

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)

[-- Attachment #2 --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:661: checking for a BSD compatible install
configure:714: checking whether build environment is sane
configure:771: checking whether make sets ${MAKE}
configure:810: checking for working aclocal
configure:823: checking for working autoconf
configure:836: checking for working automake
configure:849: checking for working autoheader
configure:862: checking for working makeinfo
configure:957: checking host system type
configure:978: checking build system type
configure:998: checking for ranlib
configure:1028: checking for gcc
configure:1141: checking whether the C compiler (cc -O -pipe  ) works
configure:1157: cc -o conftest -O -pipe  -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1183: checking whether the C compiler (cc -O -pipe  ) is a cross-compiler
configure:1188: checking whether we are using GNU C
configure:1197: cc -E conftest.c
configure:1216: checking whether cc accepts -g
configure:1259: checking for ld used by GCC
configure:1321: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
configure:1337: checking for BSD-compatible nm
configure:1373: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe  -I/usr/local/include conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: cc -o conftest -O -pipe  -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe  -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe  -o out/conftest2.o -I/usr/local/include conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe  -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe  -I/usr/local/include  -static conftest.c -L/usr/local/lib 1>&5
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe  -I/usr/local/include 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: cc -o conftest -O -pipe  -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include  conftest.c conftstm.o 1>&5
configure:1559: checking whether to enable maintainer-specific portions of Makefiles
configure:1589: checking host system type
configure:1705: checking whether build environment is sane
configure:1747: checking for gcc
configure:1860: checking whether the C compiler (cc -O -pipe  ) works
configure:1876: cc -o conftest -O -pipe  -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1902: checking whether the C compiler (cc -O -pipe  ) is a cross-compiler
configure:1907: checking whether we are using GNU C
configure:1935: checking whether cc accepts -g
configure:1967: checking for POSIXized ISC
configure:1991: checking for cc option to accept ANSI C
configure:2044: cc  -c -O -pipe  -I/usr/local/include conftest.c 1>&5
configure:2079: checking for a BSD compatible install
configure:2132: checking whether make sets ${MAKE}
configure:2189: checking for gawk
configure:2189: checking for mawk
configure:2189: checking for nawk
configure:2223: checking for perl5
configure:2257: checking for indent
configure:2294: checking whether make is GNU Make
configure:2312: checking how to run the C preprocessor
configure:2333: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2392: checking for ANSI C header files
configure:2405: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2472: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2496: checking for working const
configure:2550: cc -c -O -pipe  -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2524: warning: unused variable `s'
configure:2544: warning: unused variable `foo'
configure:2512: warning: unused variable `zero'
configure:2506: warning: unused variable `x'
configure:2523: warning: `t' might be used uninitialized in this function
configure:2541: warning: `b' might be used uninitialized in this function
configure:2571: checking for inline
configure:2585: cc -c -O -pipe  -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2581: warning: control reaches end of non-void function
configure: At top level:
configure:2581: warning: return-type defaults to `int'
configure:2611: checking for off_t
configure:2644: checking for size_t
configure:2679: checking for working alloca.h
configure:2691: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2685: alloca.h: No such file or directory
configure: In function `main':
configure:2687: warning: unused variable `p'
configure: failed program was:
#line 2684 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:2712: checking for alloca
configure:2745: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:2741: warning: unused variable `p'
configure:2914: checking for unistd.h
configure:2924: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2953: checking for getpagesize
configure:2981: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3006: checking for working mmap
configure:3154: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:3095: warning: implicit declaration of function `getpagesize'
configure:3104: warning: implicit declaration of function `rand'
configure:3105: warning: implicit declaration of function `umask'
configure:3109: warning: implicit declaration of function `write'
configure:3111: warning: implicit declaration of function `close'
configure:3142: warning: implicit declaration of function `read'
configure:3148: warning: implicit declaration of function `unlink'
configure:3182: checking for argz.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3188: argz.h: No such file or directory
configure: failed program was:
#line 3187 "configure"
#include "confdefs.h"
#include <argz.h>
configure:3182: checking for limits.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for locale.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for nl_types.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for malloc.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
In file included from configure:3188:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 3187 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:3182: checking for string.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for unistd.h
configure:3182: checking for sys/param.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3222: checking for getcwd
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for munmap
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for putenv
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for setenv
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for setlocale
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strchr
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strcasecmp
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strdup
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for __argz_count
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/cca0PHhy.o: In function `main':
/tmp/cca0PHhy.o(.text+0x7): undefined reference to `__argz_count'
configure: failed program was:
#line 3227 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.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 __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:3222: checking for __argz_stringify
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccDY7K5F.o: In function `main':
/tmp/ccDY7K5F.o(.text+0x7): undefined reference to `__argz_stringify'
configure: failed program was:
#line 3227 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.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 __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:3222: checking for __argz_next
configure:3250: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccDI0Sj0.o: In function `main':
/tmp/ccDI0Sj0.o(.text+0x7): undefined reference to `__argz_next'
configure: failed program was:
#line 3227 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.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 __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:3279: checking for stpcpy
configure:3307: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccKpZDt6.o: In function `main':
/tmp/ccKpZDt6.o(.text+0x7): undefined reference to `stpcpy'
configure: failed program was:
#line 3284 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.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 stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3341: checking for LC_MESSAGES
configure:3353: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3374: checking whether NLS is requested
configure:3406: checking for libintl.h
configure:3416: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3433: checking for dgettext in libc
configure:3445: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccFGnbzZ.o: In function `main':
/tmp/ccFGnbzZ.o(.text+0x14): undefined reference to `libintl_dgettext'
configure: failed program was:
#line 3438 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) dgettext ("","")
; return 0; }
configure:3461: checking for bindtextdomain in -lintl
configure:3480: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3496: checking for dgettext in libintl
configure:3501: checking for dgettext in -lintl
configure:3520: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3563: checking for msgfmt
configure:3597: checking for dcgettext
configure:3625: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib -lintl 1>&5
configure:3652: checking for gmsgfmt
configure:3688: checking for xgettext
configure:3728: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib -lintl 1>&5
configure:4004: checking for catalogs to be installed
configure:4114: checking for extra flags to get ANSI library prototypes
configure:4128: cc -o conftest -O -pipe  -Wall -I/usr/local/include  conftest.c -L/usr/local/lib  -lintl -lm 1>&5
configure:4168: checking for extra flags for POSIX compliance
configure:4177: cc -c -O -pipe  -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:4173: warning: unused variable `dir'
configure:4270: checking for glib-config
configure:4305: checking for GLIB - version >= 1.2.8
configure:4404: cc -o conftest -O -pipe  -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include  conftest.c -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread -L/usr/local/lib  -lintl 1>&5
/usr/local/lib/libglib12.so: undefined reference to `__stdoutp'
/usr/local/lib/libglib12.so: undefined reference to `__stdinp'
/usr/local/lib/libglib12.so: undefined reference to `__stderrp'
/usr/local/lib/libintl.so: undefined reference to `nl_langinfo'
configure: failed program was:
#line 4328 "configure"
#include "confdefs.h"

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

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

  system ("touch conf.glibtest");

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

  if ((glib_major_version != 1) ||
      (glib_minor_version != 2) ||
      (glib_micro_version != 10))
    {
      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
             1, 2, 10,
             glib_major_version, glib_minor_version, glib_micro_version);
      printf ("*** was found! If glib-config was correct, then it is best\n");
      printf ("*** to remove the old version of GLIB. 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 glib-config was wrong, set the environment variable GLIB_CONFIG\n");
      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
	   (glib_minor_version != GLIB_MINOR_VERSION) ||
           (glib_micro_version != GLIB_MICRO_VERSION))
    {
      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
	     glib_major_version, glib_minor_version, glib_micro_version);
    }
  else
    {
      if ((glib_major_version > major) ||
        ((glib_major_version == major) && (glib_minor_version > minor)) ||
        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
               glib_major_version, glib_minor_version, glib_micro_version);
        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
	       major, minor, micro);
        printf("*** GLIB 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 glib-config shell script is\n");
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
        printf("*** correct copy of glib-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:4448: cc -o conftest -O -pipe  -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include  conftest.c -L/usr/local/lib  -lintl -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread 1>&5
/usr/local/lib/libglib12.so: undefined reference to `__stdoutp'
/usr/local/lib/libglib12.so: undefined reference to `__stdinp'
/usr/local/lib/libglib12.so: undefined reference to `__stderrp'
/usr/local/lib/libintl.so: undefined reference to `nl_langinfo'
configure: failed program was:
#line 4438 "configure"
#include "confdefs.h"

#include <glib.h>
#include <stdio.h>

int main() {
 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
; return 0; }

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021201222245.Q66966-200000>