by the way hisham, do you think it can be already be added on the repository? The prefix is usefull to where the .so will be installed only, because when you load sofia-glib it must find the sofia.so lib on the system default librarie path (on linux usually /usr/lib), so the .so are installed on the prefix and a link is made of them to the lualib default path, so a require 'sofia' can work, because it will find the sofia.so on the lua default path.
best regards, Katcipis On Thu, Jul 22, 2010 at 8:31 PM, Tiago Katcipis <[email protected]>wrote: > > > On Wed, Jul 21, 2010 at 4:21 PM, Hisham <[email protected]> wrote: > >> On Wed, Jul 21, 2010 at 3:46 PM, Tiago Katcipis <[email protected]> >> wrote: >> > so you think i can run the ./configure, make, make install using this >> > 'command' build? any hint on how i build the rockspec doing this? >> >> Use the attached rockspec as a starting point. >> >> In my first tests here, it didn't work out of the box because the >> generated makefile does not follow --prefix when installing: it forces >> installation of files into Lua's default libdir. > > > this is made on purpose, we search using pkg-config to see where to install > the .so so lua can find it and load it when a require is done. > > the rockspec you sent me seems to be ok...it installed ok here and worked. > > here it goes a little more complete :-) > > thanks again for the help. > > >> I guess this can be >> overriden with proper flags for configure or make install; you may >> want to take a look into that. >> >> -- Hisham >> >> _______________________________________________ >> Luarocks-developers mailing list >> [email protected] >> http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers >> >> > > > -- > http://www.getgnulinux.org/windows > -- http://www.getgnulinux.org/windows
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
