Rick,

>I tried to build from source the latest MySQL 3.23.34a and I found the
>following problems:
>
>1) The Makefile in the 'pars' and 'mem' directory have missing ../include/
>paths on some dependencies.

Do you mean that when you compile, on the compiler line there is not the
flag -I../include?

The compiler line should look like the following (except that -g is my own
addition):
.....
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2 -c pars0
grm.c
.....
If the flag is missing, there obviously is something wrong with
our Makefile.am's or configure.in's. You probably know how to
edit the Makefile's automake has generated? A quick fix is to
add the missing -I's to the compiler lines there.

>2) In the 'mem' directory, the file mem0mem.c tries to include mem0dbg.c,
>but I think this should be mem0dbg.ic (I changed it to this anyway???)

No, it really should include mem0dbg.c :). I divided debug code and
non-debug code into two files.

>3) The mysqld doesn't link.  The function body for mem_init doesn't resolve.
>I looked in the innobase directory and couldn't find it anywhere.

The function is in mem0dbg.c. If you do not include mem0dbg.c, the
function is not compiled in. 

We have to fix our automake files. Could you mail me the generated Makefile's
which you think are wrong, so that we could look at them.

Regards,

Heikki

>I did configure with --with-innobase and the following other configure
>options:
>
>--with-mysqld-ldflags=-all-static
>--without-bench
>--with-extra-charsets=none
>--enable-static=yes
>--without-debug
>
>Thanks,
>Rick
>
>-----------------------------------------
>/ Rick Mehalick       Senior Consultant        
>/ Shell Services International SSI-GPAX
>/ Phone:  281-544-5092(WCK) 
>/ Fax:    281-544-2646(WCK)
>/ email:  [EMAIL PROTECTED] 
>-----------------------------------------
>
>
>


---------------------------------------------------------------------
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

Reply via email to