0

I am setting up the environment for a group project which requires the "make install" command to install ruby and gems. I had to install an older version of Ruby per the project instructions (Ruby 2.7.2) and had to the following first:

rbenv (brew install rbenv) v1.2.0
Docker v20.10.17
Docker Compose v1.29.2

When I run "make install", I get the following error:

BUILD FAILED (macOS 13.1 using ruby-build 20230208.1)

Inspect or clean up the working tree at /var/folders/7d/ry48j5zs6vl266q1vbfddsy00000gn/T/ruby-build.20230213133620.61947.eKpjSA
Results logged to /var/folders/7d/ry48j5zs6vl266q1vbfddsy00000gn/T/ruby-build.20230213133620.61947.log

Last 10 log lines:
*** Because of configuration changes, you MUST do the following before
*** building:

    make depend
Makefile:287: warning: undefined variable `CROSS_COMPILE'
making all in crypto...
/usr/bin/perl ../util/mkbuildinf.pl "clang -I. -I.. -I../include  -fPIC -fno-common -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM" "darwin64-x86_64-cc" >buildinf.h
make[2]: *** No rule to make target `x86_64cpuid.o', needed by `../libcrypto.a'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [build_crypto] Error 1
make: *** [install] Error 1`

I have tried several steps found online and still getting the exact same error. If this is not formatted correctly, my apologies! Please let me know and I will edit/update it. Thanks in advance

Tried updating Python to correct version needed for app Ran bundle and bundale install Installed SSL

Still can't get past the "make install" error. I tried googling the error, no luck. Should I be doing the setup inside the docker app instead of terminal?

Dave Newton
  • 158,873
  • 26
  • 254
  • 302
S.Y.
  • 11
  • 1

0 Answers0