* [Buildroot] Mysql: $(ENABLE_DEBUG) is unset
@ 2014-02-03 16:34 Marcelo Gutierrez
2014-02-03 16:45 ` Marcelo Gutierrez
0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Gutierrez @ 2014-02-03 16:34 UTC (permalink / raw)
To: buildroot
Hi all,
Configuration options defined in mysql.mk file, $(ENABLE_DEBUG) is unset.
MYSQL_CONF_OPT = \
--without-ndb-binlog \
--without-server \
--without-docs \
--without-man \
--without-libedit \
--without-readline \
--with-low-memory \
--enable-thread-safe-client \
$(ENABLE_DEBUG)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Mysql: $(ENABLE_DEBUG) is unset
2014-02-03 16:34 [Buildroot] Mysql: $(ENABLE_DEBUG) is unset Marcelo Gutierrez
@ 2014-02-03 16:45 ` Marcelo Gutierrez
2014-02-04 13:45 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Gutierrez @ 2014-02-03 16:45 UTC (permalink / raw)
To: buildroot
Hi all,
Ther are two possible solution:
1) Remove $(ENABLE_DEBUG) option
2) Change Config.in: add option to compile MySQL with debug support
config BR2_PACKAGE_MYSQL
bool "MySQL"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
The MySQL Open Source Database System
http://www.mysql.com/
comment "MySQL needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
if BR2_PACKAGE_MYSQL
config BR2_PACKAGE_MYSQL_DEBUG
bool " MySQL with support for debugging "
default n
help
This is necessary to output a trace log.
endif
This is just a draft. I wanna know, what do you think?
Best,
Marcelo
2014-02-03 Marcelo Gutierrez <kuyurix@gmail.com>:
> Hi all,
>
> Configuration options defined in mysql.mk file, $(ENABLE_DEBUG) is unset.
>
> MYSQL_CONF_OPT = \
> --without-ndb-binlog \
> --without-server \
> --without-docs \
> --without-man \
> --without-libedit \
> --without-readline \
> --with-low-memory \
> --enable-thread-safe-client \
> $(ENABLE_DEBUG)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Mysql: $(ENABLE_DEBUG) is unset
2014-02-03 16:45 ` Marcelo Gutierrez
@ 2014-02-04 13:45 ` Arnout Vandecappelle
2014-02-04 15:26 ` Marcelo Gutierrez
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2014-02-04 13:45 UTC (permalink / raw)
To: buildroot
On 03/02/14 17:45, Marcelo Gutierrez wrote:
> Ther are two possible solution:
>
> 1) Remove $(ENABLE_DEBUG) option
>
> 2) Change Config.in: add option to compile MySQL with debug support
We have a global BR2_ENABLE_DEBUG that should be used. It already
automatically --enable-debug to configure, but mysql calls it
--with-debug. So, the patch should remove $(ENABLE_DEBUG) and replace it
with something like
MYSQL_CONF_OPT += $(if $(BR2_ENABLE_DEBUG),--with-debug)
Can you try this and post a patch if it works?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Mysql: $(ENABLE_DEBUG) is unset
2014-02-04 13:45 ` Arnout Vandecappelle
@ 2014-02-04 15:26 ` Marcelo Gutierrez
2014-02-04 15:36 ` Yann E. MORIN
0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Gutierrez @ 2014-02-04 15:26 UTC (permalink / raw)
To: buildroot
Arnout,all,
Can you try this and post a patch if it works?
>
Thx, the patch has already been sent.
Regards,
Marcelo
2014-02-04 Arnout Vandecappelle <arnout@mind.be>:
> On 03/02/14 17:45, Marcelo Gutierrez wrote:
> > Ther are two possible solution:
> >
> > 1) Remove $(ENABLE_DEBUG) option
> >
> > 2) Change Config.in: add option to compile MySQL with debug support
>
> We have a global BR2_ENABLE_DEBUG that should be used. It already
> automatically --enable-debug to configure, but mysql calls it
> --with-debug. So, the patch should remove $(ENABLE_DEBUG) and replace it
> with something like
>
> MYSQL_CONF_OPT += $(if $(BR2_ENABLE_DEBUG),--with-debug)
>
> Can you try this and post a patch if it works?
>
> Regards,
> Arnout
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140204/a558593c/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Mysql: $(ENABLE_DEBUG) is unset
2014-02-04 15:26 ` Marcelo Gutierrez
@ 2014-02-04 15:36 ` Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2014-02-04 15:36 UTC (permalink / raw)
To: buildroot
Marcello, All,
On 2014-02-04 13:26 -0200, Marcelo Gutierrez spake thusly:
> Arnout,all,
>
> > Can you try this and post a patch if it works?
>
> Thx, the patch has already been sent.
Yes, I've sent it during the Developpers' Day hacking session.
Sorry I did not reply to the initial mail, and forgot to Cc you... :-/
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-04 15:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 16:34 [Buildroot] Mysql: $(ENABLE_DEBUG) is unset Marcelo Gutierrez
2014-02-03 16:45 ` Marcelo Gutierrez
2014-02-04 13:45 ` Arnout Vandecappelle
2014-02-04 15:26 ` Marcelo Gutierrez
2014-02-04 15:36 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox