Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 2002 13:50:01 +0900 (JST)
From:      Tomoharu Suzuki <suzuki@astron.s.u-tokyo.ac.jp>
To:        gnome@FreeBSD.org
Subject:   ports: mozilla fails
Message-ID:  <20020802.135001.87595570.suzuki@astron.s.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Dear Maintener,

The installation of the latest mozilla_1.0_2,1 fails, though
gtk-1.2.10_7 is installed surely.

The last part of the output of the make command is followed.

--------

checking for GTK - version >= 1.2.0... 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: Test for GTK failed.
===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and attach
      the "/usr/ports/www/mozilla/work/mozilla/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

--------

And attached is the config.log.

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

configure:833: checking host system type
configure:854: checking target system type
configure:872: checking build system type
configure:1929: checking for gcc
configure:2042: checking whether the C compiler (cc -O -pipe  ) works
configure:2058: cc -o conftest -O -pipe    conftest.c  1>&5
configure:2084: checking whether the C compiler (cc -O -pipe  ) is a cross-compiler
configure:2089: checking whether we are using GNU C
configure:2098: cc -E conftest.c
configure:2117: checking whether cc accepts -g
configure:2153: checking for c++
configure:2185: checking whether the C++ compiler (c++  -O -pipe  -fmemoize-lookups -fsave-memoized ) works
configure:2201: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   conftest.C  1>&5
configure:2227: checking whether the C++ compiler (c++  -O -pipe  -fmemoize-lookups -fsave-memoized ) is a cross-compiler
configure:2232: checking whether we are using GNU C++
configure:2241: c++ -E conftest.C
configure:2260: checking whether c++ accepts -g
configure:2294: checking for ranlib
configure:2326: checking for as
configure:2367: checking for ar
configure:2408: checking for ld
configure:2449: checking for strip
configure:2490: checking for dlltool
configure:2555: checking whether cc understands -c and -o together
configure:2567: cc -c conftest.c -o conftest.o 1>&5
configure:2568: cc -c conftest.c -o conftest.o 1>&5
configure:2637: checking how to run the C preprocessor
configure:2658: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2717: checking how to run the C++ preprocessor
configure:2735: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:2771: checking for a BSD compatible install
configure:2824: checking whether ln -s works
configure:2849: checking for gawk
configure:2849: checking for mawk
configure:2849: checking for nawk
configure:2849: checking for awk
configure:2883: checking for xemacs
configure:2883: checking for lemacs
configure:2883: checking for emacs
configure:2924: checking for perl5
configure:2964: checking for minimum required perl version >= 5.004
configure:2974: checking for full perl installation
configure:2987: checking for whoami
configure:3023: checking for autoconf
configure:3059: checking for unzip
configure:3097: checking for zip
configure:3138: checking for makedepend
configure:3173: checking for xargs
configure:3214: checking for gmake
configure:3270: checking whether /usr/local/bin/gmake sets ${MAKE}
configure:3302: checking for X
configure:3616: checking for dnet_ntoa in -ldnet
configure:3635: cc -o conftest -O -pipe    conftest.c -ldnet   1>&5
/usr/libexec/elf/ld: cannot find -ldnet
configure: failed program was:
#line 3624 "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 dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3657: checking for dnet_ntoa in -ldnet_stub
configure:3676: cc -o conftest -O -pipe    conftest.c -ldnet_stub   1>&5
/usr/libexec/elf/ld: cannot find -ldnet_stub
configure: failed program was:
#line 3665 "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 dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3705: checking for gethostbyname
configure:3733: cc -o conftest -O -pipe    conftest.c  1>&5
configure:3803: checking for connect
configure:3831: cc -o conftest -O -pipe    conftest.c  1>&5
configure:3895: checking for remove
configure:3923: cc -o conftest -O -pipe    conftest.c  1>&5
configure:3987: checking for shmat
configure:4015: cc -o conftest -O -pipe    conftest.c  1>&5
configure:4088: checking for IceConnectionNumber in -lICE
configure:4107: cc -o conftest -O -pipe    -L/usr/X11R6/lib conftest.c -lICE   1>&5
configure:4372: checking whether ld has archive extraction flags
configure:4396: cc -o conftest -O -pipe    -I/usr/X11R6/include -Wl,--whole-archive conftest.c -Wl,--no-whole-archive 1>&5
configure:5272: checking for ANSI C header files
configure:5285: cc -E   -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:5352: cc -o conftest -O -pipe    -I/usr/X11R6/include  conftest.c  1>&5
configure:5376: checking for working const
configure:5430: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5451: checking for mode_t
configure:5484: checking for off_t
configure:5517: checking for pid_t
configure:5550: checking for size_t
configure:5583: checking for uid_t in sys/types.h
configure:5617: checking for st_blksize in struct stat
configure:5630: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5663: checking for int16_t
configure:5676: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5698: checking for int32_t
configure:5711: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5733: checking for int64_t
configure:5746: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5768: checking for int64
configure:5781: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure: In function `main':
configure:5777: syntax error before `foo'
configure: failed program was:
#line 5773 "configure"
#include "confdefs.h"
#include <stdio.h>
                  #include <sys/types.h>
