[KLUG Members] Problems with compiling package

Ross Smith smithross at live.com
Wed Feb 20 09:13:02 EST 2008


>Hey guys,
>
> 
>First off, thanks again for a very inviting and fun first meeting.
>I will certainly be back as evening availability allows.
>
> Andrew, as requested, here is the package I am trying to compile:
> 
>http://games.flowix.com/files/einstein/einstein-2.0-src.tar.gz
> 
>I tried the ./configure command, to which it stated that no file or
>directory "configure" exists. I did check and gcc is installed on my
>system, as is sudo, however it tells me that my username is "not in the
>sudoers file. This incident will be reported."(?)
> 
>The README is also a bit confusing, as it directs me to "edit the
>Makefile," for which two lines into the Makefile, it says "do not modify
>rest of this file."
> 
>I did notice that some of my errors said it couldn't find SDL
>installed, so I did have luck installing the source code for that using
>the exact instructions I learned tonight. Any further ideas? Thanks,
>guys. Once again, glad to meet you tonight and I look forward to
>catching you guys again.
> 
> 
>Nate

Nate,

If I remember correctly, the first user in Ubuntu (assuming that's what you are using) you choose to setup on install will have the ability to sudo immediately.  Using the initial user, you can 'sudo' edit the /etc/sudoers file and add the user manually.  Or, for an easier (GUI) approach, just follow these instructions:

https://help.ubuntu.com/7.10/administrative/C/sudoers.html

Regarding einstein itself, the Makefile looks fine as-is for a default install.  There is not a configure file so you shouldn't have a need to run configure (there doesn't seem to be anything that needs configuring, anyway).  I believe you'll want to make sure you have the 'build-essential' package installed.  That should prevent any issues related to the compiler.  Also, make sure you have the package for SDL-config installed (libSDL?).  I don't use Ubuntu anymore, but hopefully that will help.

Try this from command line, logged in as the initial user or a user you give sudo access to (modify to adhere to your local settings):

==
sudo su    <--- Enter the password for the username you are logged in as when prompted

apt-get install libsdl build-essential

cd 

make install
==

Hope that helps.  If someone else is using Ubuntu/Debian based distro they might be of better help.

-- Ross
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join


More information about the Members mailing list