From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Date: Sun, 22 Nov 2020 15:57:22 +0300 Message-ID: References: <864kmzupp0.fsf@akirakyle.com> <86pn46awrr.fsf@akirakyle.com> <20201122121849.GC1798@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 16:30:28 2020 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 1kgrJr-0001YN-QL for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 16:30:27 +0100 Original-Received: from localhost ([::1]:40248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgrJq-0004qe-TN for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 10:30:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgrJE-0004LO-VH for emacs-devel@gnu.org; Sun, 22 Nov 2020 10:29:48 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:51505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgrJC-0000vk-UC for emacs-devel@gnu.org; Sun, 22 Nov 2020 10:29:48 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C1AE3.000000005FBA83E8.00003138; Sun, 22 Nov 2020 15:29:43 +0000 Content-Disposition: inline In-Reply-To: <20201122121849.GC1798@tuxteam.de> Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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.23 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:259618 Archived-At: * tomas@tuxteam.de [2020-11-22 15:20]: > On Sun, Nov 22, 2020 at 03:04:29PM +0300, Jean Louis wrote: > > I have failed shamelessly. > > > > Can it be to some outdated stuff on my system? > > > > git clone https://github.com/akirakyle/emacs-webkit.git > > Cloning into 'emacs-webkit'... > > remote: Enumerating objects: 160, done. > > remote: Counting objects: 100% (160/160), done. > > remote: Compressing objects: 100% (54/54), done. > > remote: Total 160 (delta 104), reused 160 (delta 104), pack-reused 0 > > Receiving objects: 100% (160/160), 2.35 MiB | 219.00 KiB/s, done. > > Resolving deltas: 100% (104/104), done. > > ~/Programming/git $ cd emacs-webkit/ > > ~/Programming/git/emacs-webkit $ ls > > LICENSE default.nix hints.css script.js webkit-ace.el webkit.el > > Makefile emacs-module.h hints.js style.css webkit-history.el > > README.org evil-collection-webkit.el screencast.gif tests.el webkit-module.c > > ~/Programming/git/emacs-webkit $ make > > cc -shared -std=c99 -Wall -Wextra -Wno-unused-parameter -O3 -fpic `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0 --libs webkit2gtk-4.0` -o webkit-module.so webkit-module.c > > webkit-module.c: In function ‘copy_string_contents’: > > webkit-module.c:47:13: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] > > *buffer = malloc ((size_t) buffer_size); > > ^~~~~~ > > [...] > > Uh, oh. You seem to be missing fundamental packages for compiling > things. "malloc", for example is declared in /usr/include/stdlib.h > > Does this file exist on your machine? If not, you'll have to look > for it. If yes, you'll have to adapt your compile options for your > compiler to find it. Yes, it does. > Unless there's a configure step (but I don't see traces of it in > your files list) which would be willing to do that for you. There is no configure, I would hoping it will work out of the box as other Emacs modules.