int main() {
int64 foo = 0;
; return 0; }
configure:5803: checking for uint
configure:5816: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5838: checking for uint_t
configure:5851: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure: In function `main':
configure:5847: syntax error before `foo'
configure: failed program was:
#line 5843 "configure"
#include "confdefs.h"
#include <stdio.h>
                  #include <sys/types.h>
int main() {
uint_t foo = 0;
; return 0; }
configure:5873: checking for uint16_t
configure:5886: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:5917: checking for uname.domainname
configure:5930: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include conftest.C 1>&5
configure: In function `int main()':
configure:5926: `struct utsname' has no member named `domainname'
configure: failed program was:
#line 5922 "configure"
#include "confdefs.h"
#include <sys/utsname.h>
int main() {
 struct utsname *res; char *domain; 
            (void)uname(res);  if (res != 0) { domain = res->domainname; } 
; return 0; }
configure:5954: checking for uname.__domainname
configure:5967: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include conftest.C 1>&5
configure: In function `int main()':
configure:5963: `struct utsname' has no member named `__domainname'
configure: failed program was:
#line 5959 "configure"
#include "confdefs.h"
#include <sys/utsname.h>
int main() {
 struct utsname *res; char *domain; 
            (void)uname(res);  if (res != 0) { domain = res->__domainname; } 
; return 0; }
configure:5999: checking for 64-bit OS
configure:6009: cc -o conftest -O -pipe    -I/usr/X11R6/include  conftest.c  1>&5
configure: failed program was:
#line 6004 "configure"
#include "confdefs.h"
 int main () {
    if (sizeof(long) == 8) { return 0; } return 1; } 
configure:6039: checking for usable wchar_t (2 bytes, unsigned)
configure:6054: cc -o conftest -O -pipe    -I/usr/X11R6/include  conftest.c  1>&5
configure: failed program was:
#line 6047 "configure"
#include "confdefs.h"
#include <stdlib.h>
                 int main () {
                   return (sizeof(wchar_t) != 2) ||
                          (wchar_t)-1 < (wchar_t) 0 ; } 
