From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Thu Jan 07 2021 - 16:58:26 CST

you are not answering my question, but are just repeating what you already
described.

if you are running on a 64-bit instance, you should be compiling a 64-bit
executable and for those you don't need 32-bit development headers.
so, again, why are you even trying to build 32-bit binaries?

axel.

On Thu, Jan 7, 2021 at 5:54 PM Chris Taylor <christay_at_usc.edu> wrote:

> I get this error when I try to compile, and when I looked it up it seems
> to point to the lack of a package like glibc-devel.i686 – the 32bit
> development libs for this version of Linux. The information I’ve found
> online is that Amazon makes 32bit runtime libraries available in their
> version of Linux but not the development libraries. I think it would be
> nice to be able to run VMD on an AWS Amazon Linux2 VM, because I’ve been
> doing some work with their ParallelCluster and it would be cool to run an
> MPI version of VMD.
>
>
> /usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file
> or directory
>
> # include <gnu/stubs-32.h>
>
> ^~~~~~~~~~~~~~~~
>
> compilation terminated.
>
> make: *** [OpenGLDisplayDevice.o] Error 1
>
>
>
> *From:* Axel Kohlmeyer <akohlmey_at_gmail.com>
> *Sent:* Thursday, January 7, 2021 14:49
> *To:* Chris Taylor <christay_at_usc.edu>
> *Cc:* vmd-l_at_ks.uiuc.edu
> *Subject:* Re: vmd-l: RE: Install VMD from source on Amazon EC2 instance
>
>
>
> why are you trying to build 32-bit binaries in the first place since you
> appear to be running on a 64-bit host?
>
> you need to provide more information about what it is exactly that you
> were doing for people to be able to give meaningful advice.
>
>
>
> axel.
>
>
>
> On Thu, Jan 7, 2021 at 5:34 PM Chris Taylor <christay_at_usc.edu> wrote:
>
> Just wondering if anybody had any ideas for me on this? Maybe there’s a
> compiler directive or option I can give to work around it? Thanks
>
> Chris
>
>
>
> *From:* Chris Taylor
> *Sent:* Monday, January 4, 2021 16:54
> *To:* vmd-l_at_ks.uiuc.edu
> *Subject:* RE: Install VMD from source on Amazon EC2 instance
>
>
>
> I get this error when I try to ‘make’ vmd-1.9.4a51. This is on a Amazon
> Linux2 EC2 instance, and they seem to be saying I can’t download something
> like glibc6-devel.i686 or whatever it is to give me the 32-bit build
> dependencies- they don’t provide those RPMs. I want to try to build from
> source because I want to compile MPI in. Under the circumstances, what are
> my options? Thanks.
>
>
>
> $ make
>
> Compiling OpenGLDisplayDevice.C --> OpenGLDisplayDevice.o ...
>
> In file included from /usr/include/features.h:447:0,
>
> from
> /usr/include/c++/7/x86_64-redhat-linux/32/bits/os_defines.h:39,
>
> from
> /usr/include/c++/7/x86_64-redhat-linux/32/bits/c++config.h:533,
>
> from /usr/include/c++/7/cstdlib:41,
>
> from /usr/include/c++/7/stdlib.h:36,
>
> from OpenGLDisplayDevice.C:24:
>
> /usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file
> or directory
>
> # include <gnu/stubs-32.h>
>
> ^~~~~~~~~~~~~~~~
>
> compilation terminated.
>
> make: *** [OpenGLDisplayDevice.o] Error 1
>
>
>
>
> --
>
> Dr. Axel Kohlmeyer akohlmey_at_gmail.com https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!rNrhXdfEe53eSWGyb8m_mgcFLW46ic0kAbK_8_Cu5b0XRkaKfEX25DlCSSHEorh47w$
> <https://urldefense.com/v3/__http:/goo.gl/1wk0__;!!LIr3w8kk_Xxm!9UZPqf4wCjBs61AbQsteLIZacQY4OZUb-Uj3-jtof3T1JFF0LsmfhsRbyDpj3b0$>
> College of Science & Technology, Temple University, Philadelphia PA, USA
> International Centre for Theoretical Physics, Trieste. Italy.
>

-- 
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!rNrhXdfEe53eSWGyb8m_mgcFLW46ic0kAbK_8_Cu5b0XRkaKfEX25DlCSSHEorh47w$ 
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.