Possible build bug: `sudo gmake install` doesn't work on SPARC/Solaris

Hey guys,

I successfully compiled HaProxy on SPARC/Solaris 11 with PCRE. The binary seems to execute ok, but I ran into a problem with sudo gmake install. I attached the full ouptut from the compiler here: https://pastebin.com/htEZTwBM but here’s the relevent part:

ehrz@sovms026:~/haproxy-1.7.5$ sudo gmake install
install -d "/usr/local/sbin"
install haproxy  "/usr/local/sbin"
find: cycle detected for /lib/crypto/32/
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/lwp/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/security/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/locale/en_US.UTF-8/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/secure/32/
find: cycle detected for /usr/lib/brand/solaris10/32/
find: cycle detected for /usr/lib/link_audit/32/
install: haproxy was not found anywhere!
gmake: *** [install-bin] Error 2
ehrz@sovms026:~/haproxy-1.7.5$ 

Anyway, thank you very much for an awesome product. I’m always finding new uses for haproxy!

And I’m afraid for this one too as well:

haproxy@formilux.org

Hi exabrial,

I am trying to install Haproxy on Solaris 11 and ran into the same error. Can you please send me through the steps on what worked for your Solaris installation?

Thanks
Kiruthika

Try installing GNU find (//solaris/file/gnu-findutils).

Hi,

After installing gnu-finutils as well facing the same error. Please help here.

install: haproxy was not found anywhere!
gmake: *** [install-bin] Error 2

Thanks
Kiruthika

Did you actually compile haproxy properly? Please provide the entire output, not only the last two lines. And provide the output of ./haproxy -vv from the haproxy directory.

Hi,

PFB the complete output of ./haproxy -vv

Copyright 2000-2017 Willy Tarreau willy@haproxy.org

Build options :
TARGET = solaris
CPU = generic
CC = gcc
CFLAGS = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
OPTIONS =

Default settings :
maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200

Encrypted password support via crypt(3): yes
Built without compression support (neither USE_ZLIB nor USE_SLZ are set)
Compression algorithms supported : identity(“identity”)
Built without OpenSSL support (USE_OPENSSL not set)
Built without PCRE support (using libc’s regex instead)
Built without Lua support

Available polling systems :
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 2 (2 usable), will use poll.

Available filters :
[SPOE] spoe
[TRACE] trace
[COMP] compression

Thanks
Kiruthika