mysql+linuxthreads static compile problem in CURRENT

Kris Kennaway kris at
Thu Mar 30 06:13:38 UTC 2006

On Thu, Mar 30, 2006 at 02:27:17PM +0900, Ganbold wrote:
> Hi,
> When I try to install ports/mysql50-server (mysql-5.0.19) with
> configure script stops with errors. linuxthreads-2.2.3_20 is installed 
> from ports.
> gw# uname -an
> FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Mar 30 
> 12:57:01 ULAST 2006     tsgan at  i386
> ...
> checking if we should use pstack...
> checking for int8... no
> configure: WARNING: Adding fix for interrupted reads
> checking "named thread libs:"... "-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R 
> -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads 
> -L/usr/local/lib -llthread -llgcc_r -llstdc++ -llsupc++"
> checking for strtok_r in -lpthread... yes
> checking for strtok_r... yes
> checking for dlopen in -ldl... no
> checking for unistd.h... (cached) yes
> checking for restartable system calls... Segmentation fault (core dumped)
> no
> checking "need of special linking flags"... "none"
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for off_t... yes
> checking for struct stat.st_rdev... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking needs mysys_new helpers... no
> checking for char... yes
> checking size of char... Segmentation fault (core dumped)
> configure: error: cannot compute sizeof (char), 77
> See `config.log' for more details.
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to ale at [maintainer] and attach the
> "/usr/ports/databases/mysql50-server/work/mysql-5.0.19/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

So..why did you not follow this advice? :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list