From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andres.ramirez Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs for GNUstep Date: Thu, 10 Jul 2014 17:12:35 -0500 Message-ID: <87d2dc50do.wl%andres.ramirez@kipuamutay.com> References: <53BCE582.8020402@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1405030489 23935 80.91.229.3 (10 Jul 2014 22:14:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 22:14:49 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 00:14:39 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5Mbu-0004i5-Md for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 00:14:38 +0200 Original-Received: from localhost ([::1]:40496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Mbu-0004W2-6n for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2014 18:14:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Mbj-0004PS-C4 for emacs-devel@gnu.org; Thu, 10 Jul 2014 18:14:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Mba-0007zf-6A for emacs-devel@gnu.org; Thu, 10 Jul 2014 18:14:27 -0400 Original-Received: from mail-yk0-x233.google.com ([2607:f8b0:4002:c07::233]:60627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Mba-0007zO-1W for emacs-devel@gnu.org; Thu, 10 Jul 2014 18:14:18 -0400 Original-Received: by mail-yk0-f179.google.com with SMTP id 20so110088yks.24 for ; Thu, 10 Jul 2014 15:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:from:to:cc:newsgroups:subject:in-reply-to :references:user-agent:mime-version:content-type; bh=iL9fJeoGNTqNYbNs456UFpZYiZ7aj+EeTWN/eDQfaHs=; b=V2k9equTns4vcbZVbpUMI30SumOUgHkWnjPmC5Nh1sBmQy8vJ48mb4U8c9cNP0jwEh f5k9Kkw+s6WhmBCx6TI3/RTSZtpxVGpCm0gOM1/u6WGIEti/G6jM8T0ePfEdVtMKfKBy pCP/0bVvOIzKiiCklGgc6C1SSORFE7Yg1xuR19xAjW67leoTQzBpMcIvQwxLvGYl0/KS BF9QMil+7OOrJ1EXWTSgFVurTAPAxzlklSzVacfYngsvyf7EvBSgGM2KEbXLAOSdvSgN +r9Wa0a0iqfiJHY1D/8ZI8rw2FGX2HRvKVRBUZfrre82Qb3ltLF4FT8hl4GREw+hLvyr CMHg== X-Received: by 10.236.88.13 with SMTP id z13mr77193639yhe.34.1405030457234; Thu, 10 Jul 2014 15:14:17 -0700 (PDT) Original-Received: from tiahua.ryu.edu ([190.43.246.202]) by mx.google.com with ESMTPSA id w36sm859518yhn.4.2014.07.10.15.14.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jul 2014 15:14:16 -0700 (PDT) Original-Newsgroups: gmane.emacs.devel In-Reply-To: <53BCE582.8020402@yandex.ru> X-Mailer: Wanderlust/2.15.9 X-Attribution: AR User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172948 Archived-At: Hi Guys. Following this thread. I tried to compile the ns-port on my distro (archlinux) uname -a Linux tiahua 3.15.3-1-ARCH #1 SMP PREEMPT Tue Jul 1 07:32:45 CEST 2014 x86_64 GNU/Linux after installing: gnustep-libobjc2-clang-svn gnustep-make-clang-svn gnustep-base-clang-svn gnustep-gui-clang-svn (AppKit.h) then I did : ./configure --with-ns --with-gnustep-conf=/etc/GNUstep/GNUstep.conf Then I did: make With this output: clang -Demacs -I. -I. -I../lib -I./../lib -D_REENTRANT -fPIC -fno-strict-aliasing -I/usr/System/Library/Headers -I/usr/Local/Library/Headers -I/usr/include/alsa -pthread -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -MMD -MF deps/.d -MP -I/usr/incl ude/p11-kit-1 -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-pointer-sign -g3 -O2 -Wl,-znocombreloc -L/usr/System/Library/Libraries -L/usr/Local/Library/Libraries \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o profiler.o decompress.o fontset.o fringe.o image.o nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o terminfo.o lastfile.o ../lib/libgnu.a -lgnustep-gui -lgnustep-base -lobjc -lpthread -lasound -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lMagickWand-6.Q16HDRI -lMagickCore-6.Q16HDRI -lacl -lrt -ldbus-1 -lxml2 -lgpm -lncurses -lgnutls -lpthread -lm -lz nsterm.m:5015: error: undefined reference to 'macfont_get_nsctfont' nsfns.m:1391: error: undefined reference to 'macfont_get_nsctfont' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:664: recipe for target 'temacs' failed make[1]: *** [temacs] Error 1 make[1]: Leaving directory '/home/aramirez/abs/emacs/ns/emacs-24.3.92/src' Makefile:382: recipe for target 'src' failed make: *** [src] Error 2 Any idea how to solve this?. Regards At Wed, 09 Jul 2014 10:47:30 +0400, Dmitry Antipov wrote: > > On 07/09/2014 06:25 AM, Stefan Monnier wrote: > > > I just tried to build Emacs for GNUstep under Debian (from trunk). > > The configure and build worked smoothly, but when I try to run the > > executable I get a seg-fault: > > > > Program received signal SIGSEGV, Segmentation fault. > > 0xf76e905f in objc_msg_lookup () from /usr/lib/i386-linux-gnu/libobjc.so.4 > > (gdb) bt > > #0 0xf76e905f in objc_msg_lookup () from /usr/lib/i386-linux-gnu/libobjc.so.4 > > #1 0x081e8028 in x_set_window_size (f=0x877a0d0, change_grav=142057680, > > width=14, height=70, pixelwise=120) at nsterm.m:1382 > > #2 0x00000000 in ?? () > > > > Lisp Backtrace: > > "x-create-frame" (0xffffcb28) > > "x-create-frame-with-faces" (0xffffccb8) > > "make-frame" (0xffffce48) > > "frame-initialize" (0xffffcfd8) > > "command-line" (0xffffd1ac) > > "normal-top-level" (0xffffd310) > > (gdb) > > > > Any idea what might be going on? > > Hm... I was able to run, but with the very miserable results > (see screenshot) - text rendering makes Emacs unusable. > > Fedora 20 x86_64, stock GNUstep packages: > > gnustep-gui-0.23.1-6.fc20.x86_64 > gnustep-back-0.23.0-5.fc20.x86_64 > gnustep-base-libs-1.24.4-8.fc20.x86_64 > gnustep-gui-libs-0.23.1-6.fc20.x86_64 > gnustep-base-devel-1.24.4-8.fc20.x86_64 > gnustep-filesystem-2.6.6-2.fc20.x86_64 > gnustep-base-1.24.4-8.fc20.x86_64 > gnustep-make-2.6.6-2.fc20.x86_64 > gnustep-gui-devel-0.23.1-6.fc20.x86_64 > > Dmitry >