From: andres.ramirez <andres.ramirez@kipuamutay.com>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Building Emacs for GNUstep
Date: Thu, 10 Jul 2014 17:12:35 -0500 [thread overview]
Message-ID: <87d2dc50do.wl%andres.ramirez@kipuamutay.com> (raw)
In-Reply-To: <53BCE582.8020402@yandex.ru>
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
>
next prev parent reply other threads:[~2014-07-10 22:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 2:25 Building Emacs for GNUstep Stefan Monnier
2014-07-09 6:47 ` Dmitry Antipov
2014-07-10 7:09 ` Jan Djärv
2014-07-10 22:12 ` andres.ramirez [this message]
2014-07-11 8:06 ` Jan Djärv
2014-07-11 19:58 ` andres.ramirez
2014-07-12 16:30 ` Jan Djärv
2014-07-13 4:37 ` andres.ramirez
2014-07-13 9:08 ` Jan Djärv
2014-07-13 18:15 ` andres.ramirez
2014-07-14 6:18 ` Jan Djärv
2014-07-14 6:34 ` andres.ramirez
2014-07-14 7:09 ` Jan Djärv
2014-07-14 19:26 ` andres.ramirez
2014-07-15 7:30 ` Jan Djärv
2014-07-09 8:12 ` martin rudalics
2014-07-09 13:15 ` Stefan Monnier
2014-07-09 14:17 ` martin rudalics
2014-07-09 17:47 ` Stefan Monnier
2014-07-10 7:45 ` martin rudalics
2014-07-11 3:07 ` Glenn Morris
2014-07-11 17:59 ` martin rudalics
2014-07-11 18:09 ` Glenn Morris
2014-07-09 9:34 ` Jan Djärv
2014-07-10 22:23 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2dc50do.wl%andres.ramirez@kipuamutay.com \
--to=andres.ramirez@kipuamutay.com \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).