Monty, MySQL, and an end to the packaging nightmare

Jeff Mitchell mitchell at kde.org
Mon Apr 27 21:40:17 CEST 2009


Leonardo Franchi wrote:
> 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.

When I built SVN Amarok against this version, even though I put
-Wl,--as-needed in my cmake linker flags, it didn't work.

There's a small chance I forgot to actually install it after building,
though, so I'll have to try it before blaming them for breaking it
unconditionally with SVN...

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20090427/db3d438b/attachment.sig 


More information about the Amarok-devel mailing list