Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2020 13:44:37 +0200 (CEST)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        Christoph Kukulies <kuku@kukulies.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel build - makecleandepend unknown
Message-ID:  <alpine.BSF.2.22.395.2005021336580.91211@enterprise.ximalas.info>
In-Reply-To: <DBD2A543-C0A8-4C1A-AFF0-745AB7BD677D@kukulies.org>
References:  <DBD2A543-C0A8-4C1A-AFF0-745AB7BD677D@kukulies.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 2 May 2020 13:31+0200, Christoph Kukulies wrote:

> While chasing my sym0 problem I thought of building a GENERIC kernel with ncr enabled although it is said that sym comprised newer and older chipsets. Anyway, I’m getting this:
> 
> # config GENERIC_NCR
> Kernel build directory is ../compile/GENERIC_NCR

At this point you shuld be in /usr/src/sys/amd64/conf.
cd ../compile/GENERIC_NCR as instructed, and you should now be in 
/usr/src/sys/amd64/compile/GENERIC_NCR.

> Don't forget to do ``make cleandepend && make depend''
> # cd ..
> # cd compile
> # make cleandepend && make depend
> make: don't know how to make cleandepend. Stop
> 
> make: stopped in /usr/src/sys/amd64/compile

You're building the kernel the old-fashioned way:

cd /usr/src/sys/amd64/compile/GENERIC_NCR
make cleandepend && make depend && make

I like to set the KERNCONF variable in /etc/src.conf and/or on the 
commandline, and do the build from /usr/src:

make -C /usr/src buildkernel

or:

make -C /usr/src KERNCONF=ZFS buildkernel

If the kernel is compiled the new and preferred way, you install it by 
running:

make -C /usr/src installkernel

or:

make -C /usr/src KERNCONF=ZFS installkernel

DESTDIR may be set on the commandline to point to the desired rootfs.

-- 
Trond.
From owner-freebsd-questions@freebsd.org  Sat May  2 13:29:13 2020
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id D096F2CFC5E
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Sat,  2 May 2020 13:29:13 +0000 (UTC)
 (envelope-from freebsd@gregv.net)
Received: from aurora.gregv.net (aurora.gregv.net [192.111.144.138])
 by mx1.freebsd.org (Postfix) with ESMTP id 49Dqhm5MTGz4C5W
 for <freebsd-questions@freebsd.org>; Sat,  2 May 2020 13:29:12 +0000 (UTC)
 (envelope-from freebsd@gregv.net)
Received: by aurora.gregv.net (Postfix, from userid 1001)
 id E5ABC721; Sat,  2 May 2020 09:29:05 -0400 (EDT)
Date: Sat, 2 May 2020 09:29:05 -0400
From: Greg Veldman <freebsd@gregv.net>
To: Christoph Kukulies <kuku@kukulies.org>
Cc: freebsd-questions@freebsd.org
Subject: Re: X11Forwarding yes ssh -X vs. ssh -Y
Message-ID: <20200502132905.GG1068@aurora.gregv.net>
References: <B25C1A68-AF15-48A6-9CA8-4A2933767516@kukulies.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <B25C1A68-AF15-48A6-9CA8-4A2933767516@kukulies.org>
User-Agent: Mutt/1.12.1 (2019-06-15)
X-Rspamd-Queue-Id: 49Dqhm5MTGz4C5W
X-Spamd-Bar: +++
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of freebsd@gregv.net has no SPF policy when
 checking 192.111.144.138) smtp.mailfrom=freebsd@gregv.net
X-Spamd-Result: default: False [3.70 / 15.00]; ARC_NA(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gregv.net];
 AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.73)[0.730,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2];
 NEURAL_SPAM_LONG(0.97)[0.971,0]; R_SPF_NA(0.00)[];
 RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:31863, ipnet:192.111.144.0/20, country:US];
 IP_SCORE(1.09)[ipnet: 192.111.144.0/20(1.91), asn: 31863(3.61),
 country: US(-0.05)]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 02 May 2020 13:29:13 -0000

On Sat, May 02, 2020 at 09:33:45AM +0200, Christoph Kukulies wrote:
> When logging into my FreeBSD12.1  system using 
> 
> ssh -Y user@mybox
> 
> and do echo $DISPLAY I get localhost:10.0 and can do X11Forwarding (which I enable in sshd_config)
> Doing
> 
> 
> ssh -X user@mybox
> 
> doesn???t work. DISPLAY variable is not being set.
> 
> Any clues? 

The -X option requires support of the X11 SECURITY extension
in your server.  You can check if that's enabled with:

$ xdpyinfo -queryExtensions

-- 
Greg Veldman
freebsd@gregv.net



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.22.395.2005021336580.91211>