Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 08:27:01 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        freebsd-ports@freebsd.org
Subject:   Re: Compiling sguil-server on Release 9.2 i386
Message-ID:  <52622635.8010202@marino.st>
In-Reply-To: <5261EF86.4090202@charter.net>
References:  <1deb2a91.7878a.141cbe17be9.Webtop.45@charter.net> <5261EF86.4090202@charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/19/2013 04:33, Stan Gammons wrote:
> On 18/10/13 09:04, s_gammons@charter.net 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
dialog.

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.

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52622635.8010202>