Pages: 1 2 »
  Print  
Author Topic: Help me run ENIGMA on Ubuntu  (Read 4193 times)
Offline (Male) vuvk
Posted on: September 25, 2012, 03:58:49 AM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
Hi all! Help me, please. I have Ubuntu 12.04 and Linux Mint 13. ENIGMA can't start on it.
My steps:
Quote
sudo apt-get install g++ zlib1g-dev libglu1-mesa-dev libalure-dev git
git clone git://github.com/enigma-dev/enigma-dev.git
cd enigma-dev/
python install.py
java -jar lgm16b4.jar
and I see that
Quote
Process terminated
Initializing Enigma:
Linking up to IDE
Implementing JDI basics
UnimplementedUnimplemented

Choosing language... Eenie, meenie, minie, C++
Reading GCC builtins
Read key `defines` as `cpp -dM -x c++ -E $blank`
Parsed `cpp` `-dM -x c++ -E blank.txt`: redirect=yes
TRUE




*********** EXECUTE
  `/usr/bin/cpp`
  `-dM`
  `-x`
  `c++`
  `-E`
  `blank.txt`



Call succeeded
Read key `searchdirs` as `gcc -E -x c++ -v $blank`
Parsed `gcc` `-E -x c++ -v blank.txt`: redirect=yes
TRUE




*********** EXECUTE
  `/usr/bin/gcc`
  `-E`
  `-x`
  `c++`
  `-v`
  `blank.txt`



Call succeeded
Searching for directories between "#include <...> search starts here:" and "End of search list."
Toolchain returned 9 search directories:
Creating parse context
Parsing settings...





Could not open ENIGMAsystem/SHELL/Graphics_Systems/OpenGL/Config/xlib.ey.





Could not open ENIGMAsystem/SHELL/Widget_Systems/None/Config/xlib.ey.





Could not open ENIGMAsystem/SHELL/Audio_Systems/OpenAL/Config/xlib.ey.
TOINT: 0
TOINT: 0
TOINT: 0
TOINT: 0
TOINT: 0
Setting up IDE editables...
%e-yaml
---
treat-literals-as: 0
sample-lots-of-radios: 0
inherit-equivalence-from: 0
sample-checkbox: on
sample-edit: DEADBEEF
sample-combobox: 0
inherit-strings-from: 0
inherit-escapes-from: 0
inherit-increment-from: 0

target-audio: OpenAL
target-windowing: xlib
target-compiler: gcc
target-graphics: OpenGL
target-widget: None
target-collision: BBox
target-networking: None

extensions: Universal_System/Extensions/Alarms,Universal_System/Extensions/Timelines,Universal_System/Extensions/Paths,Universal_System/Extensions/MotionPlanning,Universal_System/Extensions/DateTime,Universal_System/Extensions/DataStructures

Creating swap.
Dumping whiteSpace definitions...Opening ENIGMA for parse...
Segmentation fault
I read this http://enigma-dev.org/docs/Wiki/LateralGM:Workdir but didn't understand nothing. what should I do more?
P.S.: sorry for my bad english.
Logged
Offline (Male) polygone
Reply #1 Posted on: September 25, 2012, 05:03:47 AM

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
Looks like the same problem posted by somebody else recently:
http://enigma-dev.org/forums/index.php?topic=991

So Josh will have to get on the case, won't be happy about that :-X
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: September 25, 2012, 01:21:30 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
Interesting. Are you on 32-bit as well, vuvk?

Also, is your working copy entirely up to date?

I have fixed everything I could find on 64bit; at present I just do not have a 32-bit system available. I will try to get one booted in a VM, as this is becoming a pandemic.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) vuvk
Reply #3 Posted on: September 25, 2012, 01:45:35 PM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
I have 32 and 64-bit versions of Ubuntu. I see this message on both. "git pull" or "python install.py" for update, right? On Debian in a virtual machine, I also could not run ENIGMA with this error... :(
Logged
Offline (Male) Josh @ Dreamland
Reply #4 Posted on: September 26, 2012, 11:53:40 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
I have shelled in to a 32-bit box of mine running an old version of Ubuntu. I still can not reproduce this issue.

I need someone who actually has this problem to show up on the ENIGMA IRC channel and work with me to resolve this.
« Last Edit: September 26, 2012, 12:09:12 PM by polygone » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #5 Posted on: September 26, 2012, 12:25:34 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
To update, do both a "git pull", followed by a "python install.py". The prior will update the ENIGMA compiler, and the latter will update the binary drivers for it (LateralGM and the Plugin). Since the binary drivers are updated less frequently, "git pull" is the more important one.
Logged
Offline (Male) vuvk
Reply #6 Posted on: September 28, 2012, 06:44:51 AM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
I tried to run ENIGMA an old version of Ubuntu 10.04 today. It does not work too :o
Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: September 28, 2012, 03:49:04 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
Okay, now I need to figure out what you and nbeerbower have in common. No one else has been able to reproduce this.

It's clearly something about your computer or the way you configure all of your operating systems.

I doubt it's international settings; nbeer lives in Pennsylvania. We've established it's not architecture, because it works fine on my 32-bit computer. What does that leave?
« Last Edit: September 28, 2012, 03:50:47 PM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) vuvk
Reply #8 Posted on: September 28, 2012, 11:17:21 PM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
Yesterday, I tried to run ENIGMA on my computer at work with an intel core i3. At home I have a computer with an AMD 64. I just take the image downloading from the site of Ubuntu, the following description (http://enigma-dev.org/docs/Wiki/Install:Git) and it does not work.
Logged
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: September 29, 2012, 10:23:12 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
When I follow the steps in the wiki, ie, when I run
Code: [Select]
git clone git://github.com/enigma-dev/enigma-v.git .
python install.py
java -jar lgm16b4.jar

Everything is downloaded and installed correctly, and the system runs fine. I can run my Ludum Dare entry and everything. So assuming those are the steps you followed, it must be something different about the ISO you obtained. I'm willing to download that ISO and attempt to run ENIGMA on it, but I will need you to link me to it or tell me explicitly how you downloaded it (For starters, was it the 32-bit or 64-bit disc?).

Also, what is the output from java -version on your machine?
« Last Edit: September 29, 2012, 10:25:18 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) vuvk
Reply #10 Posted on: September 29, 2012, 11:44:44 PM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
Again, I have tried 32 bit and 64 bit versions.  Linux Mint 13 on my computer now (http://www.linuxmint.com/edition.php?id=103). Ubuntu 10.4, I took here (ftp://mirror.yandex.ru/ubuntu-releases/10.04/) version for i386.  :)

Code: [Select]
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

Code: [Select]
$ uname -a -p -i
Linux linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 athlon i386 GNU/Linux


Logged
Offline (Unknown gender) forthevin
Reply #11 Posted on: October 06, 2012, 09:30:13 AM

Contributor
Joined: Jun 2012
Posts: 167

View Profile
I recently installed ENIGMA on a fresh 64-bit virtual machine with Ubuntu 12.04, and I experienced no problems apart from some dependencies.

Maybe executing the following commands before running "java -jar lgm16b4.jar" might help?

"sudo apt-get install zlib1g-dev libdumb1-dev libvorbis-dev"

"make"
Logged
Offline (Male) Josh @ Dreamland
Reply #12 Posted on: October 06, 2012, 09:52:42 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
I would think the link errors would be reported along with the segfault notification if that were the case, but it may be. Usually GlibC is good about reporting runtime link problems.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) vuvk
Reply #13 Posted on: October 06, 2012, 10:04:57 PM

Member
Location: Russia
Joined: Sep 2012
Posts: 6

View Profile WWW
Yes, it is perfectly done with "make", but lgm16b4.yar crashed with "Segmentation fault (core dumped)"  :-\
Logged
Offline (Unknown gender) forthevin
Reply #14 Posted on: October 07, 2012, 06:38:18 AM

Contributor
Joined: Jun 2012
Posts: 167

View Profile
I managed to reproduce the error using 32-bit Debian Stable (Squeeze) in a virtual machine.

I have debugged it a bit, and the segmentation fault seems to occur somewhere near the following two lines:

Code: [Select]
CompilerSource/JDI/src/API/lexer_interface.cpp: line 27.
CompilerSource/JDI/src/System/lex_cpp.cpp: line 1113.

The values of some of the arguments in the constructor call in the second file:

Code: [Select]
lcpp->filename: /usr/include/c++/4.4/i486-linux-gnu//bits/c++config.h
lcpp->line: 1326
pos-lcpp->lpos: 68

The content of /usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h, lines 1326-1329:

Code: [Select]
#if defined (_GLIBCXX_HAVE__MODF) && ! defined (_GLIBCXX_HAVE_MODF)
# define _GLIBCXX_HAVE_MODF 1
# define modf _modf
#endif
Logged
Pages: 1 2 »
  Print