From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Compiling Emacs from source for hacking on it Date: Tue, 31 May 2022 16:06:00 +0300 Message-ID: <83ilplj1hj.fsf@gnu.org> References: <875yllucqd.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30040"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Akib Azmain Turja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 15:08:01 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 1nw1bN-0007Xf-2j for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 15:08:01 +0200 Original-Received: from localhost ([::1]:45352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw1bL-0006gC-OM for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 09:07:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw1ZZ-0004hF-Rt for emacs-devel@gnu.org; Tue, 31 May 2022 09:06:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw1ZW-0006L9-Hn; Tue, 31 May 2022 09:06:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=j0BPv486Zn9b5B3PYExHSvd1QkTTBL6b/TvcgTS1G50=; b=e7CZI/IS2Ygl FYIO7kohmEyqHfwPPdZOzuu/OfTwZSwrpPVnwIej0WdCdiWK2j7voreVfYay9zp9pb2AVuCEcvQnn 8qjetA6+XdbhhFPB+EtetE8xzEpUqgV7jjazBY+vip3tSSKe/p99Zt8+/dxRYeJeD4jrhXG0szLvv 7PlfbuObHXqMtO04tIEWeAXkrpHK3aNcIfRyTbhmRbZ5/MTRGwH0WAspgIuNeVP+doXsuOQZfYHV9 I6qtEZkT7NWesqJq/1VNM6REpt5Pr+8BYAKuqQW7lMu78izkD3yvSLNNe4MUwMi+uoFnSr1mjjkbC gOkF5Xw37hfgU7C6Pi3rZg==; Original-Received: from [87.69.77.57] (port=4308 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw1ZL-0008So-Jg; Tue, 31 May 2022 09:06:02 -0400 In-Reply-To: <875yllucqd.fsf@disroot.org> (message from Akib Azmain Turja on Tue, 31 May 2022 18:07:38 +0600) 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:290400 Archived-At: > From: Akib Azmain Turja > Date: Tue, 31 May 2022 18:07:38 +0600 > > I have recently (shallow) cloned Emacs source code. I have compiled it > by doing the following: > > --8<---------------cut here---------------start------------->8--- > $ mkdir build > $ cd build > $ ../configure --without-x --without-gnutls --without-modules \ > --without-sqlite3 --without-pop --without-mailutils --without-sound > $ make > --8<---------------cut here---------------end--------------->8--- > > 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. With the current master branch, I cannot reproduce this. But: . I cloned the repository normally (i.e. not a "shallow" clone) . I built Emacs in the source tree, not in a separate build/ sub-directory; . I invoked Emacs as ./src/emacs -Q If using "-Q" doesn't help, perhaps this is some problem with building in a separate directory, in which case you could rebuild in-place and try again.