Like I said you need GNU ld. I guess you already fixed this since you now have a problem with gmake install?
There are no separate installation files. You have to follow README by installing the proper toolchain. If something is missing from those dependencies, we will add them.
Also on an another note, when the target is set gmake TARGET=solaris doesn’t result any error.
If any additional option is mentioned then the below error is thrown.
gmake TARGET=solaris USE_PCRE=1
gcc -Iinclude -Iebtree -Wall -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -DTPROXY -DCONFIG_HAP_CRYPT -DNEED_CRYPT_H -DUSE_GETADDRINFO -DENABLE_POLL -DUSE_PCRE -I/usr/include -DCONFIG_HAPROXY_VERSION=“1.7.8” -DCONFIG_HAPROXY_DATE=“2017/07/07”
-DBUILD_TARGET=’“solaris”’
-DBUILD_ARCH=’""’
-DBUILD_CPU=’“generic”’
-DBUILD_CC=’“gcc”’
-DBUILD_CFLAGS=’"-O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"’
-DBUILD_OPTIONS=’“USE_PCRE=1”’
-c -o src/haproxy.o src/haproxy.c
In file included from include/types/proxy.h:33:0,
from include/proto/log.h:32,
from include/common/cfgparse.h:29,
from src/haproxy.c:65:
include/common/regex.h:31:18: fatal error: pcre.h: No such file or directory
compilation terminated.
gmake: *** [src/haproxy.o] Error 1
Of course when you include new libraries like PCRE, you need to install the development version of that library first. You can’t just add new options without having that software installed.
When you have the executable (./haproxy -vv returns version information), then you can go ahead and execute gmake install). If that still fails, copy the init.d file and executable manually to the destination (/usr/local/sbin by default for the executable).
We did install PCRE but both these options (USE_STATIC_PCRE=1 USE_PCRE=1) don’t work in the gmake command.
We proceeded with the installation. PFB the error we are getting. Please help.
install -d "/usr/local/sbin"
install haproxy "/usr/local/sbin"
haproxy installed as /etc/init.d/haproxy
install -d “/usr/local/share/man”/man1
install -m 644 doc/haproxy.1 “/usr/local/share/man”/man1
find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /usr/lib/security/32/
find: cycle detected for /usr/lib/brand/solaris10/32/
find: cycle detected for /usr/lib/rad/client/c/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/lwp/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/elfedit/32/
find: cycle detected for /usr/lib/fm/topo/plugins/32/
find: cycle detected for /usr/lib/pool/32/
find: cycle detected for /usr/lib/gss/32/
install: haproxy.1 was not found anywhere!
gmake: *** [install-man] Error 2