Hallo,
beim installieren von MySQL 5.5.15 (Last Version) habe ich Probleme mit dem make.
Unzwar lade ich mir den Source Code runter um ihn vorher zu kompilieren und dann zu installieren. Soweit so gut.
Als erste stelle ich die Konfiguration her.
Mit Befehel:
/opt/cmake-2.8.3/bin/cmake . -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 \cmake wurde bei /opt/cmake-2.8.3/ installiert
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DMYSQL_DATADIR=/opt/mysql-5.5.15-linux2.6-i686/data/ \
-DCMAKE_INSTALL_PREFIX=/opt/mysql-5.5.15-linux2.6-i686 -DCURSES_LIBRARY=/opt/ncurses/lib/libncurses.a \
-DCURSES_INCLUDE_PATH=/opt/ncurses/include/ -DHAVE_LIBAIO_H=/opt/libaio/include/ \
-DINSTALL_LAYOUT=STANDALONE -DENABLED_PROFILING=ON \
-DMYSQL_MAINTAINER_MODE=OFF -DWITH_DEBUG=OFF
Dann kommt folgende Statusmeldung:
-- Configuring doneJetzt logischerweise einfach
-- Generating done
-- Build files have been written to: /opt/cmake-2.8.3
makeDann kommt aber Folgendes:
Linking CXX static library libcmsys.aWeiß einer weiter?
[ 4%] Built target cmsys
Linking C shared module libcmsysTestDynload.so
[ 4%] Built target cmsysTestDynload
Linking C static library libcmsys_c.a
[ 6%] Built target cmsys_c
Linking C executable cmsysTestProcess
[ 7%] Built target cmsysTestProcess
Linking C executable cmsysTestSharedForward
[ 7%] Built target cmsysTestSharedForward
Linking C executable cmsysTestsC
[ 8%] Built target cmsysTestsC
Linking CXX executable cmsysTestsCxx
[ 10%] Built target cmsysTestsCxx
Linking C static library libcmzlib.a
[ 13%] Built target cmzlib
Linking C static library libcmcurl.a
[ 28%] Built target cmcurl
Linking C executable LIBCURL
[ 28%] Built target LIBCURL
Linking C static library libcmcompress.a
[ 28%] Built target cmcompress
Linking C static library libcmbzip2.a
[ 30%] Built target cmbzip2
Linking C static library libcmlibarchive.a
[ 46%] Built target cmlibarchive
Linking C static library libcmexpat.a
[ 47%] Built target cmexpat
[ 47%] Building C object Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.o
In file included from /opt/cmake-2.8.3/Source/CursesDialog/form/form.priv.h:34,
from /opt/cmake-2.8.3/Source/CursesDialog/form/fld_arg.c:33:
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:93: error: expected specifier-qualifier-list before 'chtype'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:120: error: expected specifier-qualifier-list before 'bool'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:144: error: expected specifier-qualifier-list before 'WINDOW'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:291: error: expected ')' before '(' token
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:297: error: expected declaration specifiers or '...' before 'bool'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:298: error: expected declaration specifiers or '...' before 'bool'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:313: error: expected declaration specifiers or '...' before 'bool'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:316: error: expected declaration specifiers or '...' before 'chtype'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:317: error: expected declaration specifiers or '...' before 'chtype'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:321: error: expected declaration specifiers or '...' before 'bool'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'field_fore'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'new_page'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:365: error: expected declaration specifiers or '...' before 'WINDOW'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:366: error: expected declaration specifiers or '...' before 'WINDOW'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.h:394: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'data_ahead'
In file included from /opt/cmake-2.8.3/Source/CursesDialog/form/fld_arg.c:33:
/opt/cmake-2.8.3/Source/CursesDialog/form/form.priv.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nc_Copy_Type'
/opt/cmake-2.8.3/Source/CursesDialog/form/form.priv.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nc_Internal_Validation'
/opt/cmake-2.8.3/Source/CursesDialog/form/fld_arg.c: In function 'field_arg':
/opt/cmake-2.8.3/Source/CursesDialog/form/fld_arg.c:88: error: 'FIELD' has no member named 'arg'
make[2]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/fld_arg.o] Error 1
make[1]: *** [Source/CursesDialog/form/CMakeFiles/cmForm.dir/all] Error 2
make: *** [all] Error 2
Hab echt keine Ahnung mehr
System: Linux Debian Lenny on 32Bit
Danke im Vorraus!
MfG Resume!