unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GNUStep build problems
@ 2008-08-21  7:05 Christian Faulhammer
  2008-08-21 14:57 ` Chong Yidong
  2008-08-22 16:30 ` Dan Nicolaescu
  0 siblings, 2 replies; 8+ messages in thread
From: Christian Faulhammer @ 2008-08-21  7:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: gnustep, emacs


[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]

Hi,

we are trying to add GNUstep support for Emacs in Gentoo Linux.
Unfortunately Emacs build fails from HEAD during bootstrapping, maybe
you can have a look at it, a log of the build process is attached.
Also there has been a linker problem as in Gentoo the GNUstep libraries
are not in FHS locations but in the ones recommended by GNUstep.  A
patch for that is attached.

CCing Gentoo Emacs and GNUstep teams.

V-Li

[-- Attachment #1.2: emacs-cvs-gnustep-link-path.patch" --]
[-- Type: application/octet-stream, Size: 1195 bytes --]

--- src/Makefile.in.orig	2008-08-14 10:49:19.000000000 +0200
+++ src/Makefile.in	2008-08-14 10:49:22.000000000 +0200
@@ -938,7 +938,7 @@
 temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args${EXEEXT}
 	echo "${obj} ${otherobj} " OBJECTS_MACHINE > buildobj.lst
 #ifdef NS_IMPL_GNUSTEP
-	$(CC) -rdynamic YMF_PASS_LDFLAGS (${TEMACS_LDFLAGS} -lgnustep-gui -lgnustep-base -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs ${obj} ${otherobj} OBJECTS_MACHINE ${LIBES}
+	$(CC) -rdynamic YMF_PASS_LDFLAGS (${TEMACS_LDFLAGS} -L@GNUSTEP_SYSTEM_LIBRARIES@ -lgnustep-gui -lgnustep-base -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread ) -o temacs ${obj} ${otherobj} OBJECTS_MACHINE ${LIBES}
 #else
 	$(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
     -o temacs ${STARTFILES} ${obj} ${otherobj}  \
--- configure.in.orig	2008-08-14 10:51:36.000000000 +0200
+++ configure.in	2008-08-14 10:52:04.000000000 +0200
@@ -2467,6 +2467,8 @@
 AC_SUBST(ns_appresdir)
 AC_SUBST(ns_appsrc)
 AC_SUBST(GNUSTEP_MAKEFILES)
+AC_SUBST(GNUSTEP_SYSTEM_HEADERS)
+AC_SUBST(GNUSTEP_SYSTEM_LIBRARIES)
 AC_SUBST(GNU_OBJC_CFLAGS)
 AC_SUBST(LIB_SRC_EXTRA_INSTALLABLES)
 

[-- Attachment #1.3: build.log.bz2 --]
[-- Type: application/x-bzip, Size: 57418 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-09-02 21:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21  7:05 GNUStep build problems Christian Faulhammer
2008-08-21 14:57 ` Chong Yidong
2008-08-23 17:18   ` Dan Nicolaescu
2008-08-25  7:24     ` Yavor Doganov
2008-08-28 19:49   ` Stefan Monnier
2008-08-31  1:49   ` Glenn Morris
2008-08-22 16:30 ` Dan Nicolaescu
2008-09-02 21:46   ` Christian Faulhammer

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).