Bug #49799 | Cant Compile My Programs With Mysql 5.5 | ||
---|---|---|---|
Submitted: | 18 Dec 2009 9:46 | Modified: | 27 Apr 2018 12:06 |
Reporter: | Hernando Gonzalez | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | Mysql 5.5 | OS: | Linux (RHEL 5.4) |
Assigned to: | CPU Architecture: | Any | |
Tags: | cant, compile, wrong |
[18 Dec 2009 9:46]
Hernando Gonzalez
[18 Dec 2009 9:50]
Sveta Smirnova
Thank you for the report. Have you tried mysql_config utility? If not pllease try: if you used binary distribution before most likely paths were changed. See our user manual for description of difference between source and binary distributions.
[18 Dec 2009 10:16]
Hernando Gonzalez
This shows MySQL 5.4.3 --cflags [-I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -DUNIV_LINUX] --include [-I/usr/include/mysql] --libs [-rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lmygcc] --libs_r [-rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygcc] --plugindir [/usr/lib64/mysql/plugin] --socket [/var/lib/mysql/mysql.sock] --port [0] --version [5.4.3-beta] --libmysqld-libs [-rdynamic -L/usr/lib64/mysql -lmysqld -ldl -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygcc] --variable=VAR VAR is one of: pkgincludedir [/usr/include/mysql] pkglibdir [/usr/lib64/mysql] plugindir [/usr/lib64/mysql/plugin] And this Shows MySQL 5.5 --cflags [-I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -DUNIV_LINUX] --include [-I/usr/include/mysql] --libs [-rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lmygcc] --libs_r [-rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygcc] --plugindir [/usr/lib64/mysql/plugin] --socket [/var/lib/mysql/mysql.sock] --port [0] --version [5.5.0-m2] --libmysqld-libs [-rdynamic -L/usr/lib64/mysql -lmysqld -ldl -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygcc] --variable=VAR VAR is one of: pkgincludedir [/usr/include/mysql] pkglibdir [/usr/lib64/mysql] plugindir [/usr/lib64/mysql/plugin]
[18 Dec 2009 10:24]
Sveta Smirnova
Thank you for the feedback. Please send exact compilation error you get. Also provide configure options you used to compile MySQL.
[18 Dec 2009 10:41]
Hernando Gonzalez
* I use this way: autoreconf --install --force aclocal autoheader autoconf automake --add-missing automake src/bindings/ScriptDev2/Makefile mkdir objdir cd objdir export CFLAGS = "-msse3 -g -O3" export CXXFLAGS = "-msse3 -g -O3" ../configure --with-std-malloc="yes" --prefix=/opt/test --sysconfdir=/opt/test/etc --datadir=/opt/test/sql --enable-cli make make install * (with the before options that i mentioned, appear the same error, if i swith back to 5.4.3 compile withou problems) * The Error is alredy upload. Thanks!
[24 Dec 2009 6:26]
Hernando Gonzalez
So, is possible, some way to fix it?
[24 Dec 2009 7:41]
Sveta Smirnova
Hernando, thnak you for the data provided. I still can not repeat the problem. Please try to build MySQL not from objdir, but from source dir itself: we have bug #45616 about problems with build you use. If problem still exists please send us exampe of C file which you can not compile.
[25 Jan 2010 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[27 Apr 2018 12:06]
Yngve Svendsen
Posted by developer: Not reproducible and no feedback on information request.