Still compiling, and still learning

My attempts to speed up Kazehakase by recompiling it, along with XULRunner, were only a modest success, but I did learn a few things, or at least about a few utilities that help.

First, if you’re using Arch Linux and you’re not using yaourt, you’re missing out. Yaourt makes everything easier. On top of all the nifty things it adds to pacman, you also get a great tool for compiling and building your own customized software.

For example, in my case, I’m having a terrible time getting abs to install. I get weird FTP errors (“Invalid PROTO command from server,” or something like that) and the tree won’t download or unfold for me. It’s frustrating, since I really wanted to be able to custom-compile some other applications.

Yaourt to the rescue: I open a folder for the application I want to remake. yaourt -G pkgname grabs the PKGBUILD and any associated construction files from AUR or the Arch repositories. Then I can edit the PKGBUILD manually, or use something like customizepkg to carve it into the shape I desire. And makepkg takes care of the rest.

Of course, when I started out using Arch, I picked it because I had no desire to compile things myself, and I still don’t (most of the time). I still feel time lost to recompiling is generally better spent doing more interesting things … like using your computer.

On the other hand, I also think that for some very old machines, Arch Linux is an improvement over Ubuntu, mostly because it’s leaner, but also because Arch seems geared toward low-level tweaks. Granted, similar tools are probably there for Ubuntu, but if you’re going to work at that level, it’s hard to beat the scripts and tools Arch users have designed for the task.

And besides, when I do try another Ubuntu installation, I have all the information I need for rebuilding the same applications, from the Arch side of the house.

About these ads

2 Responses to “Still compiling, and still learning”


  1. 1 Justin 2007/12/19 at 1:34 AM

    I recently switched to arch from ubuntu because of your blog, and I installed yaourt and noticed the yaourt -Sb option, If i compile from source, is it still uninstalable from pacman -R? Sorry if its a dumb question but i didnt know :) If so, i was think if uninstalling, and re-installing and compiling everything, atleast for the initial xorg etc to see if it helps.

  2. 2 K.Mandla 2007/12/19 at 8:25 AM

    Yup. Yaourt and pacman work hand in hand, although to be honest, once I’ve installed yaourt I rarely need pacman. So if you compile and install with yaourt, like you showed, you’ll be able to rip it out with pacman or yaourt later.

    I usually use yaourt -Rcsn pkgname to cut out a package, just because I like to carve away all the dependencies too, as well as configuration files. It helps if I’m troubleshooting something later.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,830 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: