Skip to content

All In Tech

Providing IT Tutorials, Scripts, and Much More!!

When using Microsoft Outlook 2007, linked to exchange i encounted the following error and fix.

Error: “Cannot start microsoft office outlook. cannot open the outlook window”.

Fix: Start->run. and type the following -> “Outlook.exe /resetnavpane”.

1 person likes this post.

This is the setup process I follow to setup a DC++ Hub, which I use for Adam Internet’s Community Net.

I use DBHub (http://www.dbhub.org/) for the Hub software.

The system this process works on:
Linux Ubuntu 2.6.28-11-generic (mythubuntu)
Perl v5.10.0

I have included a modified configure file because as of Perl 5.10 DynaLoader is no longer in DynaLoader.a but is now included in libperl.a.

*So if you receive an error like (DynaLoader.a not found, then use my modified configure file).

First install the needed dependencies:

sudo apt-get install build-essential libperl-dev

Download the needed files:

wget http://internode.dl.sourceforge.net/project/dbhub/DB%20Hub/0.451/dbhub-0.451.tgz
wget http://allintech.info/wp-content/uploads/dbhub/configure-0.451

Run the following commands to configure and compile DBHub with Perl scripting support

tar -zxf dbhub-0.451.tgz
cd dbhub-0.451
cp ../configure-0.451 configure
./configure --enable-perl
make
make install

when you first run dbhub it will setup the config file, so make sure you ran it as the user you want to run the hub. i.e if I use the root user to run the command then the config will be stored in /root/.dbhub

/usr/local/bin/dbhub

Enter in a port to listen on (411)
Set a Username and Password for the owner user

DBHub will now be running and listening for connections.

2 people like this post.

How to setup Gtk2 for perl in Ubuntu 9.04

You will need the following packages

sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev libglib2.0-dev libpango1.0-dev

Now run cpan

sudo cpan

Install the following in order

install ExtUtils::Depends
install ExtUtils::PkgConfig
install Glib
instal Pango
install Gtk2

And now you done, you can test it with the following script:

#!/usr/bin/perl
use Gtk2 -init;

my $window = Gtk2::Window->new ('toplevel');
my $button = Gtk2::Button->new ('Quit');
$button->signal_connect (clicked => sub { Gtk2->main_quit });
$window->add ($button);
$window->show_all;
Gtk2->main;

To run it save the script as gtk-test.pl and run

perl gtk-test.pl

from the command line.

A small window should open, with a Quit button inside.

Be the first to like.