Error on Make - RHEL 7.7

I’m attempting to follow the instructions at https://github.com/openpbs/openpbs/blob/master/INSTALL

When I get to the make, I’m getting the following error:
mv -f .deps/libpbs_sched_a-shared_python_utils.Tpo .deps/libpbs_sched_a-shared_python_utils.Po
source=‘buckets.cpp’ object=‘libpbs_sched_a-buckets.o’ libtool=no
DEPDIR=.deps depmode=none /bin/sh …/…/buildutils/depcomp
g++ -DHAVE_CONFIG_H -I. -I…/…/src/include -I…/…/src/include -pthread -I/usr/include/python3.6m -I/usr/include/python3.6m --std=c++11 -c -o libpbs_sched_a-buckets.o test -f 'buckets.cpp' || echo './'buckets.cpp
…/…/buildutils/depcomp: line 772: exec: g++: not found
make[2]: *** [libpbs_sched_a-buckets.o] Error 127
make[2]: Leaving directory /usr/openpbs/openpbs-master/src/scheduler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/openpbs/openpbs-master/src’
make: *** [all-recursive] Error 1

I saw somewhere else the issue might be related to my umask or running make on a nfs share, but I’m running locally and my umask is 0022. What else can I check?

the scheduler was recently updated to be compiled with g++ instead of gcc. Unfortunately, it seems like we forgot to update the INSTALL file to mention g++ as a dependency. But that’s what you’ll need to do, install g++ (yum install gcc-c++ on RHEL 7)

1 Like

That was it! Thanks!

Thanks for the report @Wilber, I’ve filed a ticket here: https://github.com/openpbs/openpbs/issues/2098