all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs NOT running on runlevel 3 ?!
@ 2005-03-09  7:04 Jaeil Choi
  2005-03-09  7:58 ` David Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Jaeil Choi @ 2005-03-09  7:04 UTC (permalink / raw)



It's a shame that Emacs cannot run on runlevel 3,
while vim works fine.
I only hope there's something I missed.

When it was executed with "-nw" command line option
on runlevel 3 of Fedora Core 3,
X11 dynamic library(!) camplains about undefined 'yKeycode'.
Do emacs really need X11 when it's executed with "-nw" option ?

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

* Re: Emacs NOT running on runlevel 3 ?!
  2005-03-09  7:04 Emacs NOT running on runlevel 3 ?! Jaeil Choi
@ 2005-03-09  7:58 ` David Hansen
  2005-03-09  9:17   ` Jaeil Choi
  0 siblings, 1 reply; 4+ messages in thread
From: David Hansen @ 2005-03-09  7:58 UTC (permalink / raw)


On Wed, 09 Mar 2005 02:04:40 -0500 Jaeil Choi wrote:

> When it was executed with "-nw" command line option
> on runlevel 3 of Fedora Core 3,
> X11 dynamic library(!) camplains about undefined 'yKeycode'.
> Do emacs really need X11 when it's executed with "-nw" option ?

If it's linked against Xlib: yes.  But it should be possible to
compile it w/o X (./configure --without-x) or try to link
statically or mount the partition with the X libraries.

David

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

* Re: Emacs NOT running on runlevel 3 ?!
  2005-03-09  7:58 ` David Hansen
@ 2005-03-09  9:17   ` Jaeil Choi
  2005-03-09  9:51     ` David Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Jaeil Choi @ 2005-03-09  9:17 UTC (permalink / raw)


David Hansen wrote:
> On Wed, 09 Mar 2005 02:04:40 -0500 Jaeil Choi wrote:
> 
> 
>>When it was executed with "-nw" command line option
>>on runlevel 3 of Fedora Core 3,
>>X11 dynamic library(!) camplains about undefined 'yKeycode'.
>>Do emacs really need X11 when it's executed with "-nw" option ?
> 
> 
> If it's linked against Xlib: yes.  But it should be possible to
> compile it w/o X (./configure --without-x) or try to link
> statically or mount the partition with the X libraries.
> 
> David

I'm think about situations where we want to use Emacs in
emergencies to recover linux.
It's natural to be linked with Xlib, since we don't want to
use Emacs in text mode all the time.

Then, the question is, do we have to keep another version
of Emacs executable compiled without Xlib to use in runlevel 3,
while 'emacs -nw' works fine in terminals if Linux's on runlevel 5 ?

Probably that's not what it's meant to be.
Emacs is supposed to adapt itself to environment appropriately.

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

* Re: Emacs NOT running on runlevel 3 ?!
  2005-03-09  9:17   ` Jaeil Choi
@ 2005-03-09  9:51     ` David Hansen
  0 siblings, 0 replies; 4+ messages in thread
From: David Hansen @ 2005-03-09  9:51 UTC (permalink / raw)


On Wed, 09 Mar 2005 04:17:47 -0500 Jaeil Choi wrote:

> I'm think about situations where we want to use Emacs in
> emergencies to recover linux.
> It's natural to be linked with Xlib, since we don't want to
> use Emacs in text mode all the time.
>
> Then, the question is, do we have to keep another version
> of Emacs executable compiled without Xlib to use in runlevel 3,
> while 'emacs -nw' works fine in terminals if Linux's on runlevel 5 ?
>
> Probably that's not what it's meant to be.
> Emacs is supposed to adapt itself to environment appropriately.

If emacs is linked against Xlib and the linker can't find it you
can't run emacs.  It's that easy.

Either you have two versions of emacs or you link it
statically.  BTW, if you want to use emacs to fix a broken
system, you don't want any dependencies on any libraries in
/usr/lib/.

I strongly recommend to compile your own version with as much
--disable-foo as possible and install it --with-prefix=/ (check
with ldd src/emacs if any dependencies are left and link
statically if you can't avoid them).

IMHO emacs is just not made for these kinds of editing tasks.

David

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

end of thread, other threads:[~2005-03-09  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09  7:04 Emacs NOT running on runlevel 3 ?! Jaeil Choi
2005-03-09  7:58 ` David Hansen
2005-03-09  9:17   ` Jaeil Choi
2005-03-09  9:51     ` David Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.