Computerhilfen.de Logo
Forum
Tipps
News
Frage stellen

MySQL 5.5.15 installieren mit Source Code

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:

Zitat
/opt/cmake-2.8.3/bin/cmake . -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 \
-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
cmake wurde bei /opt/cmake-2.8.3/ installiert
Dann kommt folgende Statusmeldung:
Zitat
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/cmake-2.8.3
 
Jetzt logischerweise einfach
 
Zitat
make
Dann kommt aber Folgendes:
 
Zitat
Linking CXX static library libcmsys.a
[  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
Weiß einer weiter?
Hab echt keine Ahnung mehr :D
System: Linux Debian Lenny on 32Bit

Danke im Vorraus!
MfG Resume!

Antworten zu MySQL 5.5.15 installieren mit Source Code:

Hat dir diese Antwort geholfen?

Danke ButtonHilfreiche Antwort Button

Moin,
schau mal nach, ob bei Dir ncurses und ncurses-devel installiert sind.
 


« Ubuntu: LautstärkereglerSuse Linux 11.4 Drucker Canon Pixma ip3300 »
 

Schnelle Hilfe: Hier nach ähnlichen Fragen und passenden Tipps suchen!

Fremdwörter? Erklärungen im Lexikon!
Beta Version
Unter einer Beta Version versteht man ein Programm, das sich in einer Testphase, also noch vor der finalen Version, die veröffentlicht wird, befindet. Allgemein wird...

Bulk Version
Eine Bulk-Version ist nicht für den Einzelverkauf gedacht, sondern für Händler, die daraus ein Komplettangebot zusammenstellen. Oft erhält man nur die...

Retail Version
Eine Ware ist eine Retail-Version (oder auch "Kit-Version" genannt), wenn sie für den Endverbraucher bestimmt ist. Im Grunde kauft der Kunde im Laden immer die Retai...