Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #2608
Closed
Open
Issue created Dec 09, 2001 by Peter Bortas@zinoOwner

Missing GTK Module RH7.1 Running Pike 7.2.239 RH 6.2 Sh Install

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2608

Reported by Anthony Dycks, Marconi Services Americas panfisher@earthlink.net

I'm encountering the following message running an adaptation of the GTK Hello World program, hellogtk.pike.

Running the following Pike source code ...

int main()
  {
  GTK.setup_gtk();
  GTK.Alert("Hello world!") -> signal_connect("destroy", exit, 0);
  return -1;
  }

// >>> End of Program -- hellogtk.pike <<<

I encounter the following error under a Red Hat Linux 7.1 Gnome Workstation Environment ...

hellogtk.pike:3:Failed to index module 'GTK' with 'setup_gtk'
(module doesn't exist?)
Pike: Failed to compile script:
Compilation failed.

I suspect I'm missing a GTK Version package install or a Pike GTK module. I used the following downloaded shell file to install Pike 7.2.239 ...

pike-7.2.239-lrh6.2.sh (Accepted all defaults from Shell Script prompts)

Any suggestions on how I might resolve the error?

Thanks & Best Regards,

Panfisher

Some background information regarding my RH Linux V7.2 & Pike V7.2.239 Install...

G-Prefix files in /usr/pike/local/7.2.239/lib/modules Directory ...

Gdbm.so Getopt.pmod Gettext.so GLU.pmod.o Gnome.pmod GDK.pmod Getopt.pmod.o GLU.pmod Gmp.so Gz.so

Geography.pmod: Countries.pmod Countries.pmod.o Position.pike Position.pike.o

Graphics.pmod: Graph.pmod

GTKSupport.pmod: Alert.pike pCtree.pike SClist.pike MenuFactory.pmod pDrawingArea.pike Util.pmod

RPM Query of G-Prefixed Installed Packages Shows ...

gd-1.8.3-7 ... gd-devel-1.8.3-7 gdk-pixbuf-0.8.0-7 gdk-pixbuf-devel-0.8.0-7 ... glib10-1.0.6-9 glib-1.2.9-1 glibc-2.2.2-10 glibc-common-2.2.2-10 glibc-devel-2.2.2-10 glibc-profile-2.2.2-10 glib-devel-1.2.9-1 glib-gtkbeta-1.3.2-2 ... gnome-applets-1.2.4-3 ... gnome-core-1.2.4-16 gnome-core-devel-1.2.4-16 ... gnome-kerberos-0.2.2-2 gnome-libs-1.2.8-11 gnome-libs-devel-1.2.8-11 ... gnome-objc-1.0.2-11 gnome-objc-devel-1.0.2-11 ... gpm-1.19.3-16 gpm-devel-1.19.3-16 ... gtk+10-1.0.6-9 gtk+-1.2.9-4 gtk+-devel-1.2.9-4 gtk-doc-0.4b1-3 gtk-engines-0.10-12 gtk+-gtkbeta-1.3.2-4

Assignee
Assign to
Time tracking