Seems to me that the fault is the incomplete handling of cyclic references in the compiler. dumpmodule.pike is used in both cases, so problems of this kind could occur during installation too if the phase of the moon produces an unfortunate module order then. A kludge is perhaps to add an adhoc ordering in dumpmodule.pike when dumping of certain modules is requested.
/ Martin Stjernholm, Roxen IS
Previous text:
2002-11-26 12:58: Subject: Image.SSL?
The first module that failed to dump correctly with `make dump_modules' is Array:
#### /pike/home/marcus/Pike/7.3/lib/modules/Array.pmod: /pike/home/marcus/Pike/7.3/lib/modules/Array.pmod:671:Recursive module dependency in Array. /pike/home/marcus/Pike/7.3/lib/modules/Array.pmod:671:Failed to index module 'Array' with 'diff' (module doesn't exist?) Compilation failed. /pike/home/marcus/Pike/7.3/build/master.pike:382: master()->compile_file("/pike/home/marcus/Pike/7.3/lib/modules/Array.pmod" ,dumpmodule.pike()->Handler(),0,0) /pike/home/marcus/Pike/7.3/src/dumpmodule.pike:197: dumpmodule.pike()->compile_file("/pike/home/marcus/Pike/7.3/lib/modules/Ar ray.pmod",dumpmodule.pike()->Handler()) /pike/home/marcus/Pike/7.3/src/dumpmodule.pike:245: dumpmodule.pike()->dumpit("/pike/home/marcus/Pike/7.3/lib/modules/Array.pm od","lib/modules/Array.pmod") /pike/home/marcus/Pike/7.3/src/dumpmodule.pike:225: dumpmodule.pike()->dumpit("/pike/home/marcus/Pike/7.3/lib/modules","lib/mo dules") /pike/home/marcus/Pike/7.3/src/dumpmodule.pike:386: dumpmodule.pike()->main(7,({"/pike/home/marcus/Pike/7.3/lib/modules"}))
Line 671 does indeed contain a (rather unneccesary) recursive reference, but it dumps fine with `make install', so it's still `make dump_modules' that is at fault.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)