[orocosusers] libgv-lua installed but gv module not found in lua

Hi everyone,

I'm trying to use 'rfsm2tree' or 'rfsm2uml' which use Graphviz. I have
made sure that on my Ubuntu graphviz and libgv-lua are installed (just
via standard apt-get).

|ls /usr/lib/graphviz/|returns:

config6
libgvplugin_gdk.so.6.0.0
libgvplugin_neato_layout.so.6.0.0 libgvplugin_core.so
libgvplugin_gd.so libgvplugin_pango.so libgvplugin_core.so.6
libgvplugin_gd.so.6 libgvplugin_pango.so.6 libgvplugin_core.so.6.0.0
libgvplugin_gd.so.6.0.0 libgvplugin_pango.so.6.0.0
libgvplugin_dot_layout.so libgvplugin_gtk.so libgvplugin_xlib.so
libgvplugin_dot_layout.so.6 libgvplugin_gtk.so.6
libgvplugin_xlib.so.6 libgvplugin_dot_layout.so.6.0.0
libgvplugin_gtk.so.6.0.0 libgvplugin_xlib.so.6.0.0
libgvplugin_gdk.so libgvplugin_neato_layout.so libgvplugin_gdk.so.6
libgvplugin_neato_layout.so.6

both those files call for 'gv' module which cannot be found. I am not
able to call|require("gv")|in lua. It seems that I am missing another
file|libgv-lua.so|in graphviz directory or its possible sub-directories.

It also seems that the mailing list or the website hosting the software
is down. On GitHub you can report an issue, but I am not sure if this is
an issue of the software. But I am also not able to solve it.

So I thought of asking it here in case anyone has already faced this issue.

I am using|3.19.0-80-generic #88~14.04.1-Ubuntu|and|lua5.1|.

Thank you

Regards

Keivan

[orocosusers] libgv-lua installed but gv module not found in lua

Hi Keivan,

The gv.so that you get from debian pkg (at least on ubuntu 14.04) is no
good because is for lua 5.2,

