|
From: jm <je...@gh...> - 2005-06-16 02:02:19
|
On 14/06/2005, at 11:17 PM, Jim McQuillan wrote: > jm, > > Did you see the error: > > my_config.h no such file or directory? > > > I'll bet that has something to do with the failure. This took me a while to work out but when it click it was "oh so simple". Change the build directory to be the same as the source directory. For those that which to build mysql themselves here's the package.def that worked. There may be errors still to use at your own risk. Is there a place to submit package.def files to and a place they can be retrieved from? ### BEGIN PACKAGE.DEF # cd to the lbe base directory and # link bin/ps to point to opt/ltsp/i386/bin/ps # mount -t proc none proc # # this is needed to make ps detection in the configure script work correctly # VERSION = 1.0 RELEASE = 0 PGK1COMPONENT = mysql PKG1NAME = mysql DEPENDS = ltsp-glibc, ltsp-libz, ltsp-ncurses PKG1 = mysql-4.1.12.tar.gz MD5SUM1 = 56a6f5cacd97ae290e07bbe19f279af1 SOURCE1 = ftp://ftp.planetmirror.com/pub/mysql/Downloads/MySQL-4.1/${PKG1} UNPACK1 = gunzip < ${TARBALL} | tar xf - SOURCEDIR = mysql-4.1.12 BUILDDIR = mysql-4.1.12 CONFIGURE = export CFLAGS="-O2 -pipe -fomit-frame-pointer" && \ export CPPFLAGS="-I/opt/ltsp/i386/usr/include" && \ export LDFLAGS="-L/opt/ltsp/i386/usr/lib" && \ export CXX=gcc && \ export CXXFLAGS="-O2 -fno-exceptions -fno-rtti" && \ ../${SOURCEDIR}/configure --prefix=/opt/ltsp/i386/usr \ --enable-share=yes --enable-static=no \ --enable-thread-safe-client \ --enable-assembler \ --with-unix-socket-path=/tmp \ --without-debug --without-server \ --without-docs --without-man \ --without-bench BUILD = make INSTALL = make install && cp support-files/my-medium.cnf /opt/ltsp/i386/etc/my.cnf CLEAN = rm -rf ${BUILDDIR} ${SOURCEDIR} ### END PACKAGE.DEF |