[Xotcl] troubleshooting

Gustaf Neumann neumann at wu-wien.ac.at
Sun Nov 28 04:24:05 CET 2010


Rebuild the pkgIndex.tcl files with

    make libraries-pkgindex

Not sure, why and how you got the problem, but i will try to 
trigger the rebuild of these files more eagerly... maybe a 
pkg_mkIndex failed in your version....

i guess, part of the problem is that "pkg_mkIndex" without 
the flag "-verbose" is completely silent also in cases where 
an "error" occurs (often a missing dummy "namespace 
declaration", just needed for building pkgIndex). If 
pkg_mkIndex is called with "-verbose", it is too verbose... 
I have now altered the behavior pkg_mkIndex in the build 
process, problems with while building pkgIndex will be easy 
detected.

Get a fresh version from git

-gn

On 28.11.10 00:07, Victor Mayevski wrote:
> Thank you Gustaf, that fixed the error. There is an additional error:
>
> can't find package xotcl::package
>      while executing
> "package require xotcl::package"
>      (file "./library/xotcl/library/lib/makeDoc.xotcl" line 16)
> make: *** [library/xotcl/doc/langRef-xotcl.html] Error 1
>
> The error seems to be caused by missing pkgIndex.tcl file in
> ./library/xotcl/library/lib/
>
>
> Thanks
>
>
> On Fri, Nov 26, 2010 at 7:48 PM, Victor Mayevski<vitick at gmail.com>  wrote:
>> Hello Gustaf,
>>
>> I have the following problem when trying to compile NX on freshly
>> installed Linux x86 system against latest TCL 8.6 from SourceForge
>> CVS.
>>
>> ./generic/nsf.c: In function ‘MethodDispatchCsc’:
>> ./generic/nsf.c:6959: error: too many arguments to function
>> ‘tclIntStubsPtr->tclNRRunCallbacks’
>> make: *** [nsf.o] Error 1
>>
>>
>> Thank you
>>



More information about the Xotcl mailing list