Archive for the ‘Linux’ Category

Compiling Spring 3 from SVN on Linux

Wednesday, November 11th, 2009

Mostly so I don’t forget myself next time :-)

Don’t forget to checkout only the wanted HEAD revision from svn:

svn co -r HEAD https://src.springframework.org/svn/spring-framework/trunk spring-framework

If you have ant as part of your distro (as is the case in gentoo), download a binary ant distribution and run <your_new_ant_path>/bin/ant instead of the ‘default’ ant to prevent any classpath issues.

Make sure you do

export ANT_OPTS=”-XX:PermSize=128m -XX:MaxPermSize=128m”

If necessary add -Xmx512m or more too.

Enter build-spring-framework and run

<your_new_ant_path>/bin/ant

to build Spring. In order for Eclipse to be able to find all required jar’s, you’re probably best running the resolve ant target in most of the subprojects.

Open import the projects to an Eclipse workspace, set the IVY_CACHE classpath var in Eclipse prefs to spring-framework/ivy-cache

I had a few errors in tests for the oxm bundle failing, but since I don’t really need them anyways I just removed the src/test source dirs from the oxm project in Eclipse :-)

It’s 2 AM so yea, the above is probably pretty messy :)

Enabling networking in CentOS 5.2 on my ASUS P6T Deluxe

Wednesday, February 18th, 2009

Update : below stopped working after upgrading the kernel to version 2.6.18-92.1.22. Trying to find out why :-|

Update2 : okay I was too fast probably, seems to be working fine after a reboot :-)

The 2 onboard Marvell 88E8056 PCI-E ethernet on my P6T Deluxe weren’t autodetected by CentOS 5.2.

Got this workaround from the CentOS bugtracker :

# modprobe sky2
# echo “11ab 4364″ > /sys/bus/pci/drivers/sky2/new_id

It works! :-)

There’s a warning of data corruption on Gigabyte boards with this workaround, so better check first and do some more looking if you’re in that category.

64bit java plugin out in the wild aka Sun Java 6u12 released!

Monday, February 2nd, 2009

Get it hot! :-) As I’ll probably be waiting for this release to hit the/some Gentoo/Ubuntu repo, I have to say I’m surprised at the seemingly short interval between the last update releases. Seems 11 was only last week somehow.

As my previous Athlon64 and current Intel i7 Core are both 64bit, I do have to say I’m anxious to try the long announced java plugin for 64bit platforms. I’ve been using icedtea 6 on gentoo for a while, but as I need a Sun JVM for professional stuff I’m glad this update has finally arrived. Curious to see if it lives up to it’s expectations.

Besides all that, the included improvements seem quite numerous (take a look at the release notes)

Setting your keyboard layout in Linux through X

Thursday, January 22nd, 2009

Just a quicky for future reference:
setxkbmap -model pc105 -layout be -variant basic

Needed this in fluxbox.

Still no Google Chrome for Linux -> byebye Chrome for me

Saturday, January 10th, 2009

Google, while not doing any evil and supporting open source and all, is really screwing up it’s browser by simply only providing a decent build for window, even in with it’s latest 2.0 pre-beta (whatever the hell that might mean, where are the days when an alpha was an alpha build and a beta was a beta)

We all should have known this would be the case, it’s a company and in the end, the numbers are against us linux users. Who cares if a substantial part of the tech community runs linux or apple, it’s a browser for the end user!

This little joyride has gone on long enough, back to firefox, opera and some konqueror for me. Really looking forward to firefox 3.1 by the way, native ogg theora support and omg-faster-than-chrome-javascript!

I should have known that ‘comic’ looked too neat for an app targeting linux + not that I could live without my firefox extensions anyways :-)

So, although I’ve used and not especially dislike chrome, getting stuck on a single platform browser is the last of my intentions. Uninstalled baby!

64bit Flash plugin for Linux, finally!

Monday, November 17th, 2008

Pigs seem to be able to fly as Adobe today released a preview 64bit release of it’s Flash plugin!

Are the days of using nspluginwrapper finally over? I suppose we can’t expect too much of a preview but those days seem to be coming!

If now we get a fast 64bit native java runtime (with a working -client option please), I guess the productive life in the 64bit Linux world is finally no more painful than the 32bit world.

Kudos Adobe, this is a step in the right direction!

Now, please also create a Linux version equivalent (or even something better maybe) to Digital Editions and I can actually take advantage of my digital subscribtion to www.standaard.be to read the entire paper digitally.

GPL’d Java vs. Gosling Emacs

Monday, June 23rd, 2008

A nice comment on a slashdot story reporting on made advances in opening up Java taught me a few nice trivias on the history between Richard Stallman and James Gosling in the early days:

“In the early years (1984 to 1988), the GNU Project did not have a single license to cover all its software. What led Stallman to the creation of this copyleft license was his experience with James Gosling, creator of NeWs and the Java programming language, and UniPress, over Emacs. While Stallman created the first Emacs in 1975, Gosling wrote the first C-based Emacs (Gosling Emacs) running on Unix in 1982. Gosling initally allowed free distribution of the Gosling Emacs source code, which Stallman used in early 1985 in the first version (15.34) of GNU Emacs. Gosling later sold rights to Gosling Emacs to UniPress, and Gosling Emacs became UniPress Emacs. UniPress threatened Stallman to stop distributing the Gosling source code, and Stallman was forced to comply. He later replace these parts with his own code. (Emacs version 16.56). (See the Emacs Timeline) To prevent free code from being proprietarized in this manner in the future, Stallman invented the GPL.”

Nice to see how (as the comment author puts it) ‘Richard was right.’

The rest of the comment ( & story) is equally worth a read. Long live the GPL & Java! & so many others :)

Nice overview of VMWare config settings

Saturday, June 21st, 2008

First of all, the overview

This actually helped me resolve running VMWare images on ntfs partitions mounted with ntfs-3g on linux, which generated errors with the default configuration. Once I set added

mainMem.useNamedFile = "false"

to the .vmx file, I was able to run the images just fine from my ntfs partitions.

Managing drives and devices in Linux

Friday, April 18th, 2008

Although I’ve got persistent device naming etc. configured, I’m still hoping to fully grasp & master the needed configfiles for udev, hal etc. So I found a few links (lots of overlap but hey):

On a sidenote, the annoying bug in Ubuntu Hardy Beta (causing new mount dirs to be created in /media with appended underscores) appears to have been fixed. Time to install some more (92 in fact) updates :-)

Update: I forgot to add a nice PDF from Linux Magazine on the subject : Dynamic device management in udev

That went well

Saturday, April 5th, 2008

The only thing which seemed to cause a problem was my lack of use of persistent naming. I changed the label of my ubuntu partition to Ubuntu using

e2label /dev/sdc7 Ubuntu

and changed the root partition definition in my grub.conf to

root=/dev/disk/by-label/Ubuntu

and everything worked flawlessly.

OpenOffice 2.4 OpenGL transitions are nice, and so far the entire distro has a pretty nice feel to it. I’ll be looking forward to the result in 3 weeks.