Re: Euphoria 4.0.5 installation Errors when installing from source on Linux Mint 13 (Maya) 64 bit
- Posted by mattlewis (admin) Oct 22, 2012
- 1848 views
Yes. 4.0.5 is 32bit only. I'll let Matt explain why he releases an amd64 package that only has 32bit binaries.
Basically, it allows people running a 64-bit OS to install euphoria binaries.
But why can't they just install the 32-bit package? Does the 64bit package include a multiarch setup (32bit glibc and so on) to allow the binaries to run on an otherwise "pure" 64bit setup?
If not, how is this any different from installing the 32bit package?
(I'm used to rpms, where you can normally - and easily - install both the i386 (designed for pure 32bit systems) and amd64 packages on a 64bit system without any trouble.)
It probably has to do with my lack of knowledge. When I tried to install an i386 package on my amd64 based system, dpkg complained to me. The amd64 package probably should have the multi-arch dependecy stuff in there. At the very least, I think the dependencies do call for the 32-bit libc, etc.
I think that the way a distro would do this would be to have your normal 64-bit packages, plus i386 packages where the package name gets a suffix of i386 to distinguish everything. Since these are just one-off packages, I think it's easier to just have each one be explicit. And they both just install to /usr/bin and Co. There's no way to have both packages installed on the same system (obviously not needed for 4.0.5, but maybe desireable in the future).
I picked up knowledge by trial and error and attempting to build the packages. I'm happy to take suggestions on improving the packages. You can find it all in the source tree: /packaging/debian to see where the packaging process is done.
Matt