This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Emacs is coming back - 2nd try
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 7/17/2007 6:43 AM:
>> The base package including everything to run without X11 and the sources:
>
>> <http://www.zone42.org/cygwin/emacs/emacs-22.1-2.tar.bz2>
>> <http://www.zone42.org/cygwin/emacs/emacs-22.1-2-src.tar.bz2>
>
> However, when trying to reproduce the build, I got this failure during the
> package phase:
>
> cygport emacs-22.1-2 package
> ...
>>>> emacs-el-22.1-2.tar.bz2
> ...
> tar: usr/share/emacs/22.1/leim: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors
> *** ERROR: Binary package creation failed
Also, your .cygport package does the following:
# build non-X11 binary first
LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base'\
cygconf --with-x=no
cygmake LD='$(CC)'
# save non-X11 binary
cp -v src/emacs.exe emacs-nox.exe
# cleanup build dir
make distclean
# build X11 binary
cygconf
Shouldn't the second cygconf also set LDFLAGS? In fact, if my
understanding is correct, the problem of auto-image-base and auto-import
are MORE important for the X version, because it is pulling in more libraries.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGnL/S84KuGfSFAYARAgM0AKC+pu5RlJ4oJxvjQvYQTuGEKQJOBACePpDh
SSqoUyJwKlHntrehHkhEdWM=
=KEyJ
-----END PGP SIGNATURE-----