"Przemyslaw Popielarski" <[EMAIL PROTECTED]> wrote:
> I'm trying to build MySQL 4.0.18 for Linux x86 2.4.24 from source without
> support for extra charsets. Lets say I need only latin1.
> 
> My configure:
> 
> FLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer" CXX=gcc
> CXXFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -felide-constructors 
> -fno-exceptions -fno-rtti -fomit-frame-pointer" \
> ./configure --prefix=/usr \
>            --with-mysqld-user=mysql \
>            --with-unix-socket-path=/var/run/mysql/mysql.sock \
>            --localstatedir=/var/lib/mysql \
>            --enable-assembler \
>            --without-debug \
>            --enable-thread-safe-client \
>            --without-bench \
>            --with-extra-charsets=none \
>            --program-prefix="" \
>            --program-suffix="" \
>            --without-innodb \
>            --without-isam \
>            --disable-shared \
>            --with-client-ldflags=-all-static \
>            --with-mysqld-ldflags=-all-static \
>            pentium4-slackware-linux
> 
> then of course make; make install etc.
> 
> And:
> mysql -uroot -p
> show variables:
> 
> character_set   | latin1
> character_sets | latin1 dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7
> cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr
> greek win1250 croat cp1257 latin5 |
> 
> Why do I still get all these character sets and how to get rid of them ?

If you want to have only latin1 configure MySQL with --with-charset=latin1 option, 
additional character sets you can define with --with-extra-charsets option.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to