So, I'm trying to create GTK2.Support as a sub-module of GTK2, but I'm apparently not doing it right.
GTK2 has module.pmod.in and a module.so (after all the sources are compiled). This creates ___GTK2.so and GTK2.pmod. I suppose it needs to be created as GTK2.pmod/module.pmod and GTK2.pmod/Support.pmod/, with all the GTK2.Support modules in the latter directory. So, how do I go about doing that?
module.pmod.in as a directory structure should allow you to do what you want.
Bill
On Mon, 6 Feb 2006, lance dillon wrote:
So, I'm trying to create GTK2.Support as a sub-module of GTK2, but I'm apparently not doing it right.
GTK2 has module.pmod.in and a module.so (after all the sources are compiled). This creates ___GTK2.so and GTK2.pmod. I suppose it needs to be created as GTK2.pmod/module.pmod and GTK2.pmod/Support.pmod/, with all the GTK2.Support modules in the latter directory. So, how do I go about doing that?
On Mon, 2006-02-06 at 14:03 -0500, Bill Welliver wrote:
yup, exactly like that. module.pmod should inherit the gtk.so file so that it all appears as one module.
Well, that didn't work out right. I got this error:
Making module.pmod sed: -e expression #1, char 21: unknown option to `s' mkdir: too few arguments Try `mkdir --help' for more information. sed: -e expression #1, char 20: unknown option to `s'
I think the best way is to set the module name for the GTK2 module to _GTK2, create a GTK2.pmod directory in lib/modules and do inherit GTK2; in module.pmod.
pike-devel@lists.lysator.liu.se