From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: Compiling Emacs from source for hacking on it Date: Tue, 31 May 2022 22:22:31 +0600 Message-ID: <87r149smd4.fsf@disroot.org> References: <875yllucqd.fsf@disroot.org> <83ilplj1hj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 31 18:39:44 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 1nw4uE-0009cN-6P for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 18:39:42 +0200 Original-Received: from localhost ([::1]:34264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw4uC-0000yR-Qe for ged-emacs-devel@m.gmane-mx.org; Tue, 31 May 2022 12:39:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw4gL-00006C-O9 for emacs-devel@gnu.org; Tue, 31 May 2022 12:25:23 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:35938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw4gJ-0004u6-AJ; Tue, 31 May 2022 12:25:21 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1575B435E2; Tue, 31 May 2022 18:25:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 06V7v00NWT3X; Tue, 31 May 2022 18:25:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1654014209; bh=BW9BV3wKMOc9M6FpF2FqBFPBG64OLcQECMsQE+Nai6c=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=YQWOLpFW6w6rAIC8QrLuML+m81p+VoTo1Za82eTnyN14QyLfOMlmGqOeC5s7O858W KCj7fe1hdruXeTvxuyyWcxwnp+bS8YpJx0uzj0CtzjodwGFCBFWSU3WzXTIvTMQ5ws d++SGjViz898liCrgcesUImuStRGab66kwjKv2JTwuzIdeCAc03dKjTgd2evFbJzTf RLvFEsjzWgqo9fvlcZzuVkrfNanSQpfD8JlyBOJ/m3wEu/y2MHkKTosPHkLfNpYs+9 90MqQd2ymwnEobLDcT+2RBDxRdTQJ5yWG/hW/L6Ywy7IRWWKuPwg8bAWhOBrpyzcrf iJdvniZnrs4tA== In-Reply-To: <83ilplj1hj.fsf@gnu.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org 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, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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:290420 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Akib Azmain Turja >> Date: Tue, 31 May 2022 18:07:38 +0600 >>=20 >> I have recently (shallow) cloned Emacs source code. I have compiled it >> by doing the following: >>=20 >> --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--- >>=20 >> 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. Yes, adding -Q works. But why it can't read my init file even when the whole file is commented? Or is it expected? And I don't think a shallow clone is causing any problem, as the files should be identical. =2D-=20 Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmKWQMcACgkQVTX89U2I YWuhPRAAk65hmIqAdx2ijd8WxP0R8H1mPfgiCR2lHaYA7zORglaUifQsAoJXmC6K Lv19bpbEU85l7ZveUsgXCUfzcPaZidY/W8O/5ib+8/UFWgGXZU5U7fzTQDMV5fCT hZOV0Nao/f/JzYKjNXe1uomf9F33xXfZMIweN4Pxx1nSYV2Nm3IylVrh+AQkSMw1 TjTN1LyLX9/GlGQY2pt0EEp2eqfuMrIM6FT04Dat3gx2t2F964rkKUIH3Am8mnqs 9JBiFRh0OMByw2Y7R7XI7oQojWB73UcMx40cjfL+DOzl8ouwpn4swrc8tDTuSkX1 rP1canxecoKfhXpea/T4JjE14Ik8p4R697CNCo3L/8oB572ndkHXbP0ZTYSutyl9 o9fVe+1WbdJQu+Wk7o1wr91Noq03VL2OGkMtUajbsmy7uhRnrrbDiAf8D3hrHadT OebboyHrprbwAC85Qe204UQhXzqc27eqWUwl1r5HpWTeUuShT20soNoR7aeWubhW v5aMkoBTnFPOSC2EPcvLQWLvrY4NbGc8mwdMzutoHCHiM5u05Zdqjg2PCnGcKiiX oMI3dr7q7YGlqyjR7ZmeAe9i5NL58qWX4vWF6OJ39q1G0XWuOyZsD4iBQbId5Wy6 V3r7KqAgpjk90707VpxiG2K05ZZNVZK4J001OdKwPlb+E5/nOKI= =2XH7 -----END PGP SIGNATURE----- --=-=-=--