List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:May 23 2002 3:02pm
Subject:Re: FreeBSD & LinuxThreads from BK Tree?
View as plain text  
In the last episode (May 22), Jeremy Zawodny said:
> Has anyone built MySQL 4.x from the BitKeeper tree using LinuxThreads
> on FreeBSD?
> 
> If so, how'd you do it?

It looks like someone is in the process of removing getopt_long() usage
from the commandline tools.  They're doing it backwards, though,
removing mysys/getopt1.c first, then fixing the programs that break. 
You'll have to comment myisam/mi_test1, myisam/myisampack, and
tools/mysqlmanager out of the corresponding Makefiles until they are
fixed.

I ran configure with

CFLAGS="-D__USE_UNIX98 -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads
-felide-constructors -fno-rtti -fno-exceptions"
--with-named-thread-libs="-L/usr/local/lib -llthread -llgcc_r"

(same flags as the mysql323-server port adds) and the resulting binary
seems to work fine.

-- 
	Dan Nelson
	dnelson@stripped
Thread
FreeBSD & LinuxThreads from BK Tree?Jeremy Zawodny23 May
  • Re: FreeBSD & LinuxThreads from BK Tree?Dan Nelson23 May
    • Re: FreeBSD & LinuxThreads from BK Tree?Jeremy Zawodny23 May