From: Dan Nelson Date: May 23 2002 3:02pm Subject: Re: FreeBSD & LinuxThreads from BK Tree? List-Archive: http://lists.mysql.com/mysql/109992 Message-Id: <20020523150251.GA30517@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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