Hi Ken,

If you’ve installed pike from a package, there will usually be a set of 
additional packages for modules that have extra dependencies, like gtk and 
various databases. You can use your package manager to explore and install 
those “add on” packages. 

If you’ve installed pike by compiling from source, then chances are you didn’t 
have a necessary dependency installed when you did the build. The easiest way 
to get just the module you want compiled and installed is to do this: 

$ cd src/post_modules/GTK2
$ pike -x module
$ sudo pike -x module install

I’m remembering the path from memory so you might need to adjust that. Also, 
you should inspect the output of the configure step during the module build to 
make sure it found the needed components. 

Hope this helps! Don’t hesitate to reply back if you have any additional 
questions or problems.

Bill

> On Aug 23, 2023, at 8:03 PM, Kenneth Wolcott <kennethwolc...@gmail.com> wrote:
> 
> Hi!
> 
> Brand-new noob here.
> 
> How to install modules in Pike?  I'd like to do GTK2 in Pike, but the
> module is not installed
> 
> I read the beginner guide and a great deal of the main manual.
> 
> The hello.pike example won't execute because I don't have the GTK
> module installed.
> 
> I have not yet seen any instructions on how to add a Pike module that
> was not installed as a part of Pike.
> 
> Thanks,
> Ken Wolcott
> 

Reply via email to