From: Dan Nicolaescu <dann@ics.uci.edu>
To: Christian Faulhammer <opfer@gentoo.org>
Cc: emacs@gentoo.org, gnustep@gentoo.org, emacs-devel@gnu.org
Subject: Re: GNUStep build problems
Date: Fri, 22 Aug 2008 09:30:17 -0700 [thread overview]
Message-ID: <200808221630.m7MGUHPI023905@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <20080821090538.1e904b68@terra.solaris> (Christian Faulhammer's message of "Thu, 21 Aug 2008 09:05:38 +0200")
Christian Faulhammer <opfer@gentoo.org> writes:
> 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
>
> --- 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@ [snip]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The recommended way
is not to substitute
directly in a make
rule, but use a
variable.
> #else
> $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
> -o temacs ${STARTFILES} ${obj} ${otherobj} \
The best would be to get rid of the #ifdef NS_IMPL_GNUSTEP, and use the
default rule for temacs${EXEEXT}, passing the correct flags in the
existing variables, or add new ones if needed. Given that not too many
people work/even have access to GNUStep, help getting that right would
be greatly appreciated.
Now looking at the log:
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --program-suffix=-emacs-23 --infodir=/usr/share/info/emacs-23 --without-carbon --with-sound --with-x --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --disable-font-backend --without-freetype --without-xft --without-libotf --without-m17n-flt --with-x-toolkit=gtk --without-hesiod --with-ns --disable-ns-self-contained --without-kerberos --without-kerberos5 --with-gpm --with-dbus --build=i686-pc-linux-gnu
configure: WARNING: Unrecognized options: --without-carbon, --disable-font-backend
^^^^^^^^^^^^^^^^^^
This warning is obvious...
--with-x --with-x-toolkit=gtk make no sense when using --with-ns
--with-gif --with-jpeg etc, are turned on by default, no need to bother with them.
You can try to get around the byte compilation problem by first
configure --with-x, do a make to create the .elc files, and then
reconfigure --with-ns and try again. It's a hack, but it might help
until someone finds a proper fix.
next prev parent reply other threads:[~2008-08-22 16:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2008-09-02 21:46 ` Christian Faulhammer
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=200808221630.m7MGUHPI023905@sallyv1.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=emacs@gentoo.org \
--cc=gnustep@gentoo.org \
--cc=opfer@gentoo.org \
/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).