Probably the crucial bit is whether the filename of the module to dump is already present in master()->programs due to dumpmodule.pike using that module.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-11-26 17:28: Subject: Image.SSL?
Ok, it all seems to boil down to how you specify the path to the module(s):
fails:
pelix:~/Pike/7.3/build% /pike/home/marcus/Pike/7.3/build/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/pike/home/marcus/Pike/7.3/build/master.pike /pike/home/marcus/Pike/7.3/src/dumpmodule.pike --report-failed --target-dir=/tmp /pike/home/marcus/Pike/7.3/lib/modules/Array.pmod #### /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","/tmp/Array.pmod") /pike/home/marcus/Pike/7.3/src/dumpmodule.pike:386: dumpmodule.pike()->main(4,({"/pike/home/marcus/Pike/7.3/lib/modules/Array. pmod"})) Dumping failed for /pike/home/marcus/Pike/7.3/lib/modules/Array.pmod
succeeds:
pelix:~/Pike/7.3/build% /pike/home/marcus/Pike/7.3/build/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/pike/home/marcus/Pike/7.3/build/master.pike /pike/home/marcus/Pike/7.3/src/dumpmodule.pike --report-failed --target-dir=/tmp ../lib/modules/Array.pmod pelix:~/Pike/7.3/build%
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)