Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2002 04:44:07 +0200 (CEST)
From:      Marc Schneiders <marc@zeist.bijt.net>
To:        gnome@freebsd.org
Subject:   Mozilla doesn't build here
Message-ID:  <20020907044138.N28273-200000@zeist.bijt.net>

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

[-- Attachment #1 --]
Mozilla (1.0) doesn't build here. cvsupped yesterday. Dies thus:

---
checking for pthread_create in -lc... no
configure: error:  --with-pthreads specified for a system without pthread
support
===>  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

Stop in /usr/ports/www/mozilla.
---

uname -a: FreeBSD zeist.bijt.net 4.6-STABLE FreeBSD 4.6-STABLE #9: Fri Aug
2 01:54:34 CEST 2002     marc@zeist.bijt.net:/usr/obj/usr/src/sys/ZEIST
i386

Marc@Schneiders.ORG


[-- Attachment #2 --]
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  ) works
configure:2201: c++ -o conftest  -O -pipe    conftest.C  1>&5
configure:2227: checking whether the C++ compiler (c++  -O -pipe  ) 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: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    -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    -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    -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    -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/cc9CBgdD.o: In function `main':
/tmp/cc9CBgdD.o(.text+0x7): undefined reference to `gethostbyname_r'
/usr/lib/libc_r.so: undefined reference to `__sys_close'
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
/usr/libexec/elf/ld: cannot find -lXinerama
configure: failed program was:
#line 7117 "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 XineramaIsActive();

int main() {
XineramaIsActive()
; return 0; }
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:7156: X11/extensions/Xinerama.h: No such file or directory
configure: failed program was:
#line 7155 "configure"
#include "confdefs.h"
#include <X11/extensions/Xinerama.h>
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()
/usr/lib/libc_r.so: undefined reference to `__sys_close'
configure:7453: checking for pthread_create in -lc
cc -o dummy dummy.c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -lc  -lm 
/tmp/ccI9aiC1.o: In function `main':
/tmp/ccI9aiC1.o(.text+0x1c): undefined reference to `pthread_create'
/tmp/ccI9aiC1.o(.text+0x30): undefined reference to `pthread_join'

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