TinyURL widget - shorten your URL's for free!

Enter a long URL to make tiny:

Friday, November 22, 2013

Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains:


I got this error trying to run autotools on ubuntu raring:

Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains: /home/dave/share/autoconf /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/dropship/bin/autoheader line 42.
BEGIN failed--compilation aborted at /home/dropship/bin/autoheader line 42.

uname -a

 Linux dropship 3.5.0-34-generic #55-Ubuntu SMP Thu Jun 6 20:18:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Solution:

The answer is who has access to the /usr/share/autoconf folders and root has the default access.

If you can't see them, then sudo autoscan instead of autoscan and so on...

then run:

sudo autoconf
sudo automake etc. 


OR

add your compiling user into the root group.


Thursday, July 25, 2013

Ubuntu versus Belkin N150 wireless router

I'm running a dual-boot Windows 7 / Ubuntu 12.10 on a HP laptop.  I'm visiting a house with a Belkin N150- wireless router.

I had this weird problem.  I could connect and reconnect just fine when in Windows mode. I could connect fresh to the Belkin wirelessly. But when I was in Ubuntu mode and then the laptop battery died, I could't reconnect no matter what I did. I tried disabling IPv6, altering the
router's config.  Nothing worked to reconnect.

Here's the simplest solution: reset the Belkin router.  There's a little recessed button on the back near the ethernet ports.

After the reset, it has no problem reestablishing connection when the router is reset. My guess its a MAC address release problem for the router with Unix systems.  But since I've got a workaround I'm not going to pursue it further.

N.B.  I upgraded to Ubuntu 13.04 and the problem ceased, I can reboot and reconnect wirelessly to the router; it might be a network stack problem in Ubuntu 12.10 that is exhibited when handshaking with a Belkin router. 

Sunday, June 16, 2013

Ubuntu 13.04 on Dell Latitude E6530 Alps touchpad

Out of the box, the 13.04 distro found the Alps touchpad but it doesn't work because Alps doesn't have Linux drivers ready.

To get it to work, I did:

sudo apt-get install xserver-xorg-input-synaptics

and then rebooted.  I needed to confirm they were installed so I used:

 modprobe -l |grep synaptics
kernel/drivers/input/mouse/synaptics_i2c.ko
kernel/drivers/input/mouse/synaptics_usb.ko
kernel/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.ko

Both track point and mousepad work now.

Tuesday, May 28, 2013

Changing your editor in Octave

I like using GNU Octave for simple math calculations because it's free and easy to use like MATLAB.  But I have problems with the documentation that is neither copious not intuitive. Often times they just repeat the source code.  Well I could read the source code but where's the deeper meaning???


Here is how to change your default editor under Octave:

You can make a ".rc" resource file and place it in your home directory that specifies the exact editor and source location. For Linux;

 EDITOR("/usr/bin/gedit")
inside a file called ".octaverc"

This changes it permanently.

If you want to change it during the current session only type:

 edit editor '/usr/bin/gedit'
at the octave prompt.