[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MySQL on the NetWinder?



Thanks Rod, I'll wait for the official debian-arm rpm's you make for the
mission critical servers, I'll try the suggested script on my devel machine
for now.

Marko

Rod Stewart wrote:

> On Tue, 25 Jul 2000, Marko Dinic wrote:
>
> > I tried the rpm's. I got them from netwinder.org
> > and this is what happens when I try to alien
> > them... How did you install the rpm's?
>
> [Re: The comment about MySQL being now under the GPL, just a note, that is
>   only developement branch, there have not been any "official" versions of
>   MySQL released under the GPL yet.  Or so I understand.]
>
> For the most part any RPMS on netwinder.org will not work on Debian.  The
> reason is Debian uses a versioned glibc whereas most of the rpms on
> Netwinder.org do not.  And the two are generally mutually exclusive.
>
> The following is a configure for MySQL which is known to work if you want
> to build it yourself.  They key thing is add the "-fPIC" option to catch
> things (php, apache) which like to link static libraries into shared
> libraries.
>
> [I've started a build of a MySQL rpm which will/should run under Debian,
>  I'll let you know when it is finished.]
>
> export CONFIG_FLAGS="--disable-assembler"
> export MYSQL_BUILD_CC="gcc"
> export MYSQL_BUILD_CXX="gcc"
> export MYSQL_BUILD_CFLAGS="-O3 -fomit-frame-pointer -fsigned-char -fpic"
> export MYSQL_BUILD_CXXFLAGS="-O3 -fomit-frame-pointer -fsigned-char \
>         -fno-exceptions -fno-rtti -fpic"
>
> sh -c  'PATH=${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \
>         CC=${MYSQL_BUILD_CC:-egcs} \
>         CFLAGS=${MYSQL_BUILD_CFLAGS:-"-O6 -fomit-frame-pointer"} \
>         CXX=${MYSQL_BUILD_CXX:-egcs} \
>         CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-"-O6 -fomit-frame-pointer \
>                   -felide-constructors -fno-exceptions -fno-rtti"} \
>         ./configure \
>             --enable-shared \
>             $CONFIG_FLAGS \
>             --with-mysqld-user=%{mysqld_user} \
>             --with-unix-socket-path=/var/lib/mysql/mysql.sock \
>             --prefix=/ \
>             --exec-prefix=/usr \
>             --libexecdir=/usr/sbin \
>             --sysconfdir=/etc \
>             --datadir=/usr/share \
>             --localstatedir=/var/lib/mysql \
>             --infodir=/usr/info \
>             --includedir=/usr/include \
>             --mandir=/usr/man' \
>             --with-comment='Official MySQL RPM'
>
> -Rms



Reply to: