Pages: 1
  Print  
Author Topic: [solved... er... and some unsolvable] ENIGMA not working on Trisquel  (Read 1402 times)
Offline (Unknown gender) onpon
Posted on: November 28, 2013, 07:13:44 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
EDIT: Half the problem was solved, half was from a corrupt GMK.

Trisquel 6 is a variant of Ubuntu 12.04 with no proprietary software.

Unfortunately, when LateralGM tries to use ENIGMA to compile something on Trisquel 6, OpenJDK crashes. A log file is created, and it suggests reporting it on Ubuntu's bugtracker. (Also happens with OpenJDK 7.)

To reproduce, open this file with LateralGM (from the latest Git of ENIGMA): http://www1.datafilehost.com/d/98f24ae5

Press the "run" button. At some point during compilation, Java and LateralGM crash, producing a log file like this:

http://www1.datafilehost.com/d/a15354f1

I can't tell if this is a Trisquel bug, an upstream (Ubuntu) bug, or a LateralGM bug. Any thoughts? I'd really like to be able to use ENIGMA.
« Last Edit: November 29, 2013, 08:49:33 PM by onpon » Logged
Offline (Male) Goombert
Reply #1 Posted on: November 28, 2013, 07:17:27 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Have you tried compiling a different game other than that one? For instance, please try some from the EDC, it could be specifically related to that game and could be an issue with something completely different.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) onpon
Reply #2 Posted on: November 28, 2013, 08:52:24 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
Alright, I tried this:

http://enigma-dev.org/edc/games.php?game=69

I didn't get a crash, but I got an error. This is the whole output (starting from the time LateralGM was ran):

http://pastebin.com/RZfrJXC0


This one also doesn't cause a crash, but gets an error:

http://enigma-dev.org/edc/games.php?game=68

Here's the output for that:

http://pastebin.com/8MNKZMwm
Logged
Offline (Male) Goombert
Reply #3 Posted on: November 28, 2013, 11:10:49 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Quote
Unknown function or script `get_string'
That was a pretty simple bug, on Linux widget systems are not enabled by default. You need to download GTK, and then set it under Build->Settings "API" tab.

I don't know what went wrong with the second one.

Try this game: http://enigma-dev.org/edc/games.php?game=43
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) onpon
Reply #4 Posted on: November 29, 2013, 08:41:21 AM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
That one's an error, too:

http://pastebin.com/zp70yzm1

EDIT: After fixing the get_string thing, this is now the error on the first example I tried:

http://pastebin.com/q82rJVJN

EDIT 2: Just out of curiosity, I tried a blank game with just one empty room. It failed to compile with the same error everything else is getting.

So Bowser's Last Stand's particular problem is unique to it, but there's some other problem with my setup. Maybe the problems are related somehow. I'm not sure what it is; I followed the instructions on the wiki for getting the latest revision from Git:

http://enigma-dev.org/docs/Wiki/Install:Git
« Last Edit: November 29, 2013, 06:03:44 PM by onpon » Logged
Offline (Unknown gender) onpon
Reply #5 Posted on: November 29, 2013, 06:47:43 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
OK, on IRC, fundies helped me out a bit. Here's a log of the conversation:

Code: [Select]
<onpon4__> Does anyone here use Ubuntu LTS, by any chance?
<fundies> we have few ubuntu users here but not lts
<fundies> onpon4__, you have enigma issue? or ubuntu issue?
<onpon4__> fundies: http://enigma-dev.org/forums/index.php?topic=1631.msg15755
 I just wondered if I could easily weed out this problem being with Ubuntu LTS.
<fundies> can you compile empty game?
<onpon4__> fundies: Nope.
<-- theweirdn8 (6cfcb122@gateway/web/freenode/ip.108.252.177.34) has left #enigma
<DarkAceLaptop> ur hysterical fundies
<fundies> onpon4__, paste me a full log of empty gaym
<onpon4__> Sure.
<DarkAceLaptop> he means game
<onpon4__> fundies: Just up to the error, right?
<fundies> onpon4__, log from the terminal not lgm's console
 onpon4__, eerything
<onpon4__> fundies: Everything, including what's printed between the error happening and LGM being closed?
<fundies> java -jar lateralgm.jar &> log.txt
 after lgm opens hit run
<onpon4__> Alrighty then.
<fundies> once it fails close it n gimme log.txt
<onpon4__> fundies: Here you go: http://pastebin.com/gz8r3xF3
<fundies> DarkAceLaptop, nah its gaym
<DarkAceLaptop> fundies is still learning how to spell, you see
<fundies> onpon4__,  in another terminal inside the enigma-dev directory
<fundies> make Game GMODE=Run GRAPHICS=OpenGL1 AUDIO=OpenAL COLLISION=Precise WIDGETS=None NETWORKING=None PLATFORM=xlib CXX=g++ CC=gcc COMPILEPATH=Linux/Linux EXTENSIONS=" Universal_System/Extensions/Alarms Universal_System/Extensions/Timelines Universal_System/Extensions/Paths Universal_System/Extensions/MotionPlanning Universal_System/Extensions/DateTime Universal_System/Extensions/ParticleSystems Universal_System/Extensions/DataStructures" OUTPUTNAME="/tm
 p/egm2379810218064168016.tmp"
 put that
 npaste
 DarkAceLaptop, shush ur ass
<onpon4__> fundies: I get an error with that as well.
<fundies> paste it please
<onpon4__> fundies: http://pastebin.com/GAcqp99p
<fundies> ah
 that errors cause noones merged https://github.com/enigma-dev/enigma-dev/pull/528 yet
 though im not sure wht lgm is having trouble running make
--> AndyEH (~Andy@pool-70-16-103-249.port.east.myfairpoint.net) has joined #enigma

After I switched to fundies' fork on GitHub, I was able to compile a blank game, the FPS example, and the isometric Mario example. The platformer thing still doesn't work, and I still have the same crash with Bowser's Last Stand, so the problem's not solved, but it's a step forward, anyway.

EDIT: The rest was a corrupt GMK, as was found out on IRC.
« Last Edit: November 29, 2013, 08:50:19 PM by onpon » Logged
Pages: 1
  Print