PDA

View Full Version : Trouble Compiling Sega Emulator Gens


kate_lar
October 26th, 2005, 02:27 PM
I'm a new Ubuntu user, Breezy if running great on my HP pc with an Athlon.
I'm trying to compile the Sega Emulator "Gens" (from: http://sourceforge.net/projects/gens/ ) and when I type "configure" I get

./configure
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

I've been able to compile other things (Zsnes, among other things) after using synaptic to get gcc, make, various development libraries, etc.
I'm not a programer, help! :confused:

GIBson3
October 26th, 2005, 02:40 PM
I'm not sure it would cause the issue, but that Configure file has a "windows" escape character on the end (that's the ^m) Getting rid of that would be my first guess. Try opening the configure file up (gedit, vi, emacs, nano, etc) and get rid of the ^M's, then try running it.

kate_lar
October 27th, 2005, 04:36 PM
Thanks so much for your help! I went into Kate and changed the "configure" file from "End of Line - Microsoft" to "End of Line - Unix" and that got me quite a bit further.
Though now when I type "configure" it acts like it's getting somewhere but then says:

/debug/gens-debug.Po: No such file or directory

Any suggestions?

-DarkMind-
December 10th, 2005, 08:49 PM
im bored about gens, this program never compile :(

someone have the .deb??

phanboy_iv
January 4th, 2006, 03:14 PM
Acutally, I run the Windows version of Gens+ under wine and with some configging it runs better that the current "native" linux version. SegaCD/Sega 32x support works very well too.

endy
January 14th, 2006, 06:55 AM
I got gens-rc3 to compile, I did have to edit the "GensForLinux/src/gens/emulator/g_main.c" file and remove the "static" on line 753 to get it to compile but it seems to have done the trick.