Re: ipe on RHEL

Dave Roberts <dvrbts-HSus7YQ2/[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <[email protected]>
Thanks Otfried.  /usr/local/include/lua.h  is there alright, but there 
is no sign of lua5.2.so, so I'll go back to my build from source and see 
what's what.  There may still be lingering lua5.1, but the is no lua*.so 
of any generation.

Thanks, Dave

On 05/27/2013 08:31 PM, Otfried Cheong wrote:
> On 05/28/2013 01:15 AM, Dave Roberts wrote:
>>        On RHEL6 (Scientific Linux 6 in my case) the package manager says
>> lua5.1 is the most recent, and the ipe build fails looking for lua5.2.
>> I removed lua5.1 and built lua5.2 from source, but because it was built
>> from source it appears not to create the files (lua5.2.pc specifically).
>>     I've tried the fixes for Fedora, but RHEL is behind Fedora in
>> libraries, and I can't it right.
>>
>>       How can I trick ipe into thinking lua5.2 was installed by yum
>> (possibly creating lua5.2.pc in the appropriate directory?) or get an
>> version of ipe compatible with lua5.1 on RHEL (el6.x86_64 specifically)?
>
> Don't worry about the pkg-config files - just tell Ipe where to find
> Lua.  If you built and installed Lua 5.2 on your system such that lua.h
> is in /usr/local/include/lua.h and lua5.2.so is in /usr/local/lib, you
> can build Ipe by saying
>
> make LUA_CFLAGS="-I/usr/local/include" \
>        LUA_LIBS="-L/usr/local/lib -llua5.2"
>
> Or edit LUA_CFLAGS and LUA_LIBS in config.mak.
>
> You can also build Ipe 7.1.3, which still used Lua 5.1.
>
> Cheers,
>    Otfried
>
>
>
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David W. Roberts                                     office 406-994-4548
Professor and Head                                      FAX 406-994-3190
Department of Ecology                         email [email protected]
Montana State University
Bozeman, MT 59717-3460
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.