public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
* Failure of compiling
@ 2000-09-12  7:13 
  2000-09-12 13:33 ` Keisuke Nishida
  0 siblings, 1 reply; 9+ messages in thread
From:  @ 2000-09-12  7:13 UTC (permalink / raw)
  To: guile-emacs

I have tried to build guile-emacs of version 0.5. However, I
couldn't. I don't have any idea why it fails.

All I have done are as following:

1. I installed guile-1.4, guile-oops-0.9.0 and GNU Emacs 20.7(MULE 4.1).
2. I tried to build guile-emacs:
   $ ./configure
   $ make
   Then I got an error at last:
| ./temacs -batch -l loadup dump
| 
| ;;; WARNING (no code for module (oop goops goopscore))
| ERROR: Unbound variable: <generic>
| make[1]: *** [emacs] Error 2
| make[1]: Leaving directory `/home/saka/.rpm/BUILD/guile-emacs-0.5/src'
| make: *** [all-recursive] Error 1

I suspect that guile-emacs doesn't suit MULE 4.1, but I don't
have enough disk space to install Emacs 20.7 needed for me to
investigate it :(

-- 
SAKA Toshihide

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

* Re: Failure of compiling
  2000-09-12  7:13 Failure of compiling 
@ 2000-09-12 13:33 ` Keisuke Nishida
  2000-09-12 21:18   ` kxn30
  0 siblings, 1 reply; 9+ messages in thread
From: Keisuke Nishida @ 2000-09-12 13:33 UTC (permalink / raw)
  To: egcs; +Cc: guile-emacs

SAKA Toshihide (^[$B:d^[(B ^[$BIR=(^[(B) <saka@yugen.org> writes:

> | ./temacs -batch -l loadup dump
> | 
> | ;;; WARNING (no code for module (oop goops goopscore))
> | ERROR: Unbound variable: <generic>
> | make[1]: *** [emacs] Error 2
> | make[1]: Leaving directory `/home/saka/.rpm/BUILD/guile-emacs-0.5/src'
> | make: *** [all-recursive] Error 1

It fails to load GOOPS.  Could you try the following lines?

  % guile
  guile> (use-modules (oop goops goopscore))
  guile> 

If this shows an error, something is wrong with your GOOPS installation.

> I suspect that guile-emacs doesn't suit MULE 4.1, but I don't
> have enough disk space to install Emacs 20.7 needed for me to
> investigate it :(

I guess it is not a problem.  By the way, how could I get MULE 4.1?

-- Kei

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

* Re: Failure of compiling
  2000-09-12 13:33 ` Keisuke Nishida
@ 2000-09-12 21:18   ` kxn30
  2000-09-12 21:52     ` Keisuke Nishida
  0 siblings, 1 reply; 9+ messages in thread
From: kxn30 @ 2000-09-12 21:18 UTC (permalink / raw)
  To: guile-emacs

I installed guile-oops by my own RPM so that I could uninstall it
easily. I might fail to make the RPM, so I will check it.

>>>>> In < m37l8h9wsa.fsf@indy.STUDENT.CWRU.Edu > 
>>>>>	Keisuke Nishida <kxn30@po.cwru.edu> wrote:

> It fails to load GOOPS.  Could you try the following lines?

>   % guile
>   guile> (use-modules (oop goops goopscore))
>   guile> 

> If this shows an error, something is wrong with your GOOPS installation.

I got some messages as following:

$ guile
guile> (use-modules (oop goops goopscore))
standard input:1:1: In procedure process-use-modules in expression (process-use-modules (quote #)):
standard input:1:1: no such module (oop goops goopscore)
ABORT: (misc-error)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile> (backtrace)

Backtrace:
0* (use-modules (oop goops goopscore))
1  [process-use-modules ((oop goops goopscore))]


GOOPS that I installed are located in:

/usr/bin/guile-oops
/usr/include/goops
/usr/include/goops-snarf.h
/usr/include/goops.h
/usr/include/goops/versiondat.h
/usr/lib/libgoopscore.a
/usr/lib/libgoopscore.la
/usr/lib/libgoopscore.so.4.0.0
/usr/share/guile/oop
/usr/share/guile/oop/goops
/usr/share/guile/oop/goops.scm
/usr/share/guile/oop/goops/active-slot.scm
/usr/share/guile/oop/goops/compile.scm
/usr/share/guile/oop/goops/composite-slot.scm
/usr/share/guile/oop/goops/describe.scm
/usr/share/guile/oop/goops/dispatch.scm
/usr/share/guile/oop/goops/internal.scm
/usr/share/guile/oop/goops/save.scm
/usr/share/guile/oop/goops/stklos.scm
/usr/share/guile/oop/goops/util.scm

Well, I found another guile interpreter, guile-oops. So I tried
it. Its result was as following:

$ guile-oops
guile> (use-modules (oop goops goopscore))
ERROR: In expression (define-public <class> #<struct 401e0030:401e0030>):
ERROR: Unbound variable: define-public
ABORT: (unbound-variable)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile> (backtrace)

Backtrace:
 5* [resolve-interface (oop goops goopscore)]
 6  (let ((module #)) (and module (module-public-interface module)))
 7* [resolve-module (oop goops goopscore)]
 8  (let ((full-name #)) (let (#) (if already # #)))
    ...
 9  (begin (if # #) (make-modules-in # full-name))
10* (if (or # #) (try-load-module name))
11  [try-load-module (oop goops goopscore)]
12  (or (try-module-linked name) (try-module-autoload name) ...)
13* [try-module-linked (oop goops goopscore)]
14  [init-dynamic-module (oop goops goopscore)]
    ...
15  [loop ...
16*  [#<procedure (modinfo)> ((oop goops goopscore) 1073886240 #f)]
17   (if (equal? # modname) (begin # #) #f)
     ...
18   (let ((mod #)) (save-module-excursion (lambda () # # ...)) #t)
19*  [save-module-excursion #<procedure ()>]
20   (let (# #) (dynamic-wind # thunk #))
21   [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
22*  [#<procedure ()>]
23*  [dynamic-call 1073886240 #f]
24*  (define-public <class> #<struct 401e0030:401e0030>)


> > I suspect that guile-emacs doesn't suit MULE 4.1, but I don't
> > have enough disk space to install Emacs 20.7 needed for me to
> > investigate it :(

> I guess it is not a problem.

Oh, thank you for your information.

> By the way, how could I get MULE 4.1?

It is an unofficial version of GNU Emacs. I got a patch extracted
from Meadow (the official MULE 4.1) against GNU Emacs 20.7 (MULE
4.0) from:

http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/emacs-20.7-mule-4.1.patch

See his page for more information:

http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/

-- 
SAKA Toshihide

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

* Re: Failure of compiling
  2000-09-12 21:18   ` kxn30
@ 2000-09-12 21:52     ` Keisuke Nishida
  2000-09-12 23:36       ` kxn30
  0 siblings, 1 reply; 9+ messages in thread
From: Keisuke Nishida @ 2000-09-12 21:52 UTC (permalink / raw)
  To: egcs; +Cc: guile-emacs

SAKA Toshihide (^[$B:d^[(B ^[$BIR=(^[(B) <saka@yugen.org> writes:

> GOOPS that I installed are located in:
> 
> /usr/bin/guile-oops
> /usr/include/goops
> /usr/include/goops-snarf.h
> /usr/include/goops.h
> /usr/include/goops/versiondat.h
> /usr/lib/libgoopscore.a
> /usr/lib/libgoopscore.la
> /usr/lib/libgoopscore.so.4.0.0
> /usr/share/guile/oop
> /usr/share/guile/oop/goops
> /usr/share/guile/oop/goops.scm
> /usr/share/guile/oop/goops/active-slot.scm
> /usr/share/guile/oop/goops/compile.scm
> /usr/share/guile/oop/goops/composite-slot.scm
> /usr/share/guile/oop/goops/describe.scm
> /usr/share/guile/oop/goops/dispatch.scm
> /usr/share/guile/oop/goops/internal.scm
> /usr/share/guile/oop/goops/save.scm
> /usr/share/guile/oop/goops/stklos.scm
> /usr/share/guile/oop/goops/util.scm

You'll need to add the following symbolic links:

  /usr/lib/libgoopscore.so -> /usr/lib/libgoopscore.so.4.0.0
  /usr/lib/libgoopscore.so.4 -> /usr/lib/libgoopscore.so.4.0.0
  /usr/share/guile/oop/goops/libgoopscore.la -> /usr/lib/libgoopscore.la
  /usr/share/guile/oop/goops/libgoopscore.so.4 -> /usr/lib/libgoopscore.so.4

> > By the way, how could I get MULE 4.1?
> 
> It is an unofficial version of GNU Emacs. I got a patch extracted
> from Meadow (the official MULE 4.1) against GNU Emacs 20.7 (MULE
> 4.0) from:
> 
> http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/emacs-20.7-mule-4.1.patch
> 
> See his page for more information:
> 
> http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/

Thanks.  I'll try it.

-- Kei

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

* Re: Failure of compiling
  2000-09-12 21:52     ` Keisuke Nishida
@ 2000-09-12 23:36       ` kxn30
  2000-09-13 10:45         ` Keisuke Nishida
  2000-09-13 16:23         ` Keisuke Nishida
  0 siblings, 2 replies; 9+ messages in thread
From: kxn30 @ 2000-09-12 23:36 UTC (permalink / raw)
  To: guile-emacs

>>>>> In < m366o028tj.fsf@indy.STUDENT.CWRU.Edu > 
>>>>>	Keisuke Nishida <kxn30@po.cwru.edu> wrote:

> You'll need to add the following symbolic links:

>   /usr/lib/libgoopscore.so -> /usr/lib/libgoopscore.so.4.0.0
>   /usr/lib/libgoopscore.so.4 -> /usr/lib/libgoopscore.so.4.0.0
>   /usr/share/guile/oop/goops/libgoopscore.la -> /usr/lib/libgoopscore.la
>   /usr/share/guile/oop/goops/libgoopscore.so.4 -> /usr/lib/libgoopscore.so.4

Ok, I have added the links, then I got the messages with guile:

| $ guile
| guile> (use-modules (oop goops goopscore))
| ERROR: In expression (define-public <class> #<struct 401e0998:401e0998>):
| ERROR: Unbound variable: define-public
| ABORT: (unbound-variable)
| 
| Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
| guile> (backtrace)
| 
| Backtrace:
|  2  [for-each #<procedure (module-name)> ((oop goops goopscore))]
|  3* [#<procedure (module-name)> (oop goops goopscore)]
|  4* (let (#) (or mod-iface #) (module-use! # mod-iface))
|  5* [resolve-interface (oop goops goopscore)]
|  6  (let ((module #)) (and module (module-public-interface module)))
|  7* [resolve-module (oop goops goopscore)]
|  8  (let ((full-name #)) (let (#) (if already # #)))
|     ...
|  9  (begin (if # #) (make-modules-in # full-name))
| 10* (if (or # #) (try-load-module name))
| 11  [try-load-module (oop goops goopscore)]
|     ...
| 12  [loop ...
| 13*  [#<procedure (modinfo)> (# # #)]
| 14   (if (equal? # modname) (begin # #) #f)
|      ...
| 15   (let ((mod #)) (save-module-excursion (lambda () # # ...)) #t)
| 16*  [save-module-excursion #<procedure ()>]
| 17   (let (# #) (dynamic-wind # thunk #))
| 18   [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
| 19*  [#<procedure ()>]
| 20*  [dynamic-call # #]
| 21*  (define-public <class> #<struct 401e0998:401e0998>)

Now I get the following messages when building guile-emacs at last:

| ./temacs -batch -l loadup dump
| Loading loadup (source)...
| Using load-path (/home/saka/.rpm/BUILD/guile-emacs-0.5/lisp /usr/share/emacs/20.7/lisp)
| Loading byte-run...
| Loading subr...
| Loading version.el (source)...
| Loading map-ynp...
| Loading widget...
| Loading custom...
| Loading cus-start (source)...
| Loading international/mule...
| Loading international/mule-conf.el (source)...
| Invalid or duplicated element in argument: (coding-category-utf-16-be coding-category-utf-16-le coding-category-iso-8-1 coding-category-iso-8-2 coding-category-iso-7-tight coding-category-iso-7 coding-category-iso-7-else coding-category-iso-8-else coding-category-utf-8 coding-category-emacs-mule coding-category-raw-text coding-category-sjis coding-category-big5 coding-category-ccl coding-category-binary)
| make[1]: *** [emacs] Error 255
| make[1]: Leaving directory `/home/saka/.rpm/BUILD/guile-emacs-0.5/src'
| make: *** [all-recursive] Error 1

The following patch included in the MULE 4.1 patch causes the
above error, since I successed in building guile-emacs after I
applied it against mule-conf.el in reverse.

Thanks a lot.

\f
diff -ur emacs-20.7/lisp/international/mule-conf.el emacs-20.7-mule-4.1/lisp/international/mule-conf.el
--- emacs-20.7/lisp/international/mule-conf.el	Fri Jun  4 08:27:31 1999
+++ emacs-20.7-mule-4.1/lisp/international/mule-conf.el	Fri Jun 16 09:25:41 2000
@@ -351,17 +351,23 @@
       coding-category-iso-7-else	'iso-2022-7bit-lock
       coding-category-iso-8-else	'iso-2022-8bit-ss2
       coding-category-ccl		nil
+      coding-category-utf-8             nil
+      coding-category-utf-16-be         nil
+      coding-category-utf-16-le         nil
       coding-category-big5		'chinese-big5
       coding-category-raw-text		'raw-text
       coding-category-binary		'no-conversion)
 
 (set-coding-priority
- '(coding-category-iso-8-1
+ '(coding-category-utf-16-be
+   coding-category-utf-16-le
+   coding-category-iso-8-1
    coding-category-iso-8-2
    coding-category-iso-7-tight
    coding-category-iso-7
    coding-category-iso-7-else
    coding-category-iso-8-else
+   coding-category-utf-8
    coding-category-emacs-mule
    coding-category-raw-text
    coding-category-sjis 
\f

-- 
SAKA Toshihide

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

* Re: Failure of compiling
  2000-09-12 23:36       ` kxn30
@ 2000-09-13 10:45         ` Keisuke Nishida
  2000-09-13 11:41           ` kxn30
  2000-09-13 16:23         ` Keisuke Nishida
  1 sibling, 1 reply; 9+ messages in thread
From: Keisuke Nishida @ 2000-09-13 10:45 UTC (permalink / raw)
  To: egcs; +Cc: guile-emacs

SAKA Toshihide (^[$B:d^[(B ^[$BIR=(^[(B) <saka@yugen.org> writes:

> Ok, I have added the links, then I got the messages with guile:
> 
> | $ guile
> | guile> (use-modules (oop goops goopscore))
> | ERROR: In expression (define-public <class> #<struct 401e0998:401e0998>):
> | ERROR: Unbound variable: define-public
> | ABORT: (unbound-variable)

Hmm... I don't understand why this happens.  What does Guile display
by the following command?

  % guile
  guile> define-public
  #<macro 80965e0>
  guile>

> The following patch included in the MULE 4.1 patch causes the
> above error, since I successed in building guile-emacs after I
> applied it against mule-conf.el in reverse.

So can you successfully execute guile-emacs, then?

-- Kei

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

* Re: Failure of compiling
  2000-09-13 10:45         ` Keisuke Nishida
@ 2000-09-13 11:41           ` kxn30
  0 siblings, 0 replies; 9+ messages in thread
From: kxn30 @ 2000-09-13 11:41 UTC (permalink / raw)
  To: guile-emacs

>>>>> In < m3aedctcec.fsf@indy.STUDENT.CWRU.Edu > 
>>>>>	Keisuke Nishida <kxn30@po.cwru.edu> wrote:
> > | $ guile
> > | guile> (use-modules (oop goops goopscore))
> > | ERROR: In expression (define-public <class> #<struct 401e0998:401e0998>):
> > | ERROR: Unbound variable: define-public
> > | ABORT: (unbound-variable)

> Hmm... I don't understand why this happens.  What does Guile display
> by the following command?

>   % guile
>   guile> define-public
>   #<macro 80965e0>
>   guile>

I got this:

| % guile
| guile> define-public
| #<macro 401ef320>
| guile>

> So can you successfully execute guile-emacs, then?

Well..., guile-emacs seems to work good for me. Wanderlust, a
mail/news reader, can work on it. There are a few problems only
around Mule-UCS and coding-systems relative with
Unicode/ISO-10646 as far as I notice.

-- 
SAKA Toshihide

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

* Re: Failure of compiling
  2000-09-12 23:36       ` kxn30
  2000-09-13 10:45         ` Keisuke Nishida
@ 2000-09-13 16:23         ` Keisuke Nishida
  2000-09-14  8:31           ` kxn30
  1 sibling, 1 reply; 9+ messages in thread
From: Keisuke Nishida @ 2000-09-13 16:23 UTC (permalink / raw)
  To: egcs; +Cc: guile-emacs

SAKA Toshihide (^[$B:d^[(B ^[$BIR=(^[(B) <saka@yugen.org> writes:

> Now I get the following messages when building guile-emacs at last:
> 
> | ./temacs -batch -l loadup dump
> | Loading loadup (source)...
> | Using load-path (/home/saka/.rpm/BUILD/guile-emacs-0.5/lisp /usr/share/emacs/20.7/lisp)
> | Loading byte-run...
> | Loading subr...
> | Loading version.el (source)...
> | Loading map-ynp...
> | Loading widget...
> | Loading custom...
> | Loading cus-start (source)...
> | Loading international/mule...
> | Loading international/mule-conf.el (source)...
> | Invalid or duplicated element in argument: (coding-category-utf-16-be coding-category-utf-16-le coding-category-iso-8-1 coding-category-iso-8-2 coding-category-iso-7-tight coding-category-iso-7 coding-category-iso-7-else coding-category-iso-8-else coding-category-utf-8 coding-category-emacs-mule coding-category-raw-text coding-category-sjis coding-category-big5 coding-category-ccl coding-category-binary)
> | make[1]: *** [emacs] Error 255
> | make[1]: Leaving directory `/home/saka/.rpm/BUILD/guile-emacs-0.5/src'
> | make: *** [all-recursive] Error 1
> 
> The following patch included in the MULE 4.1 patch causes the
> above error, since I successed in building guile-emacs after I
> applied it against mule-conf.el in reverse.

Okay, what you need is to apply the MULE 4.1 patch to guile-emacs's src
directory, too.  Try the following:

  % cd guile-emacs
  % sed -n '/callproc/,//p' emacs-20.7-mule-4.1.patch | patch -p1
  % configure && make install

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

* Re: Failure of compiling
  2000-09-13 16:23         ` Keisuke Nishida
@ 2000-09-14  8:31           ` kxn30
  0 siblings, 0 replies; 9+ messages in thread
From: kxn30 @ 2000-09-14  8:31 UTC (permalink / raw)
  To: guile-emacs

>>>>> In < m3itrzq3l9.fsf@indy.STUDENT.CWRU.Edu > 
>>>>>	Keisuke Nishida <kxn30@po.cwru.edu> wrote:

> > The following patch included in the MULE 4.1 patch causes the
> > above error, since I successed in building guile-emacs after I
> > applied it against mule-conf.el in reverse.

> Okay, what you need is to apply the MULE 4.1 patch to guile-emacs's src
> directory, too.  Try the following:

>   % cd guile-emacs
>   % sed -n '/callproc/,//p' emacs-20.7-mule-4.1.patch | patch -p1
>   % configure && make install

I tried it. Then, I succeeded in building guile-emacs by MULE 4.1
without any errors and warnings :-)

Guile-emacs built by MULE 4.1 works out around Mule-UCS and the
coding-systems.

| Well..., guile-emacs seems to work good for me. Wanderlust, a
| mail/news reader, can work on it. There are a few problems only
| around Mule-UCS and coding-systems relative with
| Unicode/ISO-10646 as far as I notice.

Thanks a lot!

-- 
SAKA Toshihide
P.S. I am writing this message by Wanderlust on Guile-Emacs/MULE 4.1.

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

end of thread, other threads:[~2000-09-14  8:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-12  7:13 Failure of compiling 
2000-09-12 13:33 ` Keisuke Nishida
2000-09-12 21:18   ` kxn30
2000-09-12 21:52     ` Keisuke Nishida
2000-09-12 23:36       ` kxn30
2000-09-13 10:45         ` Keisuke Nishida
2000-09-13 11:41           ` kxn30
2000-09-13 16:23         ` Keisuke Nishida
2000-09-14  8:31           ` kxn30

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).