This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Can't compile under ubuntu 9.04 (was: Re: Mutual require bug when compiling?)
- From: alex mitchell <lexaay at gmail dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: "kawa at sources dot redhat dot com" <kawa at sources dot redhat dot com>
- Date: Sat, 12 Sep 2009 12:50:38 +0800
- Subject: Re: Can't compile under ubuntu 9.04 (was: Re: Mutual require bug when compiling?)
Ah, ok I see what's happening. I have /usr/local/share/java/kawa.jar in my
classpath, and /usr/local/share/java/kawa.jar isn't removed when I do a make
clean. During compilation, the old jar file is being used. Removing it fixed
the problem.
thanks,
Alex
On 9/12/09 12:36 PM, "Per Bothner" <per@bothner.com> wrote:
> On 09/11/2009 08:52 PM, Alex Mitchell wrote:
>> I tried doing a make clean then make, but I still get the same error.
>> I also tried deleting my copy of kawa, doing a fresh checkout from
>> svn, then ./configure and make, but still the same:
>>
>> internal error while compiling syntax.scm
>> java.lang.NoSuchMethodError:
>> kawa.lib.std_syntax.addProcedureProperties(Lgnu/expr/GenericProc;[Ljava/lang/
>> Object;)V
>> at kawa.lib.lists.run(lists.scm:29)
>
> A data-point is that add-procedure-properties was moved from
> kawa.lib.std_syntax to kawa.lib.misc:
>
> 2009-08-13 Per Bothner <per@bothner.com>
>
> Move some functions out of syntax*scm so the latter
> can be kept out of kawart.jar.
> * std_syntax.scm (add-procedure-properties): Move to misc.scm.
> * syntax.scm (gentemp): Moved to misc.scm.
>
> Scheme.java was correspondingly updated:
>
> kawa/standard/Scheme.java: defProcStFld("add-procedure-properties",
> "kawa.lib.misc");
>
> My best guess is somehow you're picking up an old version
> - of something.
>
>> This is using :
>> java version "1.6.0_16"
>> Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
>> Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
>>
>> on Ubuntu 9.04, having just run update manager:
>> Linux alex-ubuntu 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08
>> UTC 2009 i686 GNU/Linux
>>
>> I don't have any problems compiling on either MacOS X 10.5 or Windows XP.
>>
>> Anyone else out there using Ubuntu 9.04?
>>
>> thanks,
>> Alex
>>
>>> Re: Mutual require bug when compiling?
>>>
>>> From: Helmut Eller<eller dot helmut at gmail dot com>
>>> To: kawa at sources dot redhat dot com
>>> Date: Thu, 20 Aug 2009 11:03:05 +0200
>>> Subject: Re: Mutual require bug when compiling?
>>> References:<4A8CEC54.8080506@bothner.com> <C6B33012.1CE43%alexm@nus.edu.sg>
>>>
>>> ________________________________
>>>
>>> * alex mitchell [2009-08-20 10:53+0200] writes:
>>>>
>>>> However, under Ubuntu 9.04, I can't seem to build kawa. I get the following
>>>> when I do a make:
>>>
>>> Try: svn update; make clean; make
>>>
>>> A simple "make" misses some dependencies sometimes.
>>>
>>> Helmut
>