From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Compiling Emacs from source for hacking on it Date: Tue, 31 May 2022 15:35:56 +0200 Message-ID: References: <875yllucqd.fsf@disroot.org> <874k15an1p.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YTDHVXQXgGRrKFam" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21637"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 15:38:02 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw24P-0005NI-T3 for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 15:38:01 +0200 Original-Received: from localhost ([::1]:42968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw24O-0001Yv-4d for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 09:38:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw22Z-0000dn-Cg for emacs-devel@gnu.org; Tue, 31 May 2022 09:36:09 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:56894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw22T-0003nR-3B for emacs-devel@gnu.org; Tue, 31 May 2022 09:36:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vdoAu+ey+rbWosIo3h1m0TV5HdrA4H3D/7ZsxzpdVQ8=; b=O6gLBCisbTi62qkV6EnH9/hasK ARxqj1a7BdxuzBIT3BD2zflORResttljGeACzibzZzdZerrfBl+kiJQP5IdkJjh/BZf+GVRkzkcXO AHQXCxYKPkPQ0LDwNwml3+Bcz/7VhzMIK65YAZMDGDoLLtnyZPSJB4Ze8CLJ7Cb6r4jk1YMLIcF4U pG5EmzcHVXhIE3vCMtAVaj33A7dcXEuuU64JE07uEpnI4WIPAoKFH52luMoCyi2gV8z9+/P5CJT4+ bvhTVIraFp3Ux6ugfuVLJKwXVdpBc7D1s88XZnP6AgBVp2On2F1PXGxQ6U7/H8zW5NnsRINq+N4rQ 9pG4oTWQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1nw22O-0005e1-Sz for emacs-devel@gnu.org; Tue, 31 May 2022 15:35:56 +0200 Content-Disposition: inline In-Reply-To: <874k15an1p.fsf@yahoo.com> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290403 Archived-At: --YTDHVXQXgGRrKFam Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2022 at 08:45:06PM +0800, Po Lu wrote: > Akib Azmain Turja writes: >=20 > > I have recently (shallow) cloned Emacs source code. I have compiled it > > by doing the following: > > > > $ mkdir build > > $ cd build > > $ ../configure --without-x --without-gnutls --without-modules \ > > --without-sqlite3 --without-pop --without-mailutils --without-sound > > $ make > > > > If I understand correctly, running ./src/emacs should start the newly > > compiled Emacs. But it says that with-memoizaton function definition is > > void, even with an empty init file (actually I commented out the whole > > file). ./src/temacs works, but says function-documention is undefined > > at runtime. > > > > Am I doing something wrong? >=20 > I think out of tree builds never really worked in Emacs. Hm. FWIW I build regularly out-of-tree. I make sure to radically delete the build dir, and do a "make distclean" (possibly not needed). The only issues I had were, from time to time, older .elc files (thus that "double cleaning" above: that's how voodoo rituals grow ;-) Cheers --=20 t --YTDHVXQXgGRrKFam Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYpYZvAAKCRAFyCz1etHa RmJ6AJ96fACMNXREoDRIYT/ZmqP0IXKURgCeP+NEa2auy4QWWQYRCo9URmiXpAA= =fJe7 -----END PGP SIGNATURE----- --YTDHVXQXgGRrKFam--