From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexis Purslane via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Trying to build scratch/igc: cannot find MPS library Date: Sun, 29 Dec 2024 15:39:54 +0000 Message-ID: <87bjwujy6k.fsf@pm.me> Reply-To: Alexis Purslane Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------9fa7be88e9dc432f0842f7e288da658eae636c6caf09e585aabe1057e6a04dd5"; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20351"; 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 Sun Dec 29 16:40:59 2024 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 1tRvPV-00056V-O6 for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Dec 2024 16:40:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRvOp-000626-Q6; Sun, 29 Dec 2024 10:40:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRvOk-00061R-IS for emacs-devel@gnu.org; Sun, 29 Dec 2024 10:40:10 -0500 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRvOi-0003Kw-9g for emacs-devel@gnu.org; Sun, 29 Dec 2024 10:40:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1735486798; x=1735745998; bh=YMYuCRSxUR8yi6c8AahYf4GsHBjkPMo51uEcbmhogvs=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=EOchwyQh6pdIKQfmciMw7mWkX2yuBA3pkL6M30RmGIiQ99LGm3J4/Ev3dMy6x7hEs 9xqWiQnVgTmjd3N0L7iVd+cg74G8D9vSg9VVvURbZ6mao6WEBD0VeTseew0EcB3j4X 0uPJkbztzJ/TM6kiip4en6RDcKSARJ0HgmoCcLS0y+kxf3na3YMsNfhU6vQj1LWgnW qMPihTC+GAhLwRyhtECXzNJ2aUvUngY/Ja1v/DM3kj4SYrLRbGcjSLu2vHEyMJlvAU q/fvzpzGl1+YpJTa0ob2l28C8/PI1phNv3Ws+c015o62UuvkbsMKv5XrHmotZw+1gf jnX2mpEAMbtaA== Feedback-ID: 55030218:user:proton X-Pm-Message-ID: 3ebab253f04b46cc104158f88bfd9cdbf8af24ba Received-SPF: pass client-ip=185.70.43.16; envelope-from=alexispurslane@pm.me; helo=mail-4316.protonmail.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327350 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------9fa7be88e9dc432f0842f7e288da658eae636c6caf09e585aabe1057e6a04dd5 Content-Type: multipart/mixed; boundary=e89bd32a3b5690afaba3778a33b5a484c6614499a309c31399766d39d303 Mime-Version: 1.0 Date: Sun, 29 Dec 2024 10:39:31 -0500 Message-Id: <87bjwujy6k.fsf@pm.me> To: emacs-devel@gnu.org Subject: Trying to build scratch/igc: cannot find MPS library From: Alexis Purslane --e89bd32a3b5690afaba3778a33b5a484c6614499a309c31399766d39d303 Content-Type: text/plain; charset=UTF-8 Hi all, I'm trying to build the scratch/igc branch of Emacs in order to see if I can help bug hunt, and I'm running into a problem. I apologize if this turns out to be a dumb mistake, I don't often build things from source. I'm following README-IGC's instructions to build the debug version of MPS from source to the letter, except I've decided to place mps-artifacts in the mps directory, and the mps directory inside my emacs source directory, in order to avoid cluttering up my home directory. So the commands I'm running are: $ # starting in the emacs directory, /home/alexispurslane/Development/scratch/emacs/ $ git clone https://github.com/Ravenbrook/mps.git $ cd mps/code $ gcc -O0 -g -DCONFIG_VAR_COOL -c mps.c -o mps-debug.o $ ar rvs libmps-debug.a mps-debug.o $ cp libmps-debug.a ../mps-artifacts $ cd ../.. $ ./configure CPPFLAGS=-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts LDFLAGS=-I/home/alexispurslane/Development/scratch/emacs/mps/mps-artifacts --with-cairo --with-dbus --with-gif --with-gpm=no --with-harfbuzz --with-jpeg --with-modules --with-native-compilation=aot --with-png --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-x-toolkit=gtk3 --with-xinput2 --with-xpm --with-mps=debug --enable-checking=igc_debug When I try to do this, configure reports this error: checking for mps.h... yes checking for mps_arena_create in -lmps... no configure: error: The MPS library libmps is missing This seems odd to me not only because I'm providing it with a directory that has what it's looking for, but that it appears the CPPFLAGS(?) are working, since it can find mps.h, but not the LDFLAGS. P.S. There's a type in the README-IGC debug build instructions: it says `mpc.c' instead of `mps.c' in the GCC command. --e89bd32a3b5690afaba3778a33b5a484c6614499a309c31399766d39d303 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - alexispurslane@pm.me - 0x41E61568.asc"; name="publickey - alexispurslane@pm.me - 0x41E61568.asc" Content-Type: application/pgp-keys; filename="publickey - alexispurslane@pm.me - 0x41E61568.asc"; name="publickey - alexispurslane@pm.me - 0x41E61568.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdvcGVuUEdQIDIu Ny40CkNvbW1lbnQ6IGh0dHBzOi8vZ29wZW5wZ3Aub3JnCgp4ak1FWXlPNktCWUpLd1lCQkFIYVJ3 OEJBUWRBaW0wYXBzbTJaTmd1N1lYU3VDLzNUVjUvenhNZE1tWDNrOFRmCllSUVlRaXZOSzJGc1pY aHBjM0IxY25Oc1lXNWxRSEJ0TG0xbElEeGhiR1Y0YVhOd2RYSnpiR0Z1WlVCd2JTNXQKWlQ3Q2pB UVFGZ29BSFFVQ1l5TzZLQVFMQ1FjSUF4VUlDZ1FXQUFJQkFoa0JBaHNEQWg0QkFDRUpFUFBLVmxF TAo1OThSRmlFRVFlWVZhTDAydVRUczdkdzI4OHBXVVF2bjN4RlJ2Z0QrTUUzdEhXOFh0am01d2p5 T3NXNDU2MjFICkpGUXdGZnVnbGZZczlkVU03YTRBLzNFeEppdFVMTk1mdy9DRlVIbVAyR21TSnVu UTVwQ01jOTIzUVh3K09mMEwKempnRVl5TzZLQklLS3dZQkJBR1hWUUVGQVFFSFFBVHJrMXFNQ0FV VkMwVEF4UC9XcHpCNjgwbkNWY2UrUTY5UwpPUWR6Uk9VY0F3RUlCOEo0QkJnV0NBQUpCUUpqSTdv b0Foc01BQ0VKRVBQS1ZsRUw1OThSRmlFRVFlWVZhTDAyCnVUVHM3ZHcyODhwV1VRdm4zeEc5VkFF QTlDV1Q5bHVuV1ZkbkxaKzRGWnJJRkplb0RQUDNMT0l3T2hEVWdjVm0KZU8wQS9qdHVjYjRkeERz VTFiRjNkVjlHbGszaTVIMllyci9FMkFhWUxtYU5VUG9OCj1LNFFpCi0tLS0tRU5EIFBHUCBQVUJM SUMgS0VZIEJMT0NLLS0tLS0= --e89bd32a3b5690afaba3778a33b5a484c6614499a309c31399766d39d303-- --------9fa7be88e9dc432f0842f7e288da658eae636c6caf09e585aabe1057e6a04dd5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmdxbUkJEPPKVlEL598RFiEEQeYVaL02uTTs7dw288pWUQvn 3xEAANbgAQDgsDKcBhJbM9A7EH4amDV/WQdcx4j4pmWWg5OXXivgKAEA3rc1 c89EYX8/q9BM3eUo0BhdmMgk67EuL+/+hWaR0ww= =cOoR -----END PGP SIGNATURE----- --------9fa7be88e9dc432f0842f7e288da658eae636c6caf09e585aabe1057e6a04dd5--