Re: [AD] 5.0 and 5.2 on the same system

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 12 Dec 2012 14:39:22 +0100, allefant <info@xxxxxxxxxx> wrote:
> On Wed, Dec 12, 2012 at 9:17 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >
> > "It doesn't work" seems like a pretty good reason.
> >
> > If you passed -lallegro-5.0 on the command-line then the linker
> > won't find anything because our files are NOT named liballegro-5.0.*
> > but
> >
> >     liballegro.so -> liballegro.so.5.0
> >     liballegro.so.5.0 -> liballegro.so.5.0.8
> >     liballegro.so.5.0.8
> >
> > You would need pass the full path directly instead of using the -l option.
> > Possible but a bit unconventional.
> >
> 
> I see. Still, it means under Linux the current situation neither works
> well for having both 5.0 and 5.2 installed (I suppose it works if one
> is in /usr and the other in /usr/local as pkg-config will output
> different -I and -L options). Nor does it work well for the case where
> we want a completely transparent upgrade from 5.0 to 5.2 (we'd have to
> keep the -5.0 name in 5.2 otherwise users would have to change the
> package name).

Yes.

I think Tobias is right.  It's early days for Allegro 5 in Linux
distributions.  I propose that the next 5.0.x and 5.1.x releases start
installing allegro*-5.pc files so people can start using them.
The 5.0.x releases would continue to install allegro*-5.0.pc files as
well.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/