Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Probleme lancement Emacs
Envoyé par: Follow

Bijour.

Je suis sous Suse 10 et apres l'install de emacs 21.4, ce dernier ne se lance que dans la fenetre meme du terminal et non dans sa propre fenetre.
Donc non acces a "Fichier" "Edition" "Affichage" etc de emacs lui meme, acces à ceux du terminal.
un "emacs&" le fait planter tout simplement.


Please help.
Merci d'avance.
Follow.

Poste le Wednesday 8 March 2006 15:41:38
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: twocats

emacs c'est LE MAL !!! }-) Vive vi !
Sinon ça serait pas xemacs pour avoir emacs pour X ? Je dis ça parce que ces temps ci c'est la recrudescence des mongoliens qui se plaignent qu'un programme ne fonctionne pas alors qu'ils ne l'on tout simplement PAS INSTALLÉ (voir le post sur mplayer) !!!

-------------------
La réponse est 42

Poste le Wednesday 8 March 2006 18:05:35
Répondre     Citer    
Re: Probleme lancement Emacs

Non, xemacs est une variante différente de emacs (un peu comme vile ou vim ou elvis par rapport à vi).

Mais sous Debian il y a des paquets différents emacs et emacs-nox qui fournissent d'une part un emacs sous X, et d'autre part (pour emacs-nox) un emacs en mode console.



----

Basile STARYNKEVITCH

Membre de l'APRIL « promouvoir et défendre le logiciel libre » - adhérez vous aussi à l'APRIL!

Projet logiciel libre: RefPerSys

Poste le Wednesday 8 March 2006 18:10:09
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: diancech

Cela peux venir d'un probléme de configuration de l'environement, normalement le emacs de base que tu as installé devrait ouvrir une fenêtre graphique sous X et rester dans la console quand tu es sous un tty différent de X.

Tu n'est pas logué sous le compte d'un autre user avec "su" ??

Citation
Basile STARYNKEVITCH
Mais sous Debian il y a des paquets différents emacs et emacs-nox qui fournissent d'une part un emacs sous X, et d'autre part (pour emacs-nox) un emacs en mode console.

En fait dans les deux versions des paquets emacs peux fonctionner en mode console, le paquet "emacs" fonctionne donc sous X et en console, tandis que le paquet "emacs-nox" ne fonctionne qu'en console, en fait il sert surtout pour installer un emacs plus léger lorsque l'on installe pas de serveur X sur ça machine ou qu'on utilise uniquement emacs en console.

A vérifier la version que tu as installé.

;-)

--------------------------------------------------------------------------------------------------------------------------------------------------
Exige beaucoup de toi-même et attends peu des autres. Ainsi beaucoup d'ennuis te seront épargnés. Confucius

Poste le Wednesday 8 March 2006 19:31:03
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: twocats

Bwarf !!! :-)) C'est clair comme de l'eau de boudin tout ça. #%b
Et ça confirme mes propos :
Citation
twocats
emacs c'est LE MAL !!!
Hi-hi... }-)

-------------------
La réponse est 42

Poste le Wednesday 8 March 2006 19:57:08
Répondre     Citer    
Re: Probleme lancement Emacs

Il faudrait continuer le débat ailleurs, (sur "Débats" justement) mais je ne suis pas d'accord. J'aime plutôt bien Emacs, notamment avec le mode Tuareg pour Ocaml.

J'utilise aussi bien Xemacs que Emacs....

Je connais vi, mais je ne m'en sers que pour éditer un fichier de configuration (comme /etc/fstab) ou bien un tout petit fichier à moi. Pour le développement sérieux (ou la rédaction en LaTeX, HTML ou Lout) j'utilise Emacs.

Je n'ai jamais compilé depuis vi, mais je compile souvent depuis Emacs, en appuyant sur la touche F11.



----

Basile STARYNKEVITCH

Membre de l'APRIL « promouvoir et défendre le logiciel libre » - adhérez vous aussi à l'APRIL!

Projet logiciel libre: RefPerSys

Poste le Wednesday 8 March 2006 20:00:49
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: Hélène

Citation
twocats
twocats a écrit :emacs c'est LE MAL !!! Hi-hi...


La réponse est 42

Un individu qui sait que la bonne réponse est 42 a beaucoup trop de profondeur, d'intelligence, de réflexion, de connaissances, etc... etc... pour dénigrer l'indispensable Emacs... C'est pas possible !!!

#%b }-) #%b

Hélène
(qui apprécie autant Douglas Adams qu'Emacs, ah mais !)

Poste le Wednesday 8 March 2006 22:40:06
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: Follow

Tout d'abord merci a diancech qui lui a essayer de fornir une explication constructive.
Enfin bon.

J'ai toujours mon probleme, que je soit en su ou pas...(note: g installer emacs en su bien sur).

Ca me broute un peu beaucoup.
Stp help.


Poste le Sunday 12 March 2006 15:50:57
Répondre     Citer    
Re: Probleme lancement Emacs

Que donne la commande
ldd $(which emacs)

Sous Debian/Sid, ça donne
        linux-gate.so.1 =>  (0xffffe000)
        libXaw3d.so.6 => /usr/X11R6/lib/libXaw3d.so.6 (0xb7ea7000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xb7e91000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb7e41000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7e38000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7e20000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7e11000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb7da4000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d84000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7d5f000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d4b000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7d25000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0xb7d1c000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0xb7d06000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7c3b000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0xb7bf8000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7ac0000)
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0xb7ab8000)
        /lib/ld-linux.so.2 (0xb7ef2000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ab3000)

et on voit bien qu'il y a des bibliothèques graphiques (au moins libX11), et c'est pour ça que ca tourne en graphique.

Pour contourner le problème, on peut utiliser xemacs, mais je pense que ça pourrait être un problème peu lié à emacs, mais à X11 (peut-être lié au fichier ~/.Xauthority)?

Poste le Sunday 12 March 2006 15:56:26
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: Follow

Deja merci de vous pencher sur mon probleme.
Donc voici le resultat de ldd $(which emacs):

linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/libm.so.6 (0x40038000)
libc.so.6 => /lib/tls/libc.so.6 (0x4005f000)
/lib/ld-linux.so.2 (0x40000000)


Tant qu'a faire voici ce que me donne ./configure lors de l'installation de emacs:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for bison... (cached) bison -y
checking for ranlib... (cached) 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... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) 64
checking for _LARGE_FILES value needed for large files... (cached) no
checking for machine/soundcard.h... (cached) no
checking for sys/soundcard.h... (cached) yes
checking for soundcard.h... (cached) no
checking for _oss_ioctl in -lossaudio... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for linux/version.h... (cached) yes
checking for sys/systeminfo.h... (cached) no
checking for termios.h... (cached) yes
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for termcap.h... (cached) no
checking for stdio_ext.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for term.h... (cached) no
checking for strings.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys_siglist declaration in signal.h or unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for struct utimbuf... (cached) yes
checking return type of signal handlers... (cached) void
checking for speed_t... (cached) yes
checking for struct timeval... (cached) yes
checking for struct exception... (cached) no
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for tm_gmtoff in struct tm... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for function prototypes... yes
checking for working volatile... (cached) yes
checking for working const... (cached) yes
checking for void * support... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for long file names... (cached) yes
checking for X... (cached) no
checking for malloc_get_state... (cached) yes
checking for malloc_set_state... (cached) yes
checking whether __after_morecore_hook exists... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for dnet_ntoa in -ldnet... (cached) no
checking for main in -lXbsd... (cached) no
checking for cma_open in -lpthreads... (cached) no
checking for XFree86 in /usr/X386... no
checking whether netdb declares h_errno... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for sqrt in -lm... (cached) yes
checking for maillock in -lmail... (cached) no
checking for maillock in -llockfile... (cached) no
checking for liblockfile.so... (cached) no
checking for touchlock... (cached) no
checking for maillock.h... (cached) no
checking for gethostname... (cached) yes
checking for getdomainname... (cached) yes
checking for dup2... (cached) yes
checking for rename... (cached) yes
checking for closedir... (cached) yes
checking for mkdir... (cached) yes
checking for rmdir... (cached) yes
checking for sysinfo... (cached) yes
checking for random... (cached) yes
checking for lrand48... (cached) yes
checking for bcopy... (cached) yes
checking for bcmp... (cached) yes
checking for logb... (cached) yes
checking for frexp... (cached) yes
checking for fmod... (cached) yes
checking for rint... (cached) yes
checking for cbrt... (cached) yes
checking for ftime... (cached) yes
checking for res_init... (cached) no
checking for setsid... (cached) yes
checking for strerror... (cached) yes
checking for fpathconf... (cached) yes
checking for select... (cached) yes
checking for mktime... (cached) yes
checking for euidaccess... (cached) yes
checking for getpagesize... (cached) yes
checking for tzset... (cached) yes
checking for setlocale... (cached) yes
checking for utimes... (cached) yes
checking for setrlimit... (cached) yes
checking for setpgid... (cached) yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for shutdown... (cached) yes
checking for strftime... (cached) yes
checking for getaddrinfo... (cached) yes
checking for __fpending... (cached) yes
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for strsignal... (cached) yes
checking for setitimer... (cached) yes
checking for ualarm... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for gai_strerror... (cached) yes
checking for mkstemp... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... (cached) yes
checking for getloadavg... (cached) yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... (cached) no
checking for _LARGEFILE_SOURCE value needed for large files... (cached) 1
checking for fseeko... (cached) yes
checking for grantpt... (cached) yes
checking for getpt... (cached) yes
checking for tparm in -lncurses... (cached) no
checking for dgettext in -lintl... (cached) no
checking whether localtime caches TZ... (cached) no
checking for gettimeofday... (cached) yes
checking whether gettimeofday can accept two arguments... (cached) yes
checking for struct timezone... (cached) yes
checking for socket... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking whether system supports dynamic ptys... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for size_t... (cached) yes

Configured for `i686-pc-linux-gnu'.

Where should the build process find the source code? /usr/src/emacs-21.4
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

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
src/config.h is unchanged
creating src/epaths.h
src/epaths.h is unchanged
creating lib-src/Makefile
creating src/Makefile


Merci d'avance.
Follow.

Poste le Monday 13 March 2006 01:12:31
Répondre     Citer    
Re: Probleme lancement Emacs

je conseille d'installer le paquet emacs de votre distribution.

Si vous le compilez vous-même, n'oubliez pas l'option --with-x-toolkit à ./configure

----

Basile STARYNKEVITCH

Membre de l'APRIL « promouvoir et défendre le logiciel libre » - adhérez vous aussi à l'APRIL!

Projet logiciel libre: RefPerSys

Poste le Monday 13 March 2006 07:15:03
Répondre     Citer    
Re: Probleme lancement Emacs
Envoyé par: Follow

bon allors j'ai lacher laffaire... car mm avec la solution de l'option de ./configure c mort ca marcher pas.

Enfin bon, j'ai installer donc la version 21.3 mais afin d'installer l'interface slime sous emacs il me faut la version 21.4 et je galere pr mettre a jour emacs. mm avec yast2 et mon ami google.

Aurait-il moyen d'avoir une solution simple pr installer cette mise a jour???

Merci.
Follow.

Poste le Monday 13 March 2006 23:33:04
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Probleme lancement Emacs
Posez dans ce forum les questions qui ne trouvent pas place dans les autres...

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons