On 26 November 2013 06:00, Philipp Janda <siffie...@gmx.net> wrote:
> Am 26.11.2013 00:51 schröbte Reuben Thomas:
> > Hi,
>
> On multiarch systems the configure script and makefile set up a
> `site_config.lua` file that overrides `external_deps_subdirs` to include
> the multiarch library directory. On my system that is:
>
> LUAROCKS_EXTERNAL_DEPS_SUBDIRS={ bin="bin", lib={ "lib",
> [[lib/x86_64-linux-gnu]] }, include="include" }
>
> So the search paths for libraries are `/usr/lib`,
> `/usr/lib/x86_64-linux-gnu`, `/usr/local/lib`, and
> `/usr/local/lib/x86_64-linux-gnu`.
>
>
Thanks very much for that explanation. You could pretty much just
copy-and-paste that into the Wiki, it makes things much clearer.
> Do you mount your home directory on machines with different
> architectures?
I mirror it across machines with different architectures, so basically, yes.
> I never thought of that use-case ...
>
I'm only doing in my home directory what machines do at the system level,
so it shouldn't be hard to cope with!
> Btw., what do you use to detect the host triplet? Anything other than
> `gcc -print-multiarch` or `dpkg-architecture -qDEB_HOST_MULTIARCH`?
>
I use the latter.
> ... and this isn't handled at all at the moment. So you probably better
> stick to your current solution for now.
>
That's also welcome advice, saving me from trying and failing to work out
how to do what I want with the new stuff in 2.1.1.
> Nah, the multiarch support was more about finding external dependencies
> in the multiarch library directories than about storing extension
> modules in arch-specific locations.
>
I understand now, thanks again for the explanation. But does it make sense
that rocks installs (especially as they might be system-wide, not
user-specific like mine) should be able to benefit from the same multiarch
support as for finding libs?
--
http://rrt.sc3d.org
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers