fredag 12 november 2010

Troublesome workspace

So far this day is not a huge success. I noticed that Gworkspace needed PDFKit to work at it's best. Well, at least to be able to display PDF metadata in the fileviewer. However, I never managed to get PDFKit to compile since it kept babbling about old freetype2 headers. I compiled and installed GWorkspace anyway, and it didn't complain. Until i tried to start it, all I got was ugly
GWorkspace: error while loading shared libraries: libFSNode.so.0: cannot open shared object
In my face. No clue about that, and since I was unsure about whenever I would get one, I simply went on with my windowmaker session. Now windowmaker never was a favorite of mine, but it's fast.

So, not sure wether or not I should go for Gworkspace again or simply build my GNUstep apps and run it on wmaker. I could, of course, head for Etoile also.. Better play with Gorm and think about it.

torsdag 11 november 2010

Installing GNUstep

So, I have this clean Ubuntu 10.04 installation. Now, all I need are some GNUstep, but which path should a young apprentice walk? There are gnustep packages in the Debian/Ubuntu repository, but after consulting the gnustep mailinglist I'm advised to only install dependencies and then get the GNUstep-core form subversion.

An "up to date" dependency listy wasn't easy to find, but I googled my way and learned that these ones were needed for the 8.04 release so I apt-getted those for starters.


subversion (for downloading GNUstep from svn repository)
gobjc
libxmu-dev
libcairo2-dev (cairo backend)
libart-2.0-dev (art backend)
libxslt1.dev
libtiff4-dev
libgif-dev
libssl-dev
libgmp3-dev
libffcall1-dev
libaspell-dev
libcups2-dev



I then headed over to the subversion repos and checked out the core module
svn co http://svn.gna.org/svn/gnustep/modules/core core
After that, the INSTALL file tells me that I need to run the good old "./configure, make, make install" on the different packages. (make, base, gui, back). So, here I can relax and watch the magic as sourcecode transforms into applications on my screen.. poetry... and nothing for the impatient.
If there are any complains from configure about missing packages, install them . I for example had to throw in libffi to keep him satisfied.
The first major problem came with the installation of the gui package when it complained about libgnustep-base. It seem that you really need to be root here, and have the right environment variables setup. I did this to keep going
$ sudo su
$ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
$ make install
Thats it, next time I'll try to get a default desktop. GWorkspace  is the first candidate.

History of GNUstep

While I'm waiting for a new install and update of Ubuntu 10.04 (yes I'm a chicken, I go with the old ubuntu software - think it's better for GNUstep dependencies) I read Chisnalls old article about the GNUstep history. Interesting reading, highly recommended.

Going GNUstep

I've always had a thing for Linux. Ever since I installed a fresh Red Hat 5.0 and spent a week getting KDE pre 1.0 and sound to work. It was great, nothing is like firing up bash and do some serious scripting, that's for sure.
However, work has driven me from the linux playground and I only fire up a virtual machine now and then just for the joy of it.
But maybe that's about to change. The success of Mac & iPhone has made obscure programming languages like Objective-C kind of "hot" again. and since I always need to now something about everything (especially "hot" stuff) I need to play around with Objective-C. I am not keen about buying a mac yet though, so I thought I will go the free route. That means, install a fresh Ubuntu and try to get old GNUstep installed with some nice theme. (Grey sucks). Stay tuned for more info,...