Open GoogleCodeExporter opened 9 years ago
Triode, I've put together a patch that updates all of the makefiles (and config
files) to use the PREFIX variable for the root location of include files. I've
created a default of PREFIX=/usr/local in the main Makefile that can be
overridden when running make (i.e., make PREFIX=/usr when compiling on Arch
Linux). I have not tested this in its default setting since I don't have
access to a distro that places the include files in /usr/local/include, but it
does work for compiling on Arch where lua.h is located in
/usr/include/luajit-2.0/
Patch is attached. I' hope this is OK.
George
Original comment by george.g...@gmail.com
on 27 Aug 2013 at 4:21
Triode: The old patch file didn't seem to work, and with the addition of the
visualizer (I believe) didn't cover all of the appropriate files. I've created
a new patch file that seems to work much better. I believe this converts all
of the appropriate files to using a predefined "PREFIX" for the location of the
lua includes. It defaults to /usr/local/ to maintain compatibility with the
current set of files, but for those of us that use distros that put includes
into /usr (Arch & Fedora), you can define PREFIX=/usr before making the binary.
Original comment by george.g...@gmail.com
on 5 Nov 2013 at 2:19
Attachments:
Original issue reported on code.google.com by
george.g...@gmail.com
on 27 Aug 2013 at 2:53