to solve you have to compile graphviz from source
(https://github.com/ellson/graphviz), making sure to have only lua 5.1
installed (i asked to the developer how to select the version of lua,
that was the answer: unistall 5.2).

compiling it is a little time consuming, but is viable.

a can send you my library compiled in private message, and then you need
to put somewhere in the lua c path. this should be enough.

Could be a good idea to put the compiled library in the debian
distribution...

On 14/06/17 17:20, Keivan Zavari wrote:
> Hi everyone,
>
> I'm trying to use 'rfsm2tree' or 'rfsm2uml' which use Graphviz. I have
> made sure that on my Ubuntu graphviz and libgv-lua are installed (just
> via standard apt-get).
>
> |ls /usr/lib/graphviz/|returns:
>
> config6
> libgvplugin_gdk.so.6.0.0
> libgvplugin_neato_layout.so.6.0.0 libgvplugin_core.so
> libgvplugin_gd.so libgvplugin_pango.so libgvplugin_core.so.6
> libgvplugin_gd.so.6 libgvplugin_pango.so.6
> libgvplugin_core.so.6.0.0 libgvplugin_gd.so.6.0.0
> libgvplugin_pango.so.6.0.0 libgvplugin_dot_layout.so
> libgvplugin_gtk.so libgvplugin_xlib.so libgvplugin_dot_layout.so.6
> libgvplugin_gtk.so.6 libgvplugin_xlib.so.6
> libgvplugin_dot_layout.so.6.0.0 libgvplugin_gtk.so.6.0.0
> libgvplugin_xlib.so.6.0.0 libgvplugin_gdk.so
> libgvplugin_neato_layout.so libgvplugin_gdk.so.6
> libgvplugin_neato_layout.so.6
>
> both those files call for 'gv' module which cannot be found. I am not
> able to call|require("gv")|in lua. It seems that I am missing another
> file|libgv-lua.so|in graphviz directory or its possible sub-directories.
>
> It also seems that the mailing list or the website hosting the
> software is down. On GitHub you can report an issue, but I am not sure
> if this is an issue of the software. But I am also not able to solve it.
>
> So I thought of asking it here in case anyone has already faced this
> issue.
>
> I am using|3.19.0-80-generic #88~14.04.1-Ubuntu|and|lua5.1|.
>
> Thank you
>
>
> Regards
>
> Keivan
>

[orocosusers] libgv-lua installed but gv module not found in lua

Hi Keivan and Gianni,

small addition to Gianni's answer: if you compile graphviz from sources,
be sure you have installed swig (debian version distributed with your OS
is OK) and check the output of the configuration phase before compiling
(otherwise the desired library will not be generated).

Hope this helps,
- Enea

On 06/15/2017 10:37 AM, Gianni Borghesan wrote:
> Hi Keivan,
>
> The gv.so that you get from debian pkg (at least on ubuntu 14.04) is no
> good because is for lua 5.2,
>
> to solve you have to compile graphviz from source
> (https://github.com/ellson/graphviz), making sure to have only lua 5.1
> installed (i asked to the developer how to select the version of lua,
> that was the answer: unistall 5.2).
>
> compiling it is a little time consuming, but is viable.
>
> a can send you my library compiled in private message, and then you need
> to put somewhere in the lua c path. this should be enough.
>
> Could be a good idea to put the compiled library in the debian
> distribution...
>
>
> On 14/06/17 17:20, Keivan Zavari wrote:
>> Hi everyone,
>>
>> I'm trying to use 'rfsm2tree' or 'rfsm2uml' which use Graphviz. I have
>> made sure that on my Ubuntu graphviz and libgv-lua are installed (just
>> via standard apt-get).
>>
>> |ls /usr/lib/graphviz/|returns:
>>
>> config6
>> libgvplugin_gdk.so.6.0.0
>> libgvplugin_neato_layout.so.6.0.0 libgvplugin_core.so
>> libgvplugin_gd.so libgvplugin_pango.so libgvplugin_core.so.6
>> libgvplugin_gd.so.6 libgvplugin_pango.so.6
>> libgvplugin_core.so.6.0.0 libgvplugin_gd.so.6.0.0
>> libgvplugin_pango.so.6.0.0 libgvplugin_dot_layout.so
>> libgvplugin_gtk.so libgvplugin_xlib.so libgvplugin_dot_layout.so.6
>> libgvplugin_gtk.so.6 libgvplugin_xlib.so.6
>> libgvplugin_dot_layout.so.6.0.0 libgvplugin_gtk.so.6.0.0
>> libgvplugin_xlib.so.6.0.0 libgvplugin_gdk.so
>> libgvplugin_neato_layout.so libgvplugin_gdk.so.6
>> libgvplugin_neato_layout.so.6
>>
>> both those files call for 'gv' module which cannot be found. I am not
>> able to call|require("gv")|in lua. It seems that I am missing another
>> file|libgv-lua.so|in graphviz directory or its possible sub-directories.
>>
>> It also seems that the mailing list or the website hosting the
>> software is down. On GitHub you can report an issue, but I am not sure
>> if this is an issue of the software. But I am also not able to solve it.
>>
>> So I thought of asking it here in case anyone has already faced this
>> issue.
>>
>> I am using|3.19.0-80-generic #88~14.04.1-Ubuntu|and|lua5.1|.
>>
>> Thank you
>>
>>
>> Regards
>>
>> Keivan
>>
>

[orocosusers] libgv-lua installed but gv module not found in lua

Thank you guys for the answers.

I will first give the .so solution a try. Hope that just works.

Regards

Keivan

On 15/06/17 10:40, Enea Scioni wrote:
> Hi Keivan and Gianni,
>
> small addition to Gianni's answer: if you compile graphviz from
> sources, be sure you have installed swig (debian version distributed
> with your OS is OK) and check the output of the configuration phase
> before compiling (otherwise the desired library will not be generated).
>
> Hope this helps,
> - Enea
>
> On 06/15/2017 10:37 AM, Gianni Borghesan wrote:
>> Hi Keivan,
>>
>> The gv.so that you get from debian pkg (at least on ubuntu 14.04) is
>> no good because is for lua 5.2,
>>
>> to solve you have to compile graphviz from source
>> (https://github.com/ellson/graphviz), making sure to have only lua
>> 5.1 installed (i asked to the developer how to select the version of
>> lua, that was the answer: unistall 5.2).
>>
>> compiling it is a little time consuming, but is viable.
>>
>> a can send you my library compiled in private message, and then you
>> need to put somewhere in the lua c path. this should be enough.
>>
>> Could be a good idea to put the compiled library in the debian
>> distribution...
>>
>>
>> On 14/06/17 17:20, Keivan Zavari wrote:
>>> Hi everyone,
>>>
>>> I'm trying to use 'rfsm2tree' or 'rfsm2uml' which use Graphviz. I
>>> have made sure that on my Ubuntu graphviz and libgv-lua are
>>> installed (just via standard apt-get).
>>>
>>> |ls /usr/lib/graphviz/|returns:
>>>
>>> config6
>>> libgvplugin_gdk.so.6.0.0
>>> libgvplugin_neato_layout.so.6.0.0 libgvplugin_core.so
>>> libgvplugin_gd.so libgvplugin_pango.so libgvplugin_core.so.6
>>> libgvplugin_gd.so.6 libgvplugin_pango.so.6
>>> libgvplugin_core.so.6.0.0 libgvplugin_gd.so.6.0.0
>>> libgvplugin_pango.so.6.0.0 libgvplugin_dot_layout.so
>>> libgvplugin_gtk.so libgvplugin_xlib.so libgvplugin_dot_layout.so.6
>>> libgvplugin_gtk.so.6 libgvplugin_xlib.so.6
>>> libgvplugin_dot_layout.so.6.0.0 libgvplugin_gtk.so.6.0.0
>>> libgvplugin_xlib.so.6.0.0 libgvplugin_gdk.so
>>> libgvplugin_neato_layout.so libgvplugin_gdk.so.6
>>> libgvplugin_neato_layout.so.6
>>>
>>> both those files call for 'gv' module which cannot be found. I am
>>> not able to call|require("gv")|in lua. It seems that I am missing
>>> another file|libgv-lua.so|in graphviz directory or its possible
>>> sub-directories.
>>>
>>> It also seems that the mailing list or the website hosting the
>>> software is down. On GitHub you can report an issue, but I am not
>>> sure if this is an issue of the software. But I am also not able to
>>> solve it.
>>>
>>> So I thought of asking it here in case anyone has already faced this
>>> issue.
>>>
>>> I am using|3.19.0-80-generic #88~14.04.1-Ubuntu|and|lua5.1|.
>>>
>>> Thank you
>>>
>>>
>>> Regards
>>>
>>> Keivan
>>>
>>