Lua terminal err: No driver name or file name given.

View: New views
3 Messages — Rating Filter:   Alert me  

Lua terminal err: No driver name or file name given.

by Tim-417 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Thanks in advance.

Yesterday I downloaded and compiled the CVS version of GNUPLOT. I had
to apt-get Lua, and follow the instructions here

http://ubuntuforums.org/showthread.php?t=1127979

to get the configure script to pick it up. Compilation seems to go
fine, but when I try to set the terminal:

gnuplot> set term lua
Terminal type set to 'lua'
         No Lua driver name or file name given!

I checked the config.log, and there's a bunch of nonsense about not
finding lua.h. I'm not sure why, since

pkg-config --cflags "lua"
-I/usr/include/lua5.1

Anyhow, the -I flag shows up fine in CPPFLAGS in the Makefile, but I
don't know if it's being picked up or not by GCC.

Could anyone point me in the right direction?

Thanks,



Tim.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: Lua terminal err: No driver name or file name given.

by Ethan Merritt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 20 June 2009, Tim Teatro wrote:

> Hi All,
>
> Thanks in advance.
>
> Yesterday I downloaded and compiled the CVS version of GNUPLOT. I had
> to apt-get Lua, and follow the instructions here
>
> http://ubuntuforums.org/showthread.php?t=1127979
>
> to get the configure script to pick it up. Compilation seems to go
> fine, but when I try to set the terminal:
>
> gnuplot> set term lua
> Terminal type set to 'lua'
>          No Lua driver name or file name given!
>
> I checked the config.log, and there's a bunch of nonsense about not
> finding lua.h. I'm not sure why, since
>
> pkg-config --cflags "lua"
> -I/usr/include/lua5.1
>
> Anyhow, the -I flag shows up fine in CPPFLAGS in the Makefile, but I
> don't know if it's being picked up or not by GCC.
>
> Could anyone point me in the right direction?


"lua" is the name of a generic driver that can in theory create
several different output formats.  The only one implemented at this
point is tikz, but the intent is that in the future there could be
others.  To create tikz output, you can either say
   set term lua tikz
or just
   set term tikz

This is similar to how the current gd terminal driver works.
It can be used to create gif, png, or jpeg output.  But you don't
say "set term gd", you say "set term png" and so on.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: Lua terminal err: No driver name or file name given.

by Tim-417 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Works like a charm. Thanks!

Best regards,



Tim.



On Sat, Jun 20, 2009 at 4:53 PM, Ethan Merritt<merritt@...> wrote:

> On Saturday 20 June 2009, Tim Teatro wrote:
>> Hi All,
>>
>> Thanks in advance.
>>
>> Yesterday I downloaded and compiled the CVS version of GNUPLOT. I had
>> to apt-get Lua, and follow the instructions here
>>
>> http://ubuntuforums.org/showthread.php?t=1127979
>>
>> to get the configure script to pick it up. Compilation seems to go
>> fine, but when I try to set the terminal:
>>
>> gnuplot> set term lua
>> Terminal type set to 'lua'
>>          No Lua driver name or file name given!
>>
>> I checked the config.log, and there's a bunch of nonsense about not
>> finding lua.h. I'm not sure why, since
>>
>> pkg-config --cflags "lua"
>> -I/usr/include/lua5.1
>>
>> Anyhow, the -I flag shows up fine in CPPFLAGS in the Makefile, but I
>> don't know if it's being picked up or not by GCC.
>>
>> Could anyone point me in the right direction?
>
>
> "lua" is the name of a generic driver that can in theory create
> several different output formats.  The only one implemented at this
> point is tikz, but the intent is that in the future there could be
> others.  To create tikz output, you can either say
>   set term lua tikz
> or just
>   set term tikz
>
> This is similar to how the current gd terminal driver works.
> It can be used to create gif, png, or jpeg output.  But you don't
> say "set term gd", you say "set term png" and so on.
>

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta