Pages: 1 [2]
  Print  
Author Topic: Makefile is fucked  (Read 1311 times)
Offline (Male) ugriffin
Reply #15 Posted on: November 09, 2011, 03:59:43 AM

Member
Location: London, United Kingdom
Joined: Dec 2010
Posts: 26

View Profile WWW Email
I remember we even discussed methods to fix the thing. It's not an easy bug, I think.

I'll track it down later, TBH I can't remember it either.
Logged
Offline (Male) Fede-lasse
Reply #16 Posted on: November 09, 2011, 06:43:07 AM

AI Programmer
Fede
Location: Denmark, Europe
Joined: Oct 2008
Posts: -2342534e-10
MSN Messenger - lasse1706@hotmail.com
View Profile WWW Email
Maybe [joshisawimp] or EnigmaBot can?
Logged
Call me Fede.
Offline (Female) IsmAvatar
Reply #17 Posted on: November 09, 2011, 12:46:25 PM

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

View Profile Email
I'm sure EnigmaBot has it, I'm just not sure what to search for. There'll be too many results for Apple or JVM.
Logged
Offline (Male) Josh @ Dreamland
Reply #18 Posted on: November 09, 2011, 11:18:04 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2278

View Profile Email
There wouldn't be that many results for his name.
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 #19 Posted on: November 10, 2011, 03:06:34 PM

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

View Profile Email
Quote
ismavatar@socrates:~$ grep ugriffin screenlog.0 | ircLogReformat
[22:28:59] <ugriffin> Hey everyone. :P
[22:29:17] <ugriffin> I read your blogpost, Josh.
[22:29:24] <JoshDreamland> Which one, ugriffin?
[22:29:34] <ugriffin> 64digits, via the GMC.
[22:29:41] <ugriffin> The ENIGMA rant.
[22:29:55] <ugriffin> I think so.
[22:30:10] <ugriffin> There's a little discussion on open source Game Maker. Naturally, ENIGMA was thrown.
[22:30:16] <ugriffin> Yep... the 'stab' enigma in the face.
[22:30:30] <ugriffin> And I remember, back in my linux days, startx fixed X crashing. :P
[22:32:51] <ugriffin> Awright, I'm going for a quick (food) break, I'll be back in 30. So consider me AFK.
[22:33:19] <JoshDreamland> I'll ask you for the link once I have a browser, ugriffin
[22:33:33] <ugriffin> ok. :P
[22:33:45] <ugriffin> AFK as of now.
[23:14:39] <ugriffin> Hi again. :P
[23:31:09] <ugriffin> *sips from coke*
[23:31:49] <ugriffin> I remember Nvidia gave me trouble with Linux drivers back in the day.
[23:32:03] <JoshDreamland> ugriffin: Always. But this is a special case
[23:32:33] <ugriffin> JoshDreamland: what did you break? xconf?
[23:33:39] <ugriffin> reboot?
[23:40:43] <JoshDreamland> ugriffin: What was the title of the blog you found?
[23:41:03] <ugriffin> It was your 64digits blog. :P
[23:41:05] <ugriffin> Hang on lol
[23:41:33] <JoshDreamland> ugriffin: I'm at a loss for any sort of graphical interface at the moment, or even a text-based browser which would cause me to stab out my eyes even if I did have one
[23:42:56] <ugriffin> Why the hell are you using Arch. Ubuntu?
[23:43:06] <ugriffin> .........
[23:43:27] <ugriffin> I used Linux for around 2 years. And I live and die by Debian based shit.
[23:43:58] <ugriffin> Is your system set up with a separate partition for the home folder?
[23:44:30] <ugriffin> Had you done that, you could've reinstalled and got rid of the problem.
[23:44:50] <JoshDreamland> ugriffin: Re-installing isn't going to fix this problem
[23:44:57] <ugriffin> Why not?
[23:46:09] <ugriffin> Well... my experience with Linux taught me that when something broke proper, I just reinstalled (as my home folder was separate from the main system) and problem fixed.
[23:46:55] <ugriffin> Usually, when my NVIDIA drivers broke, I'd LiveCD into my HD, insert the latest NVIDIA somewhere easy, and then force install them over the old ones.
[23:47:22] <ugriffin> NVIDIA usually writes into your xconf file, so everything is set up nice and tidy.
[23:47:25] <JoshDreamland> I've never used a liveCD for that, ugriffin, but I've done similar via -quiet3
[23:48:58] <ugriffin> Hmmm. A good keyboard is essential.
[23:49:41] <ugriffin> Does the latest Ubuntu work with your machine?
[23:49:55] <ugriffin> Why?
[23:50:02] <ugriffin> Why?
[23:50:07] <ugriffin> lol ok
[23:50:13] <ugriffin> Hang on then.
[23:54:06] <IsmAvatar> jesus christ, I step out for 10 minutes and the whole chatroom explodes with Josh and ugriffin
[23:54:11] <ugriffin> Did they fuck up Ubuntu like that? I ditched Linux when I switched for OS X
[23:54:16] <ugriffin> Hi IsmAvatar. :P
[23:54:38] <JoshDreamland> ugriffin: Yes, Ubuntu is totalled.
[23:55:11] <ugriffin> It'll prolly be stable by the next LTS release. That's the way with Ubuntu. I know it sucks lol.
[00:09:48] <JoshDreamland> ugriffin: Did you ever find the title of the blog you stumbled upon?
[00:10:12] <ugriffin> It's your 64digits blog, the post before the Ubuntu one.
[00:10:26] <ugriffin> It's called ENIGMA.
[00:10:33] <ugriffin> Yeah, someone @ the GMC linked to it.
[00:11:03] <ugriffin> Well, I read it out of the GMC. To be honest I have no idea how I can be useful here.
[00:11:10] <ugriffin> fedde-lasse does.
[00:11:13] <ugriffin> Or that. :P
[00:11:49] <ugriffin> Chiken. Sometimes. If he's part of the 'team'.
[00:12:30] <ugriffin> He sometimes does. Rarely.
[00:13:08] <ugriffin> IsmAvatar shows up on stuff every now and then.
[00:13:24] <ugriffin> She contributed to that same GMC topic where I found that blogpost link.
[00:15:31] <ugriffin> Well, the thing is that support for YoYo is pretty high right now, so some of your anti YoYo stuff obviously conflicts with the GMC haha.
[00:15:47] <ugriffin> So you'd better change that viewpoint if you wanna gather more people.
[00:16:08] <ugriffin> IsmAvatar: could you please forward those two messages to Josh? I'm hitting the sack.
[00:17:19] <ugriffin> Josh, to continue our convo:
[00:17:33] <ugriffin> Well, the thing is that support for YoYo is pretty high right now, so some of your anti YoYo stuff obviously conflicts with the GMC haha.
[00:17:41] <ugriffin> So you'd better change that viewpoint if you wanna gather more people.
[00:17:54] <IsmAvatar> [00:15] <ugriffin> Well, the thing is that support for YoYo is pretty high right now, so some of your anti YoYo stuff obviously conflicts with the GMC haha.
[00:17:56] <IsmAvatar> [00:15] <ugriffin> So you'd better change that viewpoint if you wanna gather more people.
[00:17:57] <IsmAvatar> [00:16] <ugriffin> IsmAvatar: could you please forward those two messages to Josh? I'm hitting the sack.
[00:18:04] <ugriffin> Ok, right, now I need to hit the sack. :P
[00:18:11] <ugriffin> Lol IsmAvatar.
[00:18:16] <ugriffin> Thanks lol. :P
[00:18:40] <ugriffin> Awright, my work for today is done. Bye everybodyz!
[00:18:45] <JoshDreamland> ugriffin: Have fun
[00:19:05] <cheeseboy> ugriffin is on it now
[01:30:22] <cheeseboy> its awesome ugriffin sided w/  me for now :P
[01:39:04] <DatZach> well to piss ugriffin off really
[18:24:35] <polygone> ugriffin is also a moderator
[13:23:27] <polygone> dear god ugriffin is defending YYG's and he used to be one of us <_<
[13:25:26] <polygone> anyway ugriffin is siding with yyg's, traitor !
[13:23:31] <Rusky> !tell ism nevermind, see post on ugriffin's thread
[14:04:22] <EnigmaBot> IsmAvatar: [13:23:31] <Rusky> nevermind, see post on ugriffin's thread
ismavatar@socrates:~$
Logged
Offline (Male) ugriffin
Reply #20 Posted on: November 10, 2011, 05:47:53 PM

Member
Location: London, United Kingdom
Joined: Dec 2010
Posts: 26

View Profile WWW Email
It's in Ism's chat log, she's the one that spotted the bug from my Console log. I have as much experience with Java as Josh has love for YoYo Games.  :ohdear:

EDIT: Go nuts, kids.

Code: [Select]
11-11-10 4:55:22 PM [0x0-0x643643].com.apple.JarLauncher[13489] Loading lib files in /Users/ugriffin/Documents/Apple Dev/enigma-dev (trunk)/lgm16b4.jar
11-11-10 4:55:24 PM [0x0-0x643643].com.apple.JarLauncher[13489] 01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
11-11-10 4:55:24 PM [0x0-0x643643].com.apple.JarLauncher[13489] 05_score.lgl 06_extra.lgl 07_draw.lgl
11-11-10 4:55:30 PM [0x0-0x643643].com.apple.JarLauncher[13489] Auto-update disabled: SvnKit missing, corrupted, or unusable. Please download to plugins/shared/svnkit.jar in order to enable auto-update.
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] Calling `make eTCpath=""`
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > make -j -C CompilerSource
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > make[1]: uname: Command not found
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > /bin/sh: find: command not found
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > g++ -static-libstdc++ -static-libgcc -shared -o ../compileEGMf.dll 
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > make[1]: g++: No such file or directory
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > make[1]: *** [../compileEGMf.dll] Error 1
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] > make: *** [ENIGMA] Error 2
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] 2
11-11-10 4:55:31 PM [0x0-0x643643].com.apple.JarLauncher[13489] Process terminated
« Last Edit: November 10, 2011, 05:57:36 PM by ugriffin » Logged
Offline (Female) IsmAvatar
Reply #21 Posted on: November 10, 2011, 07:58:33 PM

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

View Profile Email
According to that, your Mac is unable to find the `uname` of `find` commands, which makes `make` fail since it needs those. It needs uname to determine which OS you're running, so that it knows which libraries to link in and such. I'm not sure what it needs `find` for, maybe to locate g++ -- I wasn't responsible for those parts of the makefiles.
Logged
Offline (Female) IsmAvatar
Reply #22 Posted on: November 10, 2011, 08:23:40 PM

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

View Profile Email
Can you check and see if you have `uname` on your system at all? I'd expect it to be located in /bin on a unix system. Open up a terminal, and assuming you have the `ls` and `grep` commands, `ls /bin | grep uname` should return "uname" if it exists, or should return silently if it isn't found.

If it is found, then run `echo $PATH` and see if "/bin" is missing from your path, in which case, there's your problem.
Logged
Offline (Male) ugriffin
Reply #23 Posted on: November 10, 2011, 09:09:24 PM

Member
Location: London, United Kingdom
Joined: Dec 2010
Posts: 26

View Profile WWW Email
OS X's make doesn't use uname, then, because I happily call make all the time. The makefile itself runs fine, calling make at the ENIGMA root folder builds the tool, no worries.

What's the problem with simply calling make from LGM instead of calling uname?

Code: [Select]
Last login: Thu Nov 10 16:52:08 on ttys000
Uriel-Griffins-MacBook:~ ugriffin$ uname
Darwin
Uriel-Griffins-MacBook:~ ugriffin$
Code: [Select]
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/PalmPDK/
bin:/opt/PalmSDK/Current/bin:/usr/X11/bin:/Users/ugriffin/Downloads/android-sdk-mac_86/tools
Uriel-Griffins-MacBook:~ ugriffin$
« Last Edit: November 10, 2011, 09:11:21 PM by ugriffin » Logged
Offline (Female) IsmAvatar
Reply #24 Posted on: November 10, 2011, 10:37:29 PM

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

View Profile Email
Ah, I see. So it appears to be the Java path issue.

And no, I didn't mean that `make` itself depends on `uname`. I meant that ENIGMA's makefile depends on `uname`.

I believe we have a bug open on it here:
http://enigma-dev.org/tracker/ticket.php?id=48

The workaround, of course, is to run LGM from the command line in the appropriate directory. This has always been encouraged anyways, because the command line provides verbose feedback on errors and other issues that may arise while the projects are still young and bug-prone.
« Last Edit: November 10, 2011, 10:39:48 PM by IsmAvatar » Logged
Pages: 1 [2]
  Print