configure:6083: checking for compiler -fshort-wchar option
configure:6098: c++ -o conftest -O -pipe  -fshort-wchar   -I/usr/X11R6/include  conftest.c  1>&5
cc1plus: Invalid option `-fshort-wchar'
configure: failed program was:
#line 6091 "configure"
#include "confdefs.h"
#include <stdlib.h>
                     int main () {
                       return (sizeof(wchar_t) != 2) ||
                              (wchar_t)-1 < (wchar_t) 0 ; } 
configure:6136: checking for wcrtomb
configure:6148: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  conftest.C  1>&5
configure: In function `int main()':
configure:6144: implicit declaration of function `int wcrtomb(...)'
configure: failed program was:
#line 6141 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
mbstate_t ps={0};wcrtomb(0,'f',&ps);
; return 0; }
configure:6168: checking for mbrtowc
configure:6180: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  conftest.C  1>&5
configure: In function `int main()':
configure:6176: implicit declaration of function `int mbrtowc(...)'
configure: failed program was:
#line 6173 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
mbstate_t ps={0};mbrtowc(0,0,0,&ps);
; return 0; }
configure:6212: checking for dirent.h that defines DIR
configure:6225: cc -c -O -pipe    -I/usr/X11R6/include conftest.c 1>&5
configure:6250: checking for opendir in -ldir
configure:6269: cc -o conftest -O -pipe    -I/usr/X11R6/include  conftest.c -ldir   1>&5
/usr/libexec/elf/ld: cannot find -ldir
configure: failed program was:
#line 6258 "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:6345: checking for sys/byteorder.h
configure:6355: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6351: sys/byteorder.h: No such file or directory
configure: failed program was:
#line 6350 "configure"
#include "confdefs.h"
#include <sys/byteorder.h>
configure:6345: checking for compat.h
configure:6355: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6351: compat.h: No such file or directory
configure: failed program was:
#line 6350 "configure"
#include "confdefs.h"
#include <compat.h>
configure:6345: checking for getopt.h
configure:6355: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6351: getopt.h: No such file or directory
configure: failed program was:
#line 6350 "configure"
#include "confdefs.h"
#include <getopt.h>
configure:6385: checking for sys/bittypes.h
configure:6395: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6391: sys/bittypes.h: No such file or directory
configure: failed program was:
#line 6390 "configure"
#include "confdefs.h"
#include <sys/bittypes.h>
configure:6385: checking for memory.h
configure:6395: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6385: checking for unistd.h
configure:6395: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6425: checking for gnu/libc-version.h
configure:6435: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6431: gnu/libc-version.h: No such file or directory
configure: failed program was:
#line 6430 "configure"
#include "confdefs.h"
#include <gnu/libc-version.h>
configure:6425: checking for nl_types.h
configure:6435: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6465: checking for X11/XKBlib.h
configure:6475: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6506: checking for sys/statvfs.h
configure:6516: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6512: sys/statvfs.h: No such file or directory
configure: failed program was:
#line 6511 "configure"
#include "confdefs.h"
#include <sys/statvfs.h>
configure:6506: checking for sys/statfs.h
configure:6516: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6512: sys/statfs.h: No such file or directory
configure: failed program was:
#line 6511 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
configure:6506: checking for sys/vfs.h
configure:6516: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6512: sys/vfs.h: No such file or directory
configure: failed program was:
#line 6511 "configure"
#include "confdefs.h"
#include <sys/vfs.h>
configure:6506: checking for sys/mount.h
configure:6516: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6551: checking for sys/cdefs.h
configure:6561: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:6595: checking for gethostbyname_r in -lc_r
configure:6614: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lc_r   1>&5
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
/tmp/ccyFM5wr.o: In function `main':
/tmp/ccyFM5wr.o(.text+0x7): undefined reference to `gethostbyname_r'
configure: failed program was:
#line 6603 "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 gethostbyname_r();

int main() {
gethostbyname_r()
; return 0; }
configure:6644: checking for atan in -lm
configure:6663: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm   1>&5
configure:6691: checking for dlopen in -ldl
configure:6710: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -ldl  -lm  1>&5
/usr/libexec/elf/ld: cannot find -ldl
configure: failed program was:
#line 6699 "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 dlopen();

int main() {
dlopen()
; return 0; }
configure:6841: checking for socket in -lsocket
configure:6860: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lsocket  -lm  1>&5
/usr/libexec/elf/ld: cannot find -lsocket
configure: failed program was:
#line 6849 "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 socket();

int main() {
socket()
; return 0; }
configure:6905: checking for XDrawLines in -lX11
configure:6924: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lX11 -lX11  -lm  1>&5
configure:6946: checking for XextAddDisplay in -lXext
configure:6965: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXext -lX11  -lm  1>&5
configure:6987: checking for IceFlush in -lICE
configure:7006: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lICE -lX11  -lm  1>&5
configure:7027: checking for SmcCloseConnection in -lSM
configure:7046: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lSM -lX11  -lm  1>&5
configure:7067: checking for XtFree in -lXt
configure:7086: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXt  -lSM -lICE -lX11  -lm  1>&5
configure:7109: checking for XineramaIsActive in -lXinerama
configure:7128: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXinerama -lX11  -lXext -lm  1>&5
configure:7150: checking for X11/extensions/Xinerama.h
configure:7160: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:7183: checking for XShmCreateImage in -lXext
configure:7202: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXext -lX11  -lXext -lm  1>&5
configure:7224: checking for X11/extensions/XShm.h
configure:7234: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:7264: checking for XieFloGeometry in -lXIE
configure:7283: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  -L/usr/X11R6/lib  conftest.c -lXIE -lX11  -lXext -lm  1>&5
configure:7305: checking for X11/extensions/XIElib.h
configure:7315: cc -E   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure:7368: cc -c -O -pipe   -I/usr/X11R6/include   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c 1>&5
configure:7387: checking for pthread_create in -lpthreads
cc -o dummy dummy.c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -lpthreads  -lm 
/usr/libexec/elf/ld: cannot find -lpthreads
configure:7409: checking for pthread_create in -lpthread
cc -o dummy dummy.c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -lpthread  -lm 
/usr/libexec/elf/ld: cannot find -lpthread
configure:7431: checking for pthread_create in -lc_r
cc -o dummy dummy.c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -lc_r  -lm 
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
configure:7509: checking whether cc accepts -pthread
configure:7636: checking whether mmap() sees write()s
configure:7679: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7704: checking whether cc needs -traditional
configure:7729: termio.h: No such file or directory
configure:7750: checking for 8-bit clean memcmp
configure:7768: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for random
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for strerror
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for lchown
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for fchmod
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for snprintf
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for localtime_r
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for statvfs
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
/tmp/cce4IYXQ.o: In function `main':
/tmp/cce4IYXQ.o(.text+0x7): undefined reference to `statvfs'
configure: failed program was:
#line 7793 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char statvfs(); 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 statvfs();

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_statvfs) || defined (__stub___statvfs)
choke me
#else
statvfs();
#endif

; return 0; }
configure:7788: checking for memmove
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7788: checking for rint
configure:7816: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7843: checking for nl_langinfo
configure:7871: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7843: checking for strtok_r
configure:7871: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7843: checking for flockfile
configure:7871: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:7897: checking for res_ninit()
configure:7914: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
In file included from configure:7908:
/usr/include/resolv.h:104: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:114: field `addr' has incomplete type
/usr/include/resolv.h:129: field `ina' has incomplete type
/usr/include/resolv.h:130: field `in6a' has incomplete type
configure: failed program was:
#line 7902 "configure"
#include "confdefs.h"

        #ifdef linux
        #define _BSD_SOURCE 1
        #endif
        #include <resolv.h>
        
