Does the command-line "make" work? I always get ReferenceError: ClassesListNode is not defined

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Does the command-line "make" work? I always get ReferenceError: ClassesListNode is not defined

Jack Palevich
Is the command-line "make" working for anyone else?

(I am using node.js c0.6.14, GNU Make 3.82, and OSX 10.7, but I don't think that matters.)

With tip-of-tree amber, I get this error. It looks like ClassesListNode is not defined in this context. greping through the source tree shows that the class exists in the IDE, but maybe not in the classes that are included when compiling from the command line.

$ cd code/amber
$ make

... lots of output omitted ...

Reading file Kernel-Objects.st
Exporting (debug + deploy) category Kernel-Objects as Kernel-Objects.js and Kernel-Objects.deploy.js

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
ReferenceError: ClassesListNode is not defined
    at eval at <anonymous> (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:18580:13)
    at Function._value_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:6657:12)
    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
    at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:104
    at Array._do_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7608:32)
    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
    at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
    at Array._collect_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:11)
    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
Failed compilation of Kernel-Objects.js, exiting.
make[1]: *** [Kernel-Objects.js] Error 1
make: *** [build-st] Error 2

Reply | Threaded
Open this post in threaded view
|

Re: Does the command-line "make" work? I always get ReferenceError: ClassesListNode is not defined

Nicolas Petton
Last time I checked it worked fine, I'll have to try again :)

Thanks for reporting,
Nico
On Apr 1, 2012, at 7:51 PM, Jack Palevich wrote:

> Is the command-line "make" working for anyone else?
>
> (I am using node.js c0.6.14, GNU Make 3.82, and OSX 10.7, but I don't think that matters.)
>
> With tip-of-tree amber, I get this error. It looks like ClassesListNode is not defined in this context. greping through the source tree shows that the class exists in the IDE, but maybe not in the classes that are included when compiling from the command line.
>
> $ cd code/amber
> $ make
>
> ... lots of output omitted ...
>
> Reading file Kernel-Objects.st
> Exporting (debug + deploy) category Kernel-Objects as Kernel-Objects.js and Kernel-Objects.deploy.js
>
> node.js:201
>         throw e; // process.nextTick error, or 'error' event on first tick
>               ^
> ReferenceError: ClassesListNode is not defined
>     at eval at <anonymous> (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:18580:13)
>     at Function._value_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:6657:12)
>     at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
>     at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
>     at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:104
>     at Array._do_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7608:32)
>     at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
>     at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
>     at Array._collect_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:11)
>     at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
> Failed compilation of Kernel-Objects.js, exiting.
> make[1]: *** [Kernel-Objects.js] Error 1
> make: *** [build-st] Error 2
>

Reply | Threaded
Open this post in threaded view
|

Re: Does the command-line "make" work? I always get ReferenceError: ClassesListNode is not defined

Nicolas Petton
Indeed, a dependency to ClassesListNode (part of the Compiler package) was introduced in the Kernel-Objects package. I'll have to see if it can be easily removed.

Cheers,
Nico

On Apr 1, 2012, at 9:26 PM, Nicolas Petton wrote:

> Last time I checked it worked fine, I'll have to try again :)
>
> Thanks for reporting,
> Nico
> On Apr 1, 2012, at 7:51 PM, Jack Palevich wrote:
>
>> Is the command-line "make" working for anyone else?
>>
>> (I am using node.js c0.6.14, GNU Make 3.82, and OSX 10.7, but I don't think that matters.)
>>
>> With tip-of-tree amber, I get this error. It looks like ClassesListNode is not defined in this context. greping through the source tree shows that the class exists in the IDE, but maybe not in the classes that are included when compiling from the command line.
>>
>> $ cd code/amber
>> $ make
>>
>> ... lots of output omitted ...
>>
>> Reading file Kernel-Objects.st
>> Exporting (debug + deploy) category Kernel-Objects as Kernel-Objects.js and Kernel-Objects.deploy.js
>>
>> node.js:201
>>        throw e; // process.nextTick error, or 'error' event on first tick
>>              ^
>> ReferenceError: ClassesListNode is not defined
>>    at eval at <anonymous> (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:18580:13)
>>    at Function._value_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:6657:12)
>>    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
>>    at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
>>    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:104
>>    at Array._do_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7608:32)
>>    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
>>    at Smalltalk.send (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:332:11)
>>    at Array._collect_ (/Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:7506:11)
>>    at /Users/jackpal/code/amber/st/amberc.uNaPnr/compiler.js:356:30
>> Failed compilation of Kernel-Objects.js, exiting.
>> make[1]: *** [Kernel-Objects.js] Error 1
>> make: *** [build-st] Error 2
>>
>