Categories
Arch Linux HowTo Linux Posts

Failed to build Planner-0.14.4 in Arch Linux

When trying to install Gnome Planner ( http://live.gnome.org/Planner ) in Arch Linux, I came across this error:

Error:

/usr/bin/pygobject-codegen-2.0: line 11: /usr/bin/python2: No such file or directory
make[2]: *** [planner.c] Error 127
make[2]: Leaving directory `/home/alex/Desktop/planner-0.14.4/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/Desktop/planner-0.14.4'
make: *** [all] Error 2

To fix this, I made a symbolic link from /usr/bin/python2.7 to /usr/bin/python2, this should work with other similar errors involving missing python2 file.

sudo ln -s /usr/bin/python2.7 /usr/bin/python2

Once you have made the made the symbolic link continue to make and install the program as usual.

Categories
Arch Linux HowTo Linux Posts

Installing packages from CD in Arch Linux

Okay, so you have Arch Linux installed and let’s say you’re wifi isn’t working and you need the package “iwlwifi-3945-ucode-15.32.2.9-2-any.pkg.tar.gz” to fix this but you don’t have a wired connect. What do you do? Blast in your Arch cd, mount it, mount the packages sqfs file and install using pacman.

Mount cdrom:

mkdir /mnt/cdrom/
mount /dev/cdrom /mnt/cdrom/

Mount *-pkgs.sqfs:

mkdir /mnt/pkgs/
mount -o loop core-pkgs.sqfs /mnt/pkgs/
cd /mnt/pkgs/

Install pkg.tar.gz:

pacman -U package-name.pkg.tar.gz