This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compilation problem with --enable-mysql

Tags: None
(comma "," separated)
Andreas Mair
Registered Member
Posts
40
Karma
1
OS
Hi,

I tried it myself and it configured/compiled fine.
Did you \"make distclean\" and \"make -f Makefile.cvs\" before?

Regards,
Andreas
Andrea
Karma
0
It\'s from a week (more or less) that i cant\' compile with --enable-mysql in the CVS version
It\'s my fault? Heeelp meee!!
Configuring in this way doesn\'t create valid Makefiles.. so the compilation doesn\'t start.

Andrea

checking kjsembed/kjsembedpart.h usability... yes
checking kjsembed/kjsembedpart.h presence... yes
checking for kjsembed/kjsembedpart.h... yes
checking tunepimp/tp_c.h usability... yes
checking tunepimp/tp_c.h presence... yes
checking for tunepimp/tp_c.h... yes
checking if amarok should be compiled... yes
configure: creating ./config.status
Uhh. Malformed pattern in ./confstatZd98Gd/subs.sed (s,@mysql_includes@,Usage: /usr/bin/mysql_config [OPTIONS]) at admin/config.pl line 106.
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

==========================
=== amaroK - PLUGINS ========================================================
==========================
=
= The following plugins will be built:
= + aRts-engine
= + GStreamer-engine
= + xine-engine
= + XMMS Visualization Wrapper
= + MySql support
=
===============================================================================

Good - your configure finished. Start make now
:)
hitu
Registered Member
Posts
1
Karma
0
yah i get somethin like
[code:1]configure: creating ./config.status
Uhh. Malformed pattern in ./confstatq12079/subs.sed (s,@mysql_includes@,Usage: /usr/lib/mysql/mysql_config [OPTIONS]) at admin/config.pl line 106
.
config.status: creating config.h
[/code:1]
someone mentioned to get libmysqlclient.. where can i get it from ?
muesli
KDE Developer
Posts
230
Karma
0
compile mysql yourself or install the libmysqlclient-dev packages provided by your distribution.

regards,
muesli
User avatar
Ben Klaas
Registered Member
Posts
2
Karma
0
I ran into the same issue on my FC3 machine. ./configure --enable-mysql has a strange message:
Uhh. Malformed pattern in ./confstatbN4184/subs.sed (s,@mysql_includes@,Usage: /usr/lib/mysql/mysql_config [OPTIONS]) at admin/config.pl line 106.

configure seems to exit without complaint, but no makefile is produced.

I have installed the latest mysql rpm, which according to rpmfind.net included libmysqlclient.so. I can\'t find any libmysqlclient-dev for Fedora anywhere...any ideas?
Andreas Mair
Registered Member
Posts
40
Karma
1
OS
Hi,

don\'t run Fedora here but a quick look let\'s me think you\'ll need the mysql-devel package.

I wonder why mysql and mysql-devel aren\'t included in Fedora...

Regards,
Andreas
User avatar
Ben Klaas
Registered Member
Posts
2
Karma
0
mysql is included in fedora, and my bet is that the devel libraries are there too, but amarok\'s config is not finding them. I upgraded the mysql rpm in hopes it would resolve the config error from amarok, but no dice.

I\'m a heavy mysql user, but I access it programatically through Perl DBI, so I don\'t know where the libraries reside...and I can\'t seem to find the libmysql-devel libs in a fedora rpm anywhere...I\'d install from source, but haven\'t found anything for that either...
alok garg
Registered Member
Posts
3
Karma
0
hi,
i am experiencing the same problem and i have installed both mysql and mysql-devel packages on Fedora core 3.amarok is compiling fine without mysql . I think the problem has to do with Makefile.
bakwas

Post edited by: bakwas, at: 2005/03/06 00:19
gneeki
Karma
0
See the following bug:

http://bugs.kde.org/show_bug.cgi?id=99379

MySQL v3 has no mysql_config --include command, which the configure script assumes - you have to replace the call with mysql_config --cflags, or use the patch in the report above.

I have amarok 1.2.1 running fine with Fedora\'s FC3 MySQL after doing this - note also the note I added to the bug report about temporary tables - the grant command is invalid in MySQL v3, but it seems to work fine if you omit it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient