Kompilace mysql

Willi Gruber gruberw na connectel-cz.com
Pátek Červen 21 16:41:16 CEST 2002


Dobry den,

zkousel jsem kompilovat na RH 7.2 mysql-3.23.50 (i 3.23.49) a skoncil
jsem na tomhle:

---snip---
insert                        0.03     0.01     0.04       [ pass ]
ins000001                     0.02     0.02     0.04       [ pass ]
isam                          ....     ....     ....       [ fail ]

   >> Error at line 5: query 'create table t1 (a tinyint not null
auto_increment, b blob not null, primary key (a))' failed: 1050: Table
't1' already exists <<
Aborting. To continue, re-run with '--force'.

Ending Tests
Shutting-down MySQL daemon

Master shutdown finished
Slave shutdown finished
make: *** [test] Error 1
error: ©patný návratový kód z /var/tmp/rpm-tmp.19729 (%build)

chyby sestavení RPM:
    ©patný návratový kód z /var/tmp/rpm-tmp.19729 (%build)

---snip---

Cast z mysql.spec:

#CPPFLAGS="$CFLAGS"
#export CPPFLAGS

%configure --without-debug \
        --without-readline \
        --enable-shared \
        --with-extra-charsets=complex \
        --with-bench \
        --localstatedir=/var/lib/mysql \
        --with-unix-socket-path=/var/lib/mysql/mysql.sock \
        --with-mysqld-user="mysql" \
        --with-extra-charsets=all \
        --with-innodb \
%ifnarch alpha
        --with-berkeley-db --enable-large-files=yes
--enable-largefile=yes \
%endif
        --with-thread-safe-client \
        --enable-assembler


Myslim, ze nic neobvykleho tam neni, SRPMS je z RedHatu. Co s tim,
prosim?

Hezky vikend,

W. Gruber


Daląí informace o konferenci Linux