Gentoo and an Aptana Howto

Well yesterday, both Gentoo 2007.0 and Aptana milestone 8 were released. Thanks to some bugs in a previous release I was able to test milestone 8 on Gentoo last week; that was before ATI’s drivers went kamikaze.

Overall I am impressed with milestone 8, it features more advanced support of PHP, including variable highlighting. With Gentoo to install Aptana just make a folder in /usr/lib called aptana, then extract the archive to that point. After that make a file in /usr/bin called aptana, open it in your favorite editor (nano) and add the following:

#!/bin/sh
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
exec /usr/lib/aptana/Aptana

Save the file and do a chmod 755 on it so that it becomes executable. Now try typing in the command aptana& into your terminal. If all goes right you should see the aptana splash screen. If you get a bug, look at the log file it directs you to. Should you see something like org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] then your mozilla path is not correct. If the executable fails in general, you need to make sure you have the JRE 1.5 or newer. To get this just run emerge -p sun-jre-bin (you don’t have to use Sun’s JRE but that is what I use) if you like what you see then rerun the command without the -p. Once portage finishes doing its stuff, try executing Aptana again. It should work then, if not search the Aptana forums.

-John Havlik

[end of transmission, stay tuned]

Vista, Ha! No, Thanks.

Currently Windows only serves one purpose that Linux cannot. Think about it for a while. The only thing Windows does better is gaming. For the past 5 days, I lived without Windows.

There was a method to the ‘madness’, though something crapped out on me (ATI’s display driver) that just set me back a week. Luckily, I now work off of a 20GiB USB hard drive for anything important (work), which is good for when a system goes bonkers. In the process I realized two things:

  1. I really need a wide screen monitor.
  2. Having a laptop or some other powerful computer combined with my current setup would be nice.

Honestly, the realization of needing a wide screen monitor came earlier, but with the multiple desktops Gnome and KDE have, switching between them was fine, but it would be nice to fit Aptana and Firefox side-by-side for the benefit of testing. I’m just waiting for the ones that can fit 1080p HD video plus the taskbars to drop in price—one step down in resolution saves 300 USD. As for having an additional powerful computer (ideally a much more powerful one) so that I can have two separate computers, one that only runs Gentoo for work and daily use. Leaving the other open for playing games, and probably running distcc to aid in compiling for the other.

-John Havlik

[end of transmission, stay tuned]

Gentoo 2006.0, Hip Hip Hooray!

Now that pesky, fast running Linux distribution finally has a proper installation program and LiveCD. I had tested the 2005.1 LiveCD installer, which always seemed to forget to compile everything, but it did a nice job at doing some little stupid things, like USE flags, which I used to get mtekktux up and running with the aid of the Gentoo Handbook and an ‘install’ CD. I will be testing 2006.0 on mtekktux2 (same hardware as mtekktux but a 866Mhz instead of a 800Mhz) and mtekktux3 (my old system, well a combination of various ones but will have 512Mb ram, 1Ghz P3, and dedicated graphics), in doing so I’ll set up a DistCC compiler farm to aid the compilation of software such as KDE and Open Office which take forever to compile on a single 800Mhz box. Mtekktux may end up running with MythTV on top of Gentoo for a media center computer mod that I am planning. Mtekktux2 is mainly for NAT and will serve as my RADIUS server.

I am also working on a mockup web 2.0 style layout for the Weblogs.us main page, just to see what it could look like, I’m planning to send it to JD once I get it completed, probably a week of work left, since I’m fairly busy right now.

Here is the link: Gentoo Linux

-John Havlik

[end of transmission, stay tuned]

Mtekktux: Up and running

I’ve finally gotten mtekktux to a place where it is actually useful, rather than a just ‘geeky’ project. I have it set up as a file/print server, of which it took many hours out of yesterday and a few min. this morning to get the printer to work and then shared. I have file sharing working with a nice public folder and Apache, MySQL, and PHP seem to be working together in a nice way. I just need to share to www folder or get FTP to work. I think folder sharing may be easier to do, and more convenient.

-John Havlik

[end of transmission, stay tuned]

Building KDE 3.4

Well since about 9:00 pm last night my Gentoo 2005.1 server has been compiling KDE 3.4.1. I though that the kernel taking about two to three hours was long until I compiled Xorg-x11 which took something like three to five hours. Now KDE is officially the longest compiling thing I’ve compiled. It’s at about 19 hours in and still compiling, I expect it to complete by tomorrow morning. The next program to emerge after KDE is all up and running is TightVNC and then Apache, MySQL and PHP.

I had a problem with Xorg-x11 before, it kept crashing but that is because I have an entirely USB system that I’m installing it on. It had issues finding my Microsoft USB optical mouse, yeah I know MS and Linux don’t really go together, but I have several just laying around not in use. I had to manually configure the mouse and screen resolution and then x11 worked.

-John Havlik

[end of transmission, stay tuned]