int main() {
int foo = res_ninit(&_res);
; return 0; }
configure:7944: checking for gnu_get_libc_version()
configure:7960: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.C -lm  1>&5
configure: In function `int main()':
configure:7956: implicit declaration of function `int gnu_get_libc_version(...)'
configure:7956: initialization to `const char *' from `int' lacks a cast
configure: failed program was:
#line 7949 "configure"
#include "confdefs.h"

        #ifdef HAVE_GNU_LIBC_VERSION_H
        #include <gnu/libc-version.h>
        #endif
        
int main() {
const char *glibc_version = gnu_get_libc_version();
; return 0; }
configure:7991: checking whether va_list assignments need array notation
configure:8012: cc -o conftest -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.c -lm  1>&5
configure:8092: checking for C++ exceptions flag
configure:8129: checking for gcc 3.0 ABI
configure:8147: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8141: #error Not gcc3.
configure: failed program was:
#line 8134 "configure"
#include "confdefs.h"

int main() {

#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
  return 0;
#else
#error Not gcc3.
#endif
                      
; return 0; }
configure:8168: checking for ios::binary
configure:8182: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8206: checking for ios::bin
configure:8220: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8243: checking for C++ "explicit" keyword
configure:8258: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8279: checking for C++ template specialization support
configure:8294: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8324: checking for modern C++ template specialization syntax support
configure:8339: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8361: checking whether partial template specialization works
configure:8374: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8396: checking whether operators must be re-defined for templates derived from templates
configure:8413: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8435: checking whether we need to cast a derived template to pass as its base class
configure:8449: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8470: checking whether the compiler can resolve const ambiguities for templates
configure:8496: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8518: checking whether the C++ "using" keyword can change access
configure:8534: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8528: cannot adjust access to `int X::go(const X &)' in `class Y'
configure:8526:   because of local method `int Y::go(int)' with same name
configure: failed program was:
#line 8523 "configure"
#include "confdefs.h"
class X { public: int go(const X&) {return 3;} };
                               class Y : public X {
                                 public:  int go(int) {return 2;}
                                 private: using X::go;
                               };
int main() {
X x; Y y;
; return 0; }
configure:8555: checking whether the C++ "using" keyword resolves ambiguity
configure:8576: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8570: cannot adjust access to `int X::jo(const X &)' in `class Y'
configure:8567:   because of local method `int Y::jo(int)' with same name
configure:8570: cannot adjust access to `int X::go(const X &)' in `class Y'
configure:8566:   because of local method `int Y::go(int)' with same name
configure: In function `int main()':
configure:8572: no matching function for call to `Y::jo (X &)'
configure:8567: candidates are: int Y::jo(int)
configure: failed program was:
#line 8560 "configure"
#include "confdefs.h"
class X { 
                                 public: int go(const X&) {return 3;}
                                         int jo(const X&) {return 3;}
                               };
                               class Y : public X {
                                 public:  int go(int) {return 2;}
                                          int jo(int) {return 2;}
                                          using X::jo;
                                 private: using X::go;
                               };
int main() {
X x; Y y; y.jo(x);
; return 0; }
configure:8597: checking for "std::" namespace
configure:8609: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8630: checking whether standard template operator!=() is ambiguous
configure:8645: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8667: checking for C++ reinterpret_cast
configure:8680: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8701: checking for C++ dynamic_cast to void*
configure:8728: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.C -lm  1>&5
configure:8752: checking whether C++ requires implementation of unused virtual methods
configure:8764: c++ -o conftest  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include  conftest.C -lm  1>&5
configure:8758: warning: all member functions in class `X' are private
/tmp/ccpLWIGN.o: In function `main':
/tmp/ccpLWIGN.o(.text+0x9): undefined reference to `X virtual table'
configure: failed program was:
#line 8757 "configure"
#include "confdefs.h"
class X {private: virtual void never_called();};
int main() {
X x;
; return 0; }
configure:8787: checking for trouble comparing to zero near std::operator!=()
configure:8803: c++ -c  -O -pipe  -fmemoize-lookups -fsave-memoized   -I/usr/X11R6/include  -I/usr/X11R6/include conftest.C 1>&5
configure:8835: checking for LC_MESSAGES
configure:8847: cc -c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include conftest.c 1>&5
configure:9021: checking for jpeg_destroy_compress in -ljpeg
configure:9040: cc -o conftest -I/usr/local/include -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  conftest.c -ljpeg  -lm  1>&5
configure:9083: cc -o conftest -I/usr/local/include -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  conftest.c -ljpeg  -lm  1>&5
configure:9215: checking for png_get_valid in -lpng
configure:9234: cc -o conftest -I/usr/local/include  -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lpng  -lm  1>&5
configure:9276: cc -o conftest -I/usr/local/include  -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lpng  -lm  1>&5
configure:9319: checking for mng_initialize in -lmng
configure:9338: cc -o conftest -I/usr/local/include  -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lmng  -lm  1>&5
configure:9380: cc -o conftest -I/usr/local/include  -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -L/usr/local/lib  -lz  conftest.c -lmng  -lm  1>&5
configure: failed program was:
#line 9366 "configure"
#include "confdefs.h"
#include <stdio.h>
	#include <sys/types.h>
	#include <libmng.h>
	int main () {
	    #if (((MNG_VERSION_MAJOR)<<16)|((MNG_VERSION_MINOR)<<8)|(MNG_VERSION_RELEASE)) >= ((1<<16)|(0<<8)|(4))
		exit(0);
	    #else
		exit(1);
	    #endif
	}
	
configure:9597: checking for gtk-config
configure:9632: checking for GTK - version >= 1.2.0
configure:9733: cc -o conftest -O -pipe  -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  conftest.c -lm  -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm 1>&5
/usr/libexec/elf/ld: warning: libintl.so.2, needed by /usr/X11R6/lib/libgtk12.so, not found (try using -rpath or -rpath-link)
configure: failed program was:
#line 9655 "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.2.0");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.0");
     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 environment 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 environment variable, or edit /etc/ld.so.conf\n");
        printf("*** so that the correct libraries are found at run-time))\n");
      }
    }
  return 1;
}

configure:9778: cc -o conftest -O -pipe  -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  conftest.c -lm  -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm 1>&5
/usr/libexec/elf/ld: warning: libintl.so.2, needed by /usr/X11R6/lib/libgtk12.so, not found (try using -rpath or -rpath-link)
--------

Regards,
T.Suzuki

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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