Andrea D'Amore | 21 Jul 21:31
Favicon

problem with liblua at configure

Hello,
seems that configure script from wxLua-2.8.7.0-src.tar.gz check the  
system lua installation using -llua5.1 but the standard name for  
liblua is liblua.a, using -llua5.1 would give a fail even on a system  
with lua 5.1 installed properly, this should be fixed.

Andrea

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
John Labenski | 22 Jul 00:49

Re: problem with liblua at configure

On Mon, Jul 21, 2008 at 3:31 PM, Andrea D'Amore
<andrea.damore@...> wrote:
> Hello,
> seems that configure script from wxLua-2.8.7.0-src.tar.gz check the
> system lua installation using -llua5.1 but the standard name for
> liblua is liblua.a, using -llua5.1 would give a fail even on a system
> with lua 5.1 installed properly, this should be fixed.
>

What system are you using? We discussed this a while back and found
that different distributions call it whatever they want. I'm not on
linux right now, but I think that you might be able to override this.

Regards,
    John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Andrea D'Amore | 22 Jul 14:29
Favicon

Re: problem with liblua at configure


On 22/lug/08, at 00:49, John Labenski wrote:

> What system are you using?

I'm on Leopard using macports.

> We discussed this a while back and found
> that different distributions call it whatever they want.

The point is lua sources install liblua.a so wxLua should link against  
-llua, I think the naming is just a facility for the distros to make  
newer (5.1) and older (5.0) lua versions coexist but wxLua shouldn't  
rely on arbitrary behaviour.

> I'm not on
> linux right now, but I think that you might be able to override this.

Sure I did (just symlinked the library) but I felt it should somehow  
be fixed back to the source.

I see on my system pkg-config has lua support so maybe the configure  
script could switch to pkg-config.

> Regards,
>   John

Andrea

-------------------------------------------------------------------------
(Continue reading)


Gmane