Suse / OpenSuse

Komodo won't start on linux due to missing symbol

Question: 

Komodo won't start on linux, complains about gdk_window_get_visual symbol

Answer: 

On certain older (mostly RedHat based) linux distros Komodo will fail to start with the following error:

undefined symbol: gdk_window_get_visual

To fix this error you simply need to install the "gdk-pixbuf2" package. The name varies per distro, but searching for "pixbuf" should get you the right package name.

Corrupted Files when running the ActivePerl Linux installer

Question: 

When I run the installer, it reports that several files are corrupted. I see this error:
This installer package does not have the expected content. Please try to download a fresh copy of ActivePerl from ActiveState's website at activestate.com. If you still have problems please contact us at SupportEmail.

How do I fix this?

Answer: 

---Updated 10/18:
This FAQ applies to ALL ActivePerl Linux tarball installers.
A link to a current version has been specified solely for convenience
---
There are two possible causes.

1) If you used the command line "tar" to extract the archive, and tar reported this:
"tar: Removing leading / from member names"
the version of tar you have installed is removing leading slashes by default as a security measure. This will break the ActivePerl installer. Delete the extracted folder and run tar with different options.
"tar -zxPf (filename for the ActivePerl installer tarball with extensions.)"

2) If you allowed your browser to extract the tarball, it will have use the Linux Archive Manager. Trash the ActivePerl folder you extracted. Download a fresh copy, and do not open the Download with the Linux Archive Manager.
Go to a Terminal Window, and extract the file on the command line, using GNUtar instead:
http://docs.activestate.com/activeperl/5.26/get/linux/
You may still hit the leading slash issue if your tar has that default behaviour.

Install fails with 3 files corrupt

openSuse 13.1 installed with latest updates.

Downloaded the latest Community perl version 5.20.2.2001

Extracted to home dir

Attempted to install. (./install.sh)

The following error comes up.

============

# ./install.sh
Checking package...
- file 'perl/man/man1/c2ph.1' corrupt.
- file 'perl/man/man1/perlbug.1' corrupt.
- file 'perl/man/man1/s2p.1' corrupt.

    This installer package does not have the expected content.  Please
    try to download a fresh copy of ActivePerl from ActiveState's website

Keywords for binding events

Hi,

I try to bind BWidget events, but i can not find any list of keywords and events.
Is there for example a event when a combobox value is changed ?
I have found some events by Googling, "Enter", "MousePress-1", but just a few.
The event that I am looking for right now is when editing is done and a new value is valid for evaluation.

cheers,
Jukka

Tk is missing in perl 5.12.1-1201(32bit)

I miss the Tk module.
After installing Perl it is not present and i cannot install it via ppm.
Have i miss something?

Timing Scripts - Tutorial text doesn't match example

Timing scripts
http://docs.activestate.com/activetcl/8.4/tcltutorial/Tcl39.html

The example appears to have been changed since the text refers to a variable k and talks about multiplication.

Text:
=====================================================================

Trouble with ActiveTCL 8.5 and the tutorial

I have installed this version of Active TCL on Linux
tcl version: 8.4
tcl patchlevel: 8.4.14
ActiveTcl8.5.8.1.291945-linux-ix86-threaded

The path includes /opt/ActiveTcl-8.5/bin

I have been working through the tutorial and have a few issues.

Information about Files - file, glob
http://docs.activestate.com/activetcl/8.4/tcltutorial/Tcl25.html
The example is missing some closing quotes for the puts "Directories:
and puts "Files:

Communicating with other programs - socket, fileevent
http://docs.activestate.com/activetcl/8.4/tcltutorial/Tcl26a.html