Freebsd12.0 compile error

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Locked
forkup
Posts: 3
Joined: Mon May 27, 2019 3:36 am

Freebsd12.0 compile error

Post by forkup »

I'm getting an error compiling unrealircd4.2.3 on a fresh copy of freebsd 12.0. The error occurs when it attempts to setup argon2, here is what happens at that point:

checking for ARGON2... no
extracting Argon2 library
compiling Argon2 library
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 35: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 37: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 39: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 48: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 49: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 51: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 52: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 55: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 61: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 66: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 67: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 68: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 68: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 69: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 69: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 70: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 71: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 72: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 72: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 73: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 73: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 74: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 74: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 75: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 76: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 77: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 77: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 78: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 78: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 79: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 80: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 81: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 81: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 82: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 82: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 83: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 84: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 85: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 85: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 86: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 86: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 87: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 88: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 89: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 89: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 90: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 90: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 91: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 91: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 92: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 92: warning: duplicate script for target "(,)" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "(,)" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 93: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 95: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 96: Missing dependency operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 97: warning: duplicate script for target "ifeq" ignored
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 65: warning: using previous script for "ifeq" defined here
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 98: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 99: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 104: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 106: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 178: Need an operator
make: "/usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209/Makefile" line 180: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/home/hub/unrealircd-4.2.3/extras/argon2-20181209
hub@NNet:~/unrealircd-4.2.3 %

First time poster altho I have used unrealircd for years, please excuse me if I have broken forum etiquette and please let me know if more info is needed.

Thanks
CrazyCat
Posts: 214
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Freebsd12.0 compile error

Post by CrazyCat »

Peharps you may try with gmake rather than make.
I can't help you a lot, I don't use freebsd, but I had this kind of trouble with debian and gmake helped me.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Freebsd12.0 compile error

Post by Syzop »

Indeed, I was able to reproduce your issue and a 'pkg install gmake' fixed it. After that I could run ./Config without problems.

I will see if we can make a check for this and output a clear error with information about what the user should do.
forkup
Posts: 3
Joined: Mon May 27, 2019 3:36 am

Re: Freebsd12.0 compile error

Post by forkup »

Thanks guys.
forkup
Posts: 3
Joined: Mon May 27, 2019 3:36 am

Re: Freebsd12.0 compile error

Post by forkup »

I just wanted to report the same error on fbsd 11.2 fresh install but installing gmake allowed compiling to proceed without an argon2 error.
Locked