List:General Discussion« Previous MessageNext Message »
From:R Blake Date:July 15 2002 12:23am
Subject:Re: mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDS
incl., but need help with FIXes
View as plain text  

--On Sunday, July 14, 2002 5:24 PM -0500 Dan Nelson 
<dnelson@stripped> wrote:

>> > The correct thing to do is probably to fix include/my_net.h.  poll
>> > requires <poll.h>, not <sys/poll.h>.  In addition, there should
> be
>> > an autoconf check for <poll.h>, instead of assuming that because
>> > you have a poll function there is also a poll.h.
>>
>> that may be the case, assuming poll.h exists ANYWHERE on the system ....
>> that unfortunately is the problem here
>> (http://www.netsys.com/bsdi-users/2001-11/msg00093.html) ....
>
> It does exist on FreeBSD, NetBSD, and OpenBSD.  So "man poll" doesn't
> come up with anything on your system?  I wonder where it's picking up
> the poll function from, then.  HAVE_POLL means it was able to link a
> dummy program consisting of "main(){ poll(); }" .

hmmmm .... good question.  'man poll' DOES come up with the man page, but 
there's no trace of the header file .... even on a check of a 'virgin' 
developer install

probably picking up the function in one of the system frameworks .... now 
the question is which/where ....

>> i think your autoconf check suggestion makes sense, but where should
>> the change be made .... in the autoconf or mysql distribution?
>
> mysql, since it's the one using poll.  If there were an AC_FUNC_POLL
> macro that did all the work for you, then it would go into autoconf,
> but there isn't.
>

with your suggesion for fixing my_net.h, and the temp fix to config.h' 
HAVE_POLL definition, all of the -related- problems go away ....

now i have to deal with this "piecewise archive linking" problem that's 
causing make to die ....
/bin/sh ../libtool --mode=link cc  -O -DDBUG_OFF -O3 
-fno-omit-frame-pointer -L/System/Library/Frameworks -L/usr/lib 
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib 
-traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE 
-DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DHAVE_BROKEN_REALPATH 
-flat_namespace -undefined suppress -L/System/Library/Frameworks -L/usr/lib 
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib -o 
libmysqlclient.la -rpath /usr/local/mysql/lib/mysql -version-info 11:0:0 
libmysql.lo net.lo password.lo manager.lo get_password.lo errmsg.lo 
my_init.lo my_static.lo my_malloc.lo my_realloc.lo           my_create.lo 
my_delete.lo mf_tempfile.lo my_open.lo .lo my_read.lo my_write.lo errors.lo 
my_error.lo my_getwd.lo my_div.lo                         mf_pack.lo 
my_messnc.lo mf_dirname.lo mf_fn_ext.lo f_format.lo mf_path.lo 
mf_unixpath.lo my_fopen.lo                       my_symlink.lo 
my_fstream.lo                       mf_loadpath.lo my_pthread.lo 
my_thr_init.lo y_compress.lo array.lo my_once.lo list.lo my_net.lo 
charset.lo hash.lo mf_iocache.lo                         mf_iocache2.lo 
my_seek.lo     my_pread.lo mf_cache.lo my_vsnprintf.lo md5.lo 
my_getopt.lo my_gethostbyname.lo my_lib.lo strmov.lo strxmov.lo strxnmov.lo 
strnmov.lo             strmake.lo strend.lo nt2str.lo str2int.lo 
strinstr.lo strcont.lo                     strcend.lo bcmp.lo 
bchange.lo bmove.lo bmove_upp.lo longlong2str.lo         strtoull.lo 
strtoll.lo llstr.lo                  ctype.lo ctype-big5.lo ctype-czech.lo 
ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-latin1_de.lo 
ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo  dbug.lo   vio.lo viosocket.lo 
viossl.lo viosslfactories.lo -lm
using piecewise archive linking...
ar cru .libs/libmysqlclient.a libmysql.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a net.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a password.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a manager.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a get_password.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a errmsg.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_init.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_static.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_malloc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_realloc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_create.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_delete.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_tempfile.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_open.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_casecnv.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_read.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_write.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a errors.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_error.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_getwd.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_div.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_pack.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_messnc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_dirname.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_fn_ext.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_wcomp.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a typelib.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a safemalloc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_alloc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_format.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_path.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_unixpath.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_fopen.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_symlink.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_fstream.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_loadpath.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_pthread.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_thr_init.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a thr_mutex.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mulalloc.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a string.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a default.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_compress.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a array.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_once.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a list.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_net.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a charset.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a hash.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_iocache.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_iocache2.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_seek.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_pread.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a mf_cache.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_vsnprintf.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a md5.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_getopt.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_gethostbyname.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a my_lib.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strmov.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strxmov.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strxnmov.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strnmov.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strmake.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strend.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strnlen.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strfill.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a is_prefix.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a int2str.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a str2int.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strinstr.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strcont.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strcend.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a bcmp.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a bchange.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a bmove.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a bmove_upp.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a longlong2str.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strtoull.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a strtoll.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a llstr.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-big5.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-czech.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-euc_kr.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-gb2312.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-gbk.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-latin1_de.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-sjis.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-tis620.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a ctype-ujis.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a dbug.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a vio.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a viosocket.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a viossl.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a viosslfactories.o
: .libs/libmysqlclient.a
ar cru .libs/libmysqlclient.a
ar: no archive members specified
usage:  ar -d [-TLv] archive file ...
        ar -m [-TLv] archive file ...
        ar -m [-abiTLv] position archive file ...
        ar -p [-TLv] archive [file ...]
        ar -q [-cTLv] archive file ...
        ar -r [-cuTLv] archive file ...
        ar -r [-abciuTLv] position archive file ...
        ar -t [-TLv] archive [file ...]
        ar -x [-ouTLv] archive [file ...]
make[2]: *** [libmysqlclient.la] Error 1
make[2]: Leaving directory `/usr/ports/mysql-4.0.2-alpha/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/ports/mysql-4.0.2-alpha'
make: *** [all-recursive-am] Error 2
[root@server]



__________________________________

 Richard S. Blake

   Foster City, CA
	  ph  650 571 0225
   fx  240 525 2666
   blakers@stripped

__________________________________

Thread
mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDS incl.,but need help with FIXesR Blake14 Jul
  • Re: mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDS incl., but need help with FIXesDan Nelson14 Jul
Re: mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDSincl., but need help with FIXesR Blake14 Jul
  • Re: mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDS incl., but need help with FIXesDan Nelson15 Jul
Re: mysql-4.0.2-alpha BROKEN on OSX 10.1.4 Server; WORKAROUNDSincl., but need help with FIXesR Blake15 Jul