I'm trying to build Apache httpd RPM from the source tarball as mentioned in https://httpd.apache.org/docs/2.4/install.html
However, it always fails with the error "libtool: error: require no space between '-L' and '-R'"
Complete Error :
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o htpasswd htpasswd.lo passwd_common.lo -L -R -laprutil-1 -ldb-5.3 -lexpat
/usr/lib64/libapr-1.la -lpthread -lcrypt
libtool: error: require no space between '-L' and '-R'
make[2]: *** [Makefile:48: htpasswd] Error 1
make[2]: Leaving directory '/httpd-2.4.58/support'
make[1]: *** [/httpd-2.4.58/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/httpd-2.4.58/support'
make: *** [/httpd-2.4.58/build/rules.mk:75: all-recursive] Error 1
Tried Building older version and get the same error and did not find anything when searching for similar errors.
Any help on what this could be?
Thanks