From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "pelzflorian (Florian Pelz)" Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: Website translations with Haunt Date: Tue, 12 Dec 2017 08:51:46 +0100 Message-ID: <20171212075146.dvu57vwixlzay3su@floriannotebook> References: <20171209180619.GA10254@floriannotebook.localdomain> <337C4CEB-E242-4D3B-B110-E19B485DA0AB@gmail.com> <20171210192143.GA1796@floriannotebook.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g6e7qthxoepq7oin" X-Trace: blaine.gmane.org 1513065099 8892 195.159.176.226 (12 Dec 2017 07:51:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 07:51:39 +0000 (UTC) User-Agent: NeoMutt/20171027 Cc: Guile User Mailing List , guile-devel To: Matt Wette Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 12 08:51:35 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOfLi-00022C-1f for guile-devel@m.gmane.org; Tue, 12 Dec 2017 08:51:34 +0100 Original-Received: from localhost ([::1]:57057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOfLp-0005yB-Cq for guile-devel@m.gmane.org; Tue, 12 Dec 2017 02:51:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOfLk-0005xu-SX for guile-devel@gnu.org; Tue, 12 Dec 2017 02:51:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOfLh-0002BE-Qk for guile-devel@gnu.org; Tue, 12 Dec 2017 02:51:36 -0500 Original-Received: from pelzflorian.de ([5.45.111.108]:53794 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOfLh-00027r-Bz; Tue, 12 Dec 2017 02:51:33 -0500 Original-Received: from floriannotebook (ip5b431f77.dynamic.kabel-deutschland.de [91.67.31.119]) by mail.pelzflorian.de (Postfix) with ESMTPSA id DCEE936001B; Tue, 12 Dec 2017 08:51:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1513065091; bh=0+ZyxWndIGW4X2/wfI1UcDOaeHY4iZesT2fwJTLoyrY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fM0QFRha+AJvkKBtMKFBc4Y/r9eIzAVEz5j1u4OhnQsMAf9zppfRlfqiWP5qTipqu FYOzK9wCXUWx7o1gXzAzDVlfdlkROCxdWyD7PUFLGcCcP+5NlmijYBalmpnFYEVmHH /mLQV93vyoetOUisi8YQSerINZ7ao92wrz7ZsJMg= Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19408 gmane.lisp.guile.user:14337 Archived-At: --g6e7qthxoepq7oin Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 10, 2017 at 02:35:16PM -0800, Matt Wette wrote: > > By the way, what I forgot to mention is that I needed to replace > >=20 > > #include > >=20 > > in the gettext-po.h header file by > >=20 > > typedef long size_t; > >=20 > > otherwise =E2=80=9Cguild compile-ffi gettext-po.ffi=E2=80=9D would fail= with the error > > message > >=20 > > ffi-help: WARNING: the FFI helper is experimental > > (unknown):1: not found: "gnu/stubs-32.h" > > compile-ffi: parse failed > >=20 >=20 >=20 > The FH compiler executed gcc to find all the hidden include directories. = If you don't have gcc > in your path (you didn't seem to have guile in your path) then it won't f= ind those directories. > You can add `-I path-to-gcc-inc-dirs' arg to your path or make make sure = "gcc" is in your path. >=20 > Matt >=20 Thank you for the tip with the -I option. Hmm I=E2=80=99ve since destroyed the Parabola operating system and switched to GuixSD. It still happens when I run $ guild compile-ffi -I /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettext-= 0.19.8.1/include -I /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/= include gettext-po.ffi ffi-help: WARNING: the FFI helper is experimental (unknown):1: not found: "gnu/stubs-32.h" compile-ffi: parse failed A gnu/stubs-64.h exists though. Apparently I need to install the 32-bit version of glibc in order for it to work. I tried $ guix build -s i686-linux glibc [=E2=80=A6] @ build-succeeded /gnu/store/g7fj77yfv1m4xilfqxvzggm5kd20i10z-glibc-2.25.dr= v - /gnu/store/km57wad98gyghrbj8pwydcscsh9y4n4d-glibc-2.25-debug /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.25 Now $ guild compile-ffi -I /gnu/store/0jjgg2bk6qmx87sdksm7bd2b3z10yd6j-gettext-= 0.19.8.1/include -I /gnu/store/n0nvyn4lbcawfdbmd0blydrsp5wll75n-glibc-2.25/= include gettext-po.ffi ffi-help: WARNING: the FFI helper is experimental wrote `gettext-po.scm' worked with the original header file. ( Removing /usr/bin/gcc leads to a different error message: $ guild compile-ffi gettext-po.scm /bin/sh: gcc: command not found [=E2=80=A6] ) Regards, Florian --g6e7qthxoepq7oin Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwRjGsqAMqXB4uw3y3T6EbElHBVsFAlovinUACgkQ3T6EbElH BVveMhAAh/Z3DOHCmmJlEyBpjl8gGlLrj1938QoLbP+kAGxKTv/DIyy8AZ9CLL1Y nz8pzNBhATI43YxhEPScx86hk8QXLdxJ+iwxAGgx8DVqNI44up/1tVbUgP8t0TLi u16/9HirnbAjLszLA1OlU/q8Jgx2/mr0Ct5gJHBNMyjrbxV4mi5+xwMKK4i8QfVS JwhhyW8Mw1CLzxN85WNmtJSSXssWJCykALJ+DtYlomd9ZUpp6uD0K3z09fP9+8uB WzvCkUeSi5xvp3LnO0VTvIhvbdvY9mID2Zx7I/jeSyve8fsVk4yHy4h5JH6l9KIe P3LeX/y9OsSrvtoaNK4TtffuDanz+J5ywFBHi8XKoFMvBoWUZ/lRNmCjF+0kVuXY VBo+zTW+LMOUqTCbwaOZnvFLKNDTdofWF7ZphPnphhhxavGSBdr608biDTg5L4Kw z2JgUVqFY7AkcIlK50zcMeJi6gr1AZToePPqN68Xun9//PmJs+QF+v/acdHEwojR +T+qS5J6/SuY2xu7lzXb8KpixCqLpNFgWB85KG4dxSpbUdUO+VhXpZLCkfMHiBl0 sFMZqfKzt7hGVCAJyX9A0mF7/OabHpYOvkKUuR6++M5kBIo4ZJ25z45w0IeMy1FG kzk3JHja+3ewJOL3K6ISldIMp+0imC7GdnEXFaiLUQSnSNS4Me4= =uglj -----END PGP SIGNATURE----- --g6e7qthxoepq7oin--