Hi,

I'm progressing through the install of mysql-3.23.33 with the db-3.2.9a
package extracted and built within the mysql source tree, but it looks
like the creation of ./db-3.2.9a/build_unix/Makefile hasn't worked
correctly...

This is what I get when I run 'make install' from the top-level of the
mysql source tree:


14 root@jedi #----> make install
Making install in include
/bin/sh ../mkinstalldirs /usr/local/include/mysql

[ .... lots of stuff deleted ... ]

.././install-sh -c .libs/mysqltest /usr/local/bin/mysqltest
Making install in ./db-3.2.9a/build_unix
install_include install_lib install_utilities install_docs
sh: install_include: not found
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /var/azwan/mysql-3.23.33/db-3.2.9a/build_unix
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'


Looking at ./db-3.2.9a/build_unix/Makefile reveals that the 'include_xxxx'
parts have not had any substitutions performed when the configure script
was run! For example, the 'install_include' part looks like this:


install_include:
        @echo "Installing DB include files: $(includedir) ..."
        @test -d $(includedir) || \
            ($(mkdir) -p $(includedir) && $(chmod) $(dmode) $(includedir))
        @cd $(includedir) && $(rm) -f db.h db_185.h db_cxx.h
        @$(cp) -p db.h \
            $(srcdir)/include/db_cxx.h  $(includedir)
        @cd $(includedir) && $(chmod) $(fmode) db.h db_cxx.h


and from my (limited) understanding of Makefiles, that's supposed to have
had all the parts preceded by a '@' sign substituted for a real command or
pathname by the relevant configure script. Is that the correct
interpretation?

By way of more info, the 'install' macro in
./db-3.2.9a/build_unix/Makefile is currently:


install: all            # modified by MySQL configure
        install_include install_lib install_utilities install_docs


That looks fine to me though it doesn't explain why 'make' is complaining
that it apparently cannot find the 'install_include' part.

Regards,

Craig.

-- 
  Craig Ian Dewick ([EMAIL PROTECTED]). http://lios.apana.org.au/~craig
  Operator of Jedi (APANA Sydney member-access site) in Waterfall, Australia.
 Always striving for a secure long-term future in an insecure short-term world
   Have you exported a crypto system today? Do your bit to undermine the NSA.



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