Monty, MySQL, and an end to the packaging nightmare

Leonardo Franchi lfranchi at kde.org
Mon Apr 27 21:32:59 CEST 2009


On Monday 27 April 2009 20:09:05 Alex Merry wrote:
> On Sunday 26 April 2009 20:04:04 Jeff Mitchell wrote:
> > So: I think we should take him up on his offer and see if he delivers.
> > Please send me all of the issues you can think of -- both in terms of
> > developing with it and packaging it, links to bug reports are bonus
> > points -- and once it's collected I'll send it off to him and see what
> > he does with it.  If things progress, we can see about switching to Maya
> > -- if it's really basically a drop-in replacement it shouldn't be too
> > difficult for any of us.
>
> A major issue is that libmysqld.a is not compiled with -fPIC, even if you
> pass --with-pic on the configure line.  It requires setting CFLAGS before
> configuring.  Without this, libmysqld.a cannot be linked into a .so library
> on x86_64.
>
> Some distros (such as Arch) won't do this for the default packages because
> of concerns about a possible effect on the speed of the main server.
>
> If libmysqld.a could be compiled with -fPIC without affecting the rest of
> the build, this would be resolved without affecting people concerned about
> speed.

FYI, gentoo has a patch that builds libmysqld.so, so avoiding the whole -fPIC 
issue. However, their build of libmsqld.so requires amarok to be build with 
the LDFLAG --as-needed, and no one can figure out why. But it is at least a 
start.

leo
-- 
-----
lfranchi at kde.org		Tufts  University 2010
leonardo.franchi at tufts.edu                The KDE Project


More information about the Amarok-devel mailing list