From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Building Emacs on WSL Date: Sun, 11 Dec 2016 18:42:33 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481478213 5240 195.159.176.226 (11 Dec 2016 17:43:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 17:43:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 18:43:29 2016 Return-path: Envelope-to: ged-emacs-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 1cG89o-0000iC-G0 for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 18:43:28 +0100 Original-Received: from localhost ([::1]:56519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG89s-0005Z7-Qn for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2016 12:43:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG89C-0005Z1-DY for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:42:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG899-0006Ec-9L for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:42:50 -0500 Original-Received: from smtp203.alice.it ([82.57.200.99]:15922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG898-0006EP-U6 for emacs-devel@gnu.org; Sun, 11 Dec 2016 12:42:47 -0500 Original-Received: from [192.168.1.101] (95.235.230.214) by smtp203.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 583FFC42043BC1C8 for emacs-devel@gnu.org; Sun, 11 Dec 2016 18:42:41 +0100 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210290 Archived-At: Just out of curiosity, I tried to build Emacs (master) on Windows Subsystem Linux (WSL) [*] but it always hangs at this point: ./autogen.sh ./configure --prefix=/opt/emacs --without-x [...] Configured for 'x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -std=gnu11 -g3 -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? none What toolkit should Emacs use? none Where do we find X Windows header files? NONE Where do we find X Windows libraries? NONE Does Emacs use -lXaw3d? no Does Emacs use -lXpm? no Does Emacs use -ljpeg? yes Does Emacs use -ltiff? no Does Emacs use a gif library? no Does Emacs use a png library? no Does Emacs use -lrsvg-2? no Does Emacs use cairo? no Does Emacs use imagemagick? no Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? no Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? no Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs use -lsystemd? no Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? no Does Emacs use toolkit scroll bars? no Does Emacs support Xwidgets (requires gtk3)? no [...] make [...] make -C ../lisp update-subdirs make[2]: ingresso nella directory "/home/angelog/work/emacs-e63c489dd496e53b68b942d0b76e13b62117fae9/lisp" make[2]: uscita dalla directory "/home/angelog/work/emacs-e63c489dd496e53b68b942d0b76e13b62117fae9/lisp" ./temacs --batch --load loadup bootstrap (I waited for almost an hour) I tried with a master of a few days ago which surely build and works on GNU/Linux Mint 18, Windows (MSYS2/MinGW64) and macOS. Just out of curiosity... Ciao, Angelo. ---- [*] It seems that someone succeeded in that build (http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00339.html)