Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-04-11 Thread Andrew Ross
On Wed, Apr 11, 2012 at 02:54:59AM +0530, Atri wrote: > > Hi! > Sorry for the long delay in between my last test and the present one. I > got the svn version to build on openSUSE:Factory (with Lua 5.2) finally. > I used for my build the svn trunk directory (at revision 12185) without > applying an

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-04-10 Thread Atri
On Sat, 2012-02-18 at 11:37 -0800, Alan W. Irwin wrote: > On 2012-02-18 04:42+0530 Atri wrote: > > > Ok, seems I jumped the gun there. Example 21 from latest svn seems to be > > creating some problems. Here is the result of test_diff.sh > > > > =

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-18 Thread Alan W. Irwin
On 2012-02-18 04:42+0530 Atri wrote: > On Fri, 2012-02-17 at 12:18 -0800, Alan W. Irwin wrote: >> On 2012-02-17 23:52+0530 Atri wrote: >> >>> Finally, with these modifications, and the examples corrected as in the >>> latest revision, the 'make test_lua_psc' passes wonderfully, i.e. not >>> only d

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-17 Thread Atri
On Fri, 2012-02-17 at 12:18 -0800, Alan W. Irwin wrote: > On 2012-02-17 23:52+0530 Atri wrote: > > > Finally, with these modifications, and the examples corrected as in the > > latest revision, the 'make test_lua_psc' passes wonderfully, i.e. not > > only does it pass, but it creates ps files of p

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-17 Thread Alan W. Irwin
Hi Atri: On 2012-02-17 12:18-0800 Alan W. Irwin wrote: > To complete this work I plan to update our build system to incorporate > all the changes you have shown are required to get lua 5.2 to work, > (with the added feature that I will use the lua -v command to > determine which version of lua is

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-17 Thread Alan W. Irwin
On 2012-02-17 23:52+0530 Atri wrote: > Finally, with these modifications, and the examples corrected as in the > latest revision, the 'make test_lua_psc' passes wonderfully, i.e. not > only does it pass, but it creates ps files of plots that look fine. I > found that the ps files created using the

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-17 Thread Atri
On Thu, 2012-02-16 at 12:31 -0800, Alan W. Irwin wrote: > On 2012-02-16 11:46-0800 Alan W. Irwin wrote: > > > []So one possibility to deal with this is simply to replace all math.mod > > in the several examples where that occurs with math.fmod. However, > > another alternative is to use the l

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-16 Thread Alan W. Irwin
On 2012-02-16 11:46-0800 Alan W. Irwin wrote: > []So one possibility to deal with this is simply to replace all math.mod > in the several examples where that occurs with math.fmod. However, > another alternative is to use the lua % operator (which takes the > remainder relative to minus infin

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-16 Thread Alan W. Irwin
On 2012-02-16 22:36+0530 Atri wrote: > Hi! > > Thanks for all the helpful suggestions. My first attempt at building > with lua 5.2 is outlined below. > > On Sat, 2012-02-11 at 14:57 -0800, Alan W. Irwin wrote: >> Copy the system version of >> FindLua51.cmake (usually found in >> /usr/share/cmake-2

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-16 Thread Atri
Hi! Thanks for all the helpful suggestions. My first attempt at building with lua 5.2 is outlined below. On Sat, 2012-02-11 at 14:57 -0800, Alan W. Irwin wrote: > Copy the system version of > FindLua51.cmake (usually found in > /usr/share/cmake-2.8/Modules) to cmake/modules. > > That copy operat

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-12 Thread Andrew Ross
On Sat, Feb 11, 2012 at 02:57:44PM -0800, Alan Irwin wrote: > On 2012-02-11 19:53+0530 Atri wrote: > > > Hi! > > > > I package plplot (version 5.9.9) for the Linux distribution openSUSE > > [1]. I have run into a problem with building plplot for openSUSE's > > factory (eventually this will become

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-12 Thread Alan W. Irwin
On 2012-02-11 14:57-0800 Alan W. Irwin wrote: > Lua-5.2 was released only in December so it will take a while for that > to propagate to most Linux distros. For example, Debian is quite > conservative and only supports Lua-5.0 even in the unstable version > of Debian for some reason. The first s

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-12 Thread Alan W. Irwin
On 2012-02-12 18:26+0530 Atri wrote: > On Sat, 2012-02-11 at 14:57 -0800, Alan W. Irwin wrote: >> Wherever there is a reference to Lua 5.1 put in additional 5.2 choices >> first. >> >> That is: >> >> PATH_SUFFIXES include/lua51 include/lua5.1 include/lua include >> >> ==> >> >> PATH_SUFFIXES incl

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-12 Thread Atri
On Sat, 2012-02-11 at 14:57 -0800, Alan W. Irwin wrote: > On 2012-02-11 19:53+0530 Atri wrote: > > > Hi! > > > > I package plplot (version 5.9.9) for the Linux distribution openSUSE > > [1]. I have run into a problem with building plplot for openSUSE's > > factory (eventually this will become the

Re: [Plplot-devel] Building fails with Lua version > 5.1

2012-02-11 Thread Alan W. Irwin
On 2012-02-11 19:53+0530 Atri wrote: > Hi! > > I package plplot (version 5.9.9) for the Linux distribution openSUSE > [1]. I have run into a problem with building plplot for openSUSE's > factory (eventually this will become the next openSUSE release): the > version of lua in factory is 5.2 [2], bu