From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs for GNUstep Date: Sat, 12 Jul 2014 18:30:51 +0200 Message-ID: <4F7B3B08-DCAE-4527-ABB9-4C08464D87E0@swipnet.se> References: <53BCE582.8020402@yandex.ru> <87d2dc50do.wl%andres.ramirez@kipuamutay.com> <27EB515E-F1DA-4FA9-8C90-FD4191E31C16@swipnet.se> <87ion3mzvt.wl%andres.ramirez@kipuamutay.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405182685 3013 80.91.229.3 (12 Jul 2014 16:31:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2014 16:31:25 +0000 (UTC) Cc: Dmitry Antipov , Stefan Monnier , emacs-devel@gnu.org To: "andres.ramirez" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 12 18:31:16 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 1X60Ch-0004gt-Am for ged-emacs-devel@m.gmane.org; Sat, 12 Jul 2014 18:31:15 +0200 Original-Received: from localhost ([::1]:49685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X60Cg-00035z-S6 for ged-emacs-devel@m.gmane.org; Sat, 12 Jul 2014 12:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X60CX-00034o-Sh for emacs-devel@gnu.org; Sat, 12 Jul 2014 12:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X60CR-00039G-Jj for emacs-devel@gnu.org; Sat, 12 Jul 2014 12:31:05 -0400 Original-Received: from mailfe05.swip.net ([212.247.154.129]:47083 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X60CR-000366-8D for emacs-devel@gnu.org; Sat, 12 Jul 2014 12:30:59 -0400 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 511824384; Sat, 12 Jul 2014 18:30:51 +0200 In-Reply-To: <87ion3mzvt.wl%andres.ramirez@kipuamutay.com> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.129 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:173002 Archived-At: Hello. A quick net search suggests that some GNUStep versions require = -DGNUSTEP, so try to add that to CFLAGS when configuring, i.e. % CFLAGS=3D'-g -O2 -DGNUSTEP ./configure ... Jan D. 11 jul 2014 kl. 21:58 skrev andres.ramirez = : > Hi Jan. >=20 > $ gcc --version > gcc (GCC) 4.9.0 20140604 (prerelease) >=20 > compiling with gcc the ns port; > after installing with the package manager (no dev versions): > gcc-objc > gnustep-libobjc2-git > gnustep-make 2.6.6-1 > gnustep-base 1.24.6-1 > gnustep-gui 0.24.0-2 >=20 > with ./configure --with-ns = --with-gnustep-conf=3D/etc/GNUstep/GNUstep.conf >=20 > checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS... no > checking AppKit/AppKit.h usability... no > checking AppKit/AppKit.h presence... yes > configure: WARNING: AppKit/AppKit.h: present but cannot be compiled > configure: WARNING: AppKit/AppKit.h: check for missing = prerequisite headers? > configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation > configure: WARNING: AppKit/AppKit.h: section "Present But Cannot = Be Compiled" > configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's = result > checking for AppKit/AppKit.h... no > configure: error: `--with-ns' was specified, but the include > files are missing or cannot be compiled. >=20 > checking the cotent of config.log this is found: > configure:10234: result: no > configure:10246: checking AppKit/AppKit.h usability > configure:10246: gcc -std=3Dgnu99 -c -g3 -O2 -x objective-c = -I/usr/include -I/usr/include -x objective-c -I/usr/include = -I/usr/include conftest.c >&5 > In file included from /usr/include/AppKit/NSPanel.h:34:0, > from /usr/include/AppKit/NSColorPanel.h:39, > from /usr/include/AppKit/AppKit.h:63, > from conftest.c:101: > /usr/include/AppKit/NSWindow.h:876:1: error: cannot find protocol = declaration for 'NSWindowDelegate' > @interface NSObject (NSWindowDelegateAdditions) >=20 >=20 > Any ideas?. Regards >=20 > At Fri, 11 Jul 2014 10:06:37 +0200, > Jan Dj=E4rv wrote: >>=20 >> Hello. >>=20 >> 11 jul 2014 kl. 00:12 skrev andres.ramirez = : >>=20 >>> Hi Guys. Following this thread. >>>=20 >>> I tried to compile the ns-port on my distro (archlinux) >>>=20 >>>=20 >>> 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 >>>=20 >>> Any idea how to solve this?. >>=20 >> The clang preprocessor seems to be broken. Use gcc. >>=20 >> Jan D. >>=20