Re: How to install modules in Pike? I'd like to do GTK2 in Pike, but the module is not installed

William Welliver <[email protected]> Wed, 23 Aug 2023 22:11:51 -0400
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Hi Ken,

If you=E2=80=99ve installed pike from a package, there will usually be a set=
 of additional packages for modules that have extra dependencies, like gtk a=
nd various databases. You can use your package manager to explore and instal=
l those =E2=80=9Cadd on=E2=80=9D packages.=20

If you=E2=80=99ve installed pike by compiling from source, then chances are y=
ou didn=E2=80=99t have a necessary dependency installed when you did the bui=
ld. The easiest way to get just the module you want compiled and installed i=
s to do this:=20

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

I=E2=80=99m remembering the path from memory so you might need to adjust tha=
t. Also, you should inspect the output of the configure step during the modu=
le build to make sure it found the needed components.=20

Hope this helps! Don=E2=80=99t hesitate to reply back if you have any additi=
onal questions or problems.

Bill

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