Skip site navigation (1)Skip section navigation (2)
Date:      02 Aug 2002 11:19:05 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Don Lewis <dl-freebsd@catspoiler.org>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: mozilla fails to build in recent version of -stable
Message-ID:  <1028301546.312.12.camel@gyros.marcuscom.com>
In-Reply-To: <200208020954.g729sPwr077229@gw.catspoiler.org>
References:  <200208020954.g729sPwr077229@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-08-02 at 05:54, Don Lewis wrote:
> I upgraded to the latest version of -stable in the last day and fetched
> the latest ports at the same time.  When I ran portupgrade, it attempted
> to upgrade the mozilla port, but failed.  If I run make in
> /usr/ports/www/mozilla, I get:

This is fixed if you cvsup to today's -stable, and rebuild world.

Joe

> 
> checking for X11/extensions/XShm.h... yes
> checking for XieFloGeometry in -lXIE... yes
> checking for X11/extensions/XIElib.h... yes
> checking for pthread_create in -lpthreads... no
> checking for pthread_create in -lpthread... no
> checking for pthread_create in -lc_r... no
> 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.
> 
> 
> The interesting part of config.log is:
> 
> configure:7387: checking for pthread_create in -lpthreads
> cc -o dummy dummy.c -O -pipe    -I/usr/X11R6/include  -I/usr/X11R6/include -lpth
> reads  -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 -lpth
> read  -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 mkste
> mp()
> /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 mkste
> mp()
> /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommen
> ded.
> /usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
> /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkst
> emp()
> /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/cczDVpYN.o: In function `main':
> /tmp/cczDVpYN.o(.text+0x1c): undefined reference to `pthread_create'
> /tmp/cczDVpYN.o(.text+0x30): undefined reference to `pthread_join'
> 
> 
> It looks like configure doesn't know the proper way to probe for
> pthreads in FreeBSD.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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?1028301546.312.12.camel>