Category: SourceForge

SuperTuxKart

Ok, time for a quick break.  I saw SuperTuxKart had a new version, and I wanted to try it out a long time ago.   I never could get it to compile — there was a dependency that I only saw in Windows.  When I got the SourceForge newsletter recently, it reminded me to check again.  They have a Mac version for download, so maybe it will work.

Packages I installed for dependencies:

configure: error: cannot find useable OpenAL installation. You need to install OpenAL.

libopenal-dev

checking for library containing ov_open… noconfigure: error: cannot find useable Ogg Vorbis installation. You need to install libogg and libvorbis.

libogg-dev, libvorbis-dev

configure: error: Can’t find irrlicht installation in standard prefixes, use –with-irrlicht…

libirrlicht-dev, libirrlicht1.7

Finally, all the packages are installed.  Now, “./configure”. Next, run “make”.

Now, it tested fine with “./src/supertuxkart”.

Since, it worked, I did “sudo make install” to install it.

Creating a SourceForge Project with Eclipse

I have been wanting to try my hand at an open source project. The new project is ContactDB.

First, I had to create my SSH key. I followed the OpenSSH instructions here.

This is the command that I used to create the key:

ssh-keygen -t dsa -C "myusername@shell.sourceforge.net"
  • Remember to replace the “myusername” with your actual user name.
  • I used the default location to save the key (/home/myuser/.ssh/id_dsa)
  • I entered a passphrase.

Once I had the key generated, I opened the file in a text editor: /home/myuser/.ssh/id_dsa.pub and copied the new line that I just created. On my account page at SourceForge, under the section “Host Access Information”, I clicked “Edit SSH keys for Shell/CVS”. I pasted the line that I copied into the large textbox and clicked update.

I couldn’t do the initial import in Eclipse for some reason.  So, from the command line:

 CVS_RSH=ssh; export CVS_RSH
 export CVSROOT=:ext:myusername@contactsdb.cvs.sourceforge.net:/cvsroot/contactsdb
 cvs import -m "initial project files" contactsdb initial start

In Eclipse, I created a new workspace. Then, I created a new project (File, New Project …). For the type, I chose CVS, Projects from CVS.

Next, it asked me for the repository location information (remember to substitute contactsdb with your project name):

  • Host: contactsdb.cvs.sourceforge.net
  • Repository path: /cvsroot/contactsdb
  • User: you user name
  • Password: the password you set in the SSH key generation
  • Connection Type: extssh
  • Port: Use default port

Next, Eclipse asked me to select a module. I chose the “Use specified module name”, and I chose my project name for the module (“ContactsDB”).