Page 2 of 2

Re: Problem with module

Posted: Mon Jun 30, 2008 11:33 am
by rude
Are you saying /usr/lib and /usr/local/lib should both be checked? You can put the modules in the same directory as the binary too, by the way.

Also: if you have the latest trunk available, check out makefile-simple, which is a version of the old makefiles which is easier to tweak (i.e. change linker flags, etc). (While we still wait for automagic completion).

Re: Problem with module

Posted: Mon Jun 30, 2008 11:40 am
by farvardin
on linux you can't put the lib together with the executable binary (I mean, most distributions won't accept this). And when you build the binary, it should be linked to folder requested by the configure (default is usually /usr/local/lib but on request, for official distribution packages, it will be /usr/lib )

I think by default it should also check for every folder that is in the PATH. I've tried to change my path, but it didn't seem to make it work.
But it can also work if you put everything in the same folder and start the executable from this folder.

I'm only using the official release at the moment, and I'm especially waiting for the autoconf version.

Re: Problem with module

Posted: Mon Jun 30, 2008 4:09 pm
by tido
Actually, if you

Code: Select all

make install
, it should install the modules and executable into their proper places. Some distros don't bother looking under /usr/local/ because everything installs to /usr/. I don't think we'll ever put them under /usr/local/ unless anybody here is passionately for it.

Re: Problem with module

Posted: Tue Jul 01, 2008 7:52 am
by farvardin
the latest release doesn't support make install yet. Maybe the svn and the future release then?

Re: Problem with module

Posted: Tue Jul 01, 2008 8:03 am
by tido
Sorry, I was talking about the latest SVN. :oops:

Re: Problem with module

Posted: Fri Jul 04, 2008 8:50 pm
by rude
Chrishas, did you ever get LÖVE to run properly? I installed Slackware on a virtual machine, but frankly, it took too long to get all the dependencies etc, so I never got around to testing it.

You should try the 0.3.2 source. It has static modules, maybe that will help. Also, it has more symbols in the makefile, which will make it easier to change -llua5.1 to -llua, etc.