* cannot get a GUI from Emacs 21.4
@ 2006-08-04 1:03 leo.hou
2006-08-04 2:22 ` Pascal Bourguignon
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: leo.hou @ 2006-08-04 1:03 UTC (permalink / raw)
I am very new to Linux. I just installed a Knoppix to my HD which does
not have emacs. So emacs became the first app I downloaded and
compiled.
I used ./configure and make then make install. After that which emacs
shows /user/bin/emacs. I think I am done. So I ran it. But all I get
this a text mode emacs (same as emacs -nw).
I searched the newsgroup and verified $DISPLAY. It is correctly set to
:0.0
Even if I run emacs -d :0.0, it is the same result w/o any warning or
error
I try to run emacs from the KDE's run command window instead of a
shell. But nothing happens. (not even a terminal emacs)
Could anyone help me? I can run other app with GUI from terminal, such
as kwrite, display, etc.
Thanks in advance
Emacs Beginner
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 1:03 cannot get a GUI from Emacs 21.4 leo.hou
@ 2006-08-04 2:22 ` Pascal Bourguignon
2006-08-04 8:59 ` Peter Dyballa
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Pascal Bourguignon @ 2006-08-04 2:22 UTC (permalink / raw)
leo.hou@gmail.com writes:
> I am very new to Linux. I just installed a Knoppix to my HD which does
> not have emacs. So emacs became the first app I downloaded and
> compiled.
>
> I used ./configure and make then make install.
Did you enable X ?
./configure --prefix=/usr/local --with-x
--
__Pascal Bourguignon__ http://www.informatimago.com/
"You cannot really appreciate Dilbert unless you read it in the
original Klingon"
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 1:03 cannot get a GUI from Emacs 21.4 leo.hou
2006-08-04 2:22 ` Pascal Bourguignon
@ 2006-08-04 8:59 ` Peter Dyballa
2006-08-04 10:11 ` Leon
[not found] ` <mailman.4836.1154686340.9609.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2006-08-04 8:59 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 04.08.2006 um 03:03 schrieb leo.hou@gmail.com:
> I am very new to Linux. I just installed a Knoppix to my HD which does
> not have emacs.
Make sure that you have installed a lot of development packages!
Linux is usually packed as an enduser product, so even compilers are
not installed. And since you configured before you compiled: what is
the configure output telling you? This output is no waste of terminal
space ...
--
Greetings
Pete
"We have to expect it, otherwise we would be surprised."
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 1:03 cannot get a GUI from Emacs 21.4 leo.hou
2006-08-04 2:22 ` Pascal Bourguignon
2006-08-04 8:59 ` Peter Dyballa
@ 2006-08-04 10:11 ` Leon
[not found] ` <mailman.4836.1154686340.9609.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 9+ messages in thread
From: Leon @ 2006-08-04 10:11 UTC (permalink / raw)
leo.hou@gmail.com writes:
> I am very new to Linux. I just installed a Knoppix to my HD which does
> not have emacs. So emacs became the first app I downloaded and
> compiled.
>
> I used ./configure and make then make install. After that which emacs
> shows /user/bin/emacs. I think I am done. So I ran it. But all I get
> this a text mode emacs (same as emacs -nw).
>
> I searched the newsgroup and verified $DISPLAY. It is correctly set to
> :0.0
> Even if I run emacs -d :0.0, it is the same result w/o any warning or
> error
>
> I try to run emacs from the KDE's run command window instead of a
> shell. But nothing happens. (not even a terminal emacs)
>
> Could anyone help me? I can run other app with GUI from terminal, such
> as kwrite, display, etc.
>
> Thanks in advance
>
>
> Emacs Beginner
At the end of ./configure, there is a table showing which feature will
be supported for example which x-toolkit etc. In my fedora core 5 I
have these installed:
xorg-x11-proto-devel-7.0-6
libX11-devel-1.0.0-3.FC5.0
--
Leon
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <mailman.4836.1154686340.9609.help-gnu-emacs@gnu.org>]
* Re: cannot get a GUI from Emacs 21.4
[not found] ` <mailman.4836.1154686340.9609.help-gnu-emacs@gnu.org>
@ 2006-08-04 16:09 ` leo.hou
2006-08-04 16:56 ` leo.hou
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: leo.hou @ 2006-08-04 16:09 UTC (permalink / raw)
The distro I have is Knoppix live CD installed to HD.
I tried to use ./configure --with-x. But the logs ./confiure prints
will says with-x: NO
and "target to X header files" = NONE, "target to X lib files" = NONE.
Do I lack some header or lib files to make the gui? How can I install
the lacking files?
Thx!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 16:09 ` leo.hou
@ 2006-08-04 16:56 ` leo.hou
2006-08-04 17:47 ` Leon
2006-08-04 17:11 ` Leon
2006-08-04 17:57 ` Peter Dyballa
2 siblings, 1 reply; 9+ messages in thread
From: leo.hou @ 2006-08-04 16:56 UTC (permalink / raw)
> The distro I have is Knoppix live CD installed to HD.
> I tried to use ./configure --with-x. But the logs ./confiure prints
> will says with-x: NO
> and "target to X header files" = NONE, "target to X lib files" = NONE.
This is the complete log ./configure gave me: Could anyone help me out?
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking for AIX... no
checking the machine- and system-dependent files to find out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for sys/select.h... yes
checking for sys/timeb.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for linux/version.h... yes
checking for sys/systeminfo.h... no
checking for termios.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for termcap.h... yes
checking for stdio_ext.h... yes
checking for fcntl.h... yes
checking for term.h... yes
checking for strings.h... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working volatile... yes
checking for working const... yes
checking for void * support... yes
checking whether make sets ${MAKE}... yes
checking for long file names... yes
checking for X... no
checking for malloc_get_state... yes
checking for malloc_set_state... yes
checking whether __after_morecore_hook exists... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking for maillock.h... no
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... yes
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for res_init... no
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... yes
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for strftime... yes
checking for getaddrinfo... yes
checking for __fpending... yes
checking for mblen... yes
checking for mbrlen... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getloadavg... yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for grantpt... yes
checking for getpt... yes
checking for tparm in -lncurses... yes
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for struct timezone... yes
checking for socket... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for size_t... yes
Configured for `i686-pc-linux-gnu'.
Where should the build process find the source code?
/home/leo/emacs-21.3
What operating system and machine description files should Emacs use?
`s/gnu-linux.h' and `m/intel386.h'
What compiler should emacs be built with? gcc -g -O2
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? none
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use -lungif? no
Does Emacs use -lpng? no
Does Emacs use X toolkit scroll bars? no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib-src/Makefile.c
creating oldXMenu/Makefile
creating man/Makefile
creating lwlib/Makefile
creating src/Makefile.c
creating lisp/Makefile
creating leim/Makefile
creating src/config.h
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 16:09 ` leo.hou
2006-08-04 16:56 ` leo.hou
@ 2006-08-04 17:11 ` Leon
2006-08-04 17:57 ` Peter Dyballa
2 siblings, 0 replies; 9+ messages in thread
From: Leon @ 2006-08-04 17:11 UTC (permalink / raw)
leo.hou@gmail.com writes:
> The distro I have is Knoppix live CD installed to HD.
>
> I tried to use ./configure --with-x. But the logs ./confiure prints
> will says with-x: NO
> and "target to X header files" = NONE, "target to X lib files" = NONE.
>
> Do I lack some header or lib files to make the gui? How can I install
> the lacking files?
Yes. Depends on what os you are running.
>
> Thx!
--
Leon
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cannot get a GUI from Emacs 21.4
2006-08-04 16:09 ` leo.hou
2006-08-04 16:56 ` leo.hou
2006-08-04 17:11 ` Leon
@ 2006-08-04 17:57 ` Peter Dyballa
2 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2006-08-04 17:57 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 04.08.2006 um 18:09 schrieb leo.hou@gmail.com:
> I tried to use ./configure --with-x. But the logs ./confiure prints
> will says with-x: NO
> and "target to X header files" = NONE, "target to X lib files" = NONE.
So you need two things: some X11 user package with the libraries and
programmes, and some X11 development package(s). Since you are on
Knoppix, you should know. I am on Mac OS X, I can't know: it's BSD here.
--
Greetings
Pete === -Q
==<__/% >>
_____________(_)____@_____________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-08-04 17:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04 1:03 cannot get a GUI from Emacs 21.4 leo.hou
2006-08-04 2:22 ` Pascal Bourguignon
2006-08-04 8:59 ` Peter Dyballa
2006-08-04 10:11 ` Leon
[not found] ` <mailman.4836.1154686340.9609.help-gnu-emacs@gnu.org>
2006-08-04 16:09 ` leo.hou
2006-08-04 16:56 ` leo.hou
2006-08-04 17:47 ` Leon
2006-08-04 17:11 ` Leon
2006-08-04 17:57 ` Peter Dyballa
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).