Compiling sguil-server on Release 9.2 i386

John Marino at
Sat Oct 19 06:27:34 UTC 2013

On 10/19/2013 04:33, Stan Gammons wrote:
> On 18/10/13 09:04, s_gammons at wrote:
>> I was trying to install sguil-server on Release 9.2 and received the
>> following error.  I get the same unassociated shell command when I
>> goto /usr/src/security/sguil-server and try make install clean.  Any
>> ideas what the problem is?
> It appears as though the problem is in line 45 of the makefile in
> /usr/ports/security/sguil-server.  The original line was .if
> ${PORT_OPTIONS:MMYSQL}  changing it to .if ${PORT_OPTIONS:MYSQL} seems
> to have fixed the problem. Although I haven't started over from scratch
> then changed the Makefile to confirm.

That is a completely incorrectly thing to do.  "MMYSQL" is correct,
"MYSQL" is not.  the first "M" means "Match".  So you ready the line as,
"If there is any option in the option list that matches "MYSQL", do the
following.  All you did was change it to look for "YSQL" which in
effect, is the same as not selecting the MYSQL option from the options

Your error is line 46 where it tries to run, "cd
${PORTSDIR}/databases/mysqltcl && ${MAKE} -V PORTVERSION".

While running "make" on another port is horrible, it's not the actually
problem either.

First, make sure ports tree is up to date.
Then run, "cd /usr/ports/databases/mysqltcl && make-V PORTVERSION"
And see if you have an error message.

If not, try sguil-server again after restoring it.


More information about the freebsd-ports mailing list