Scott Ellsworth writes:
>
> Please find ctype.h attached. (I could have just trimmed, but it seemed
> likely that you might want info I blatantly trimmed away...)
>
> Also, on another topic, I tried building the berkeleydb option the other
> day, and got an error on startup about a lack of proper threads. I have
> found Apple responsive about missing bits in Darwin, so if anyone wants
> to forward me offlist what this wants, I will happily file a bug report
> with them.
>
>
> My apologies - this was 3.23.36.
>
> <Attachment missing>
>
> Scott
> On Friday, March 30, 2001, at 03:29 AM, Sinisa Milivojevic wrote:
> > Scott Ellsworth writes:
> >> Howdy, all.
> >>
> >> The following error came up when compiling under OS X release.
> >>
> >> c++ -DMYSQL_SERVER
> >> -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
> >> -DDATADIR="\"/usr/local/mysql/var\""
> >> -DSHAREDIR="\"/usr/local/mysql/share/mysql\""
> >> -DHAVE_CONFIG_H -I../bdb/build_unix
> >> -I../innobase/include
> >> -I./../include -I./../regex -I.
> >> -I../include -I.. -I. -O3 -DDBUG_OFF -O3 -fomit-frame-pointer
> >> -fno-implicit-templates -traditional-cpp -DHAVE_DARWIN_THREADS
> >> -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -c
> >> ha_innobase.cc
> >> In file included from ../innobase/include/ut0ut.h:13,
> >> from ../innobase/include/univ.i:178,
> >> from ha_innobase.cc:48:
> >> <...see last message for gory details...>
> >> /usr/include/ctype.h:99: warning: `toascii' redefined
> >> ../include/m_ctype.h:105: warning: this is the location of the previous
> >> definition
> >> In file included from ../innobase/include/ut0ut.h:13,
> >> from ../innobase/include/univ.i:178,
> >> from ha_innobase.cc:48:
> >> /usr/include/ctype.h:144: parse error before `char'
> >> /usr/include/ctype.h:151: parse error before `char'
> >> ha_innobase.cc:63: parse error before `}'
> >> make[3]: *** [ha_innobase.o] Error 1
> >> make[2]: *** [all-recursive] Error 1
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all-recursive-am] Error 2
> >>
> >> My configure line was:
> >> CFLAGS="-O3 -fomit-frame-pointer" CXXFLAGS="-O3 -fomit-frame-pointer"
> >> ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex
> >> --with-berkeley-db --with-innobase
> >
> > Hi!
> >
> > Regarding the above warnings, seems like our m_ctype.h has to be
> > changed to include Mac OS X beside Win32 in skipping those macros.
> >
> > But in order to find out how to circumvent the error, we should know
> > what code is like on these lines in ctyp.h.
>
> Please find ctype.h attached. (I could have just trimmed, but it seemed
> likely that you might want info I blatantly trimmed away...)
>
> Also, on another topic, I tried building the berkeleydb option the other
> day, and got an error on startup about a lack of proper threads. I have
> found Apple responsive about missing bits in Darwin, so if anyone wants
> to forward me offlist what this wants, I will happily file a bug report
> with them.
>
> > You also did not say what MySQL version you are trying to
> > build. Please try 3.23.36.
>
> My apologies - this was 3.23.36.
>
>
>
> Scott
Hi!
Your attachment is missing. Please repeat your message and include
info I asked in the message itself.
Regarding missing threads, all info you need is in our manual.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php