Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Gonstruct Macport (https://forums.graalonline.com/forums/showthread.php?t=134259974)

napo_p2p 07-28-2010 08:55 AM

Gonstruct Macport
 
1 Attachment(s)
Here's a MacPort for gonstruct that *should* work. I've tested it with a clean build using 64-bit Snow Leopard. Now, if you have a Mac… I need you to test it too (please :).

Anyways, first install MacPorts (http://www.macports.org/install.php). I recommend just installing it from disk images.
Link approved by *Sam


Until I get gonstruct checked-in as an official port, you will have to create a local ports tree for gonstruct.

Download the attachment, and put it into your home directory. Now in a terminal:
NPC Code:
$ cd
$ tar xvf gonstruct-port.tar.gz



Edit /opt/local/etc/macports/sources.conf and insert a URL pointing to your local repository location before the rsync URL as shown:
NPC Code:
file:///Users/YOURUSER/ports
rsync://rsync.macports.org/release/ports [default]



NOTE: Make sure you replace YOURUSER with your actual username.



Now you can build and install gonstruct:
NPC Code:
$ sudo port install gonstruct



Since the dependency list is quite large, it will take a while to build. Go play your favorite Graal server for an hour (or two… or three?) while gonstruct builds.

Once done (hopefully with no errors!), you can start gonstruct simply by doing:
NPC Code:
$ gonstruct



If at least one other person verifies that this works, I will go ahead and submit the port to MacPorts so it is part of the official ports tree, and these instructions will become a whole lot simpler :).

LordOfPi13 07-28-2010 10:20 AM

So far no errors
 
I'm about 10 minutes into compiling with no errors so far :)

EDIT:: Okay so it finished compiling and I get the error "Could not start editor: boost::filesystem::basic_directory_iterator constructor: Permission denied: "/Users/LORDOFPI13/.fseventsd"" in Gonstruct and "Xlib: extension "RANDR" missing on display "/tmp/launch-4JviS7/:0"." in Terminal :(

Fry 07-28-2010 10:37 AM

Worked fine for me, good job :)
There seems to be an error with gonstruct crashing when exiting which seems to be related to gtkglarea. Going to look into it at some point, just make sure to save before you exit~

cbk1994 07-28-2010 04:07 PM

Works great, thanks a lot :). That will definitely help me out.

maximus_asinus 07-28-2010 05:15 PM

Impressed as always Napo. Rep++

napo_p2p 07-28-2010 06:49 PM

Quote:

Originally Posted by LordOfPi13 (Post 1589917)
I'm about 10 minutes into compiling with no errors so far :)

EDIT:: Okay so it finished compiling and I get the error "Could not start editor: boost::filesystem::basic_directory_iterator constructor: Permission denied: "/Users/LORDOFPI13/.fseventsd"" in Gonstruct and "Xlib: extension "RANDR" missing on display "/tmp/launch-4JviS7/:0"." in Terminal :(

The RANDR error is benign (X11 configuration error... but gonstruct will still at least run). The other error just looks like a permissions issue. For starters, you can try:
NPC Code:
$ sudo gonstruct



If that works, then I would just double check the permissions on ~/.fseventsd so you don't have to run gonstruct with escalated privileges.

Fry 07-28-2010 09:04 PM

That happens if you set the graal directory to your home directory or something similarly silly, going to add better handling of that at some point. Until then you can always edit your preferences directly at ~/.config/gonstruct/preferences

LordOfPi13 07-28-2010 11:53 PM

Okay, got it working. :) I'm sure many people will enjoy this in the future.

napo_p2p 08-11-2010 07:40 PM

1 Attachment(s)
Updated the port to version 0.2.3 (new archive attached).

If you have already installed gonstruct, you will just have to replace your old local ports directory with the one in the archive, then the following command should update it:

NPC Code:
sudo port upgrade gonstruct



I have submitted the gonstruct port to MacPorts, so hopefully it will become an 'official' port.

Alure1316 08-14-2010 05:06 AM

I got stuck at the inserting URL part.. :(

LordOfPi13 09-04-2010 12:05 PM

I was running Gonstruct as usual today, but when I closed Gonstruct I realized that there was a bunch of errors in terminal. Hopefully I will add them to this post later as I am on a mobile device at the moment.

Fogell 09-06-2010 05:21 AM

Do you guys know what the error
"Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected."

or how to solve it when your installing macports?

cbk1994 09-06-2010 05:33 AM

Quote:

Originally Posted by Fogell (Post 1599142)
Do you guys know what the error
"Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected."

or how to solve it when your installing macports?

It's pretty self-explanatory? Install Xcode.

Fogell 09-06-2010 08:32 PM

Quote:

Originally Posted by cbk1994 (Post 1599147)
It's pretty self-explanatory? Install Xcode.

O that would make sense lmao

LordOfPi13 09-07-2010 07:27 AM

Error
 
I guess it's to late to edit my last post, but here's my output from terminal during normal use of Gonstruct. I'm not sure if it means anything, but I'm guessing it does because it looks fancy.
PHP Code:

Last loginSun Sep  5 11:21:02 on ttys000
LordOfPi13
:~ LordOfPi13gonstruct
Xlib
:  extension "RANDR" missing on display "/tmp/launch-6RM8Cw/org.x:0".
Caching... done

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type
Mon Sep  6 19
:18:51 LordOfPi13.local gonstruct[9132] <Error>: kCGErrorIllegalArgumentCGSGetSurfaceBounds
Mon Sep  6 19
:18:51 LordOfPi13.local gonstruct[9132] <Error>: kCGErrorFailureSet a breakpoint CGErrorBreakpoint() to catch errors as they are logged.
Mon Sep  6 19:18:51 LordOfPi13.local gonstruct[9132] <Error>: unknown error codeinvalid drawable

(gonstruct:9132): Gtk-WARNING **: Could not find the icon 'application-octet-stream'The 'hicolor' theme
was not found either
perhaps you need to install it.
You can get a copy from:
    
http://icon-theme.freedesktop.org/releases

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type 


Fogell 09-07-2010 08:13 AM

All this complication is makes me prefer using parallels desktop :P

Fry 09-07-2010 01:24 PM

Quote:

Originally Posted by LordOfPi13 (Post 1599394)
I guess it's to late to edit my last post, but here's my output from terminal during normal use of Gonstruct. I'm not sure if it means anything, but I'm guessing it does because it looks fancy.
PHP Code:

Last loginSun Sep  5 11:21:02 on ttys000
LordOfPi13
:~ LordOfPi13gonstruct
Xlib
:  extension "RANDR" missing on display "/tmp/launch-6RM8Cw/org.x:0".
Caching... done

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type
Mon Sep  6 19
:18:51 LordOfPi13.local gonstruct[9132] <Error>: kCGErrorIllegalArgumentCGSGetSurfaceBounds
Mon Sep  6 19
:18:51 LordOfPi13.local gonstruct[9132] <Error>: kCGErrorFailureSet a breakpoint CGErrorBreakpoint() to catch errors as they are logged.
Mon Sep  6 19:18:51 LordOfPi13.local gonstruct[9132] <Error>: unknown error codeinvalid drawable

(gonstruct:9132): Gtk-WARNING **: Could not find the icon 'application-octet-stream'The 'hicolor' theme
was not found either
perhaps you need to install it.
You can get a copy from:
    
http://icon-theme.freedesktop.org/releases

(gonstruct:9132): Gtk-WARNING **: Unable to find default local directory monitor type 


If it doesn't affect Gonstruct's functionality it doesn't. Did it run without problems?

Fogell 09-07-2010 09:37 PM

1 Attachment(s)
Im sorry i cant just figure this out on my own but I keep encountering install errors. Now with xcode =.= I dont see what i've done wrong. I know this is kinda off topic with gonstruct but I need xcode to get Macports. Any ideas?

LordOfPi13 09-08-2010 04:48 AM

Quote:

Originally Posted by Fry (Post 1599431)
If it doesn't affect Gonstruct's functionality it doesn't. Did it run without problems?

I haven't noticed anything affecting Gonstruct, so I guess I'm in the clear :D

Jobistekos 09-25-2010 03:51 PM

Will this completely change my hardware into windows or allow me to run .exe files?

cbk1994 09-25-2010 06:42 PM

Quote:

Originally Posted by Jobistekos (Post 1602329)
Will this completely change my hardware into windows or allow me to run .exe files?

no...

LordOfPi13 09-26-2010 09:50 AM

Quote:

Originally Posted by Jobistekos (Post 1602329)
Will this completely change my hardware into windows or allow me to run .exe files?

http://winebottler.kronenberg.org/

Jobistekos 09-26-2010 06:44 PM

Quote:

Originally Posted by LordOfPi13 (Post 1602473)

Thanks Pi. :)

Jobistekos 09-28-2010 12:56 AM

Although, I don't understand how you use it. It says:
Prefix creation exited with error
You find a logfile to help with debugging on your desktop.

Outlaw_P2P 10-01-2010 05:18 PM

Gah
 
okay. this is not a zombie thread once more xD. I am stuck 0-0 I am a newbie at this crap so bare with me lol.

when i enter into terminal- cd- (the first step) it doesn't do anything =-=
then i entered tar xvf gonstruct-port.tar.gz, and it said:: Error opening archive: Failed to open 'gonstruct-port.tar.gz': No such file or directory. i put the file "gonstruct" from the file "ports" into the home directory. :/ now im just confused lol


EDIT: okay I've made my fail video. so I've tried everything i can think of. and followed the instructions (to my understanding) to the very detail. Is it okay if i put a link to the video on youtube when it finishes uploading? As long as it graal related right?

Outlaw_P2P 10-10-2010 04:03 AM

I need answers.
 
K. THIS TIME, I'd appreciate some answers... I've gotten to the sudo port install gonstruct. it asks for a password 0_0. I dont have a password on my account for my mac lol... What do I do...? I tried entering " " a space, but it won't let me >:( it says: Password:
Sorry, try again.
Password:

It's annoying :/ What do I do?

n0n021 10-10-2010 03:11 PM

Woaw cool, I'll try durring next holidays :D

LordOfPi13 10-12-2010 06:36 AM

Okay was using Gonstruct and... it crashed :{

PHP Code:

Last loginMon Oct 11 16:25:29 on ttys000
LordOfPi13
:~ LordOfPi13gonstruct
Xlib
:  extension "RANDR" missing on display "/tmp/launch-uAJgtP/org.x:0".
Caching... done

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

glibmm
-ERROR **: 
unhandled exception (type std::exceptionin signal handler:
whatload_nw_level() failedVersion mismatch (GR-V1.03\xc0 \u0018,

aborting...
Abort trap
LordOfPi13
:~ LordOfPi13


Outlaw_P2P 10-15-2010 03:31 AM

Quote:

Originally Posted by LordOfPi13 (Post 1605691)
Okay was using Gonstruct and... it crashed :{

PHP Code:

Last loginMon Oct 11 16:25:29 on ttys000
LordOfPi13
:~ LordOfPi13gonstruct
Xlib
:  extension "RANDR" missing on display "/tmp/launch-uAJgtP/org.x:0".
Caching... done

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

(gonstruct:36245): Gtk-WARNING **: Unable to find default local directory monitor type

glibmm
-ERROR **: 
unhandled exception (type std::exceptionin signal handler:
whatload_nw_level() failedVersion mismatch (GR-V1.03\xc0 \u0018,

aborting...
Abort trap
LordOfPi13
:~ LordOfPi13


that sucks. Well maybe we could drive traffic to this thread cuz i need my questions answered :#

Jobistekos 10-15-2010 11:15 PM

1 Attachment(s)
I'm so confused.

ff7chocoboknight 10-16-2010 02:21 AM

Gonstruct is for *******s. It horribly supports layers, which Graal can barely use. Use GraalEditor until they make it suck less.

Jobistekos 10-16-2010 02:37 PM

But you can't use Level Editor on macs as far as I know.

HirakoShinji 10-16-2010 02:50 PM

Quote:

Originally Posted by Jobistekos (Post 1606693)
But you can't use Level Editor on macs as far as I know.

No, you cannot.

Jobistekos 10-16-2010 04:53 PM

Help me please.
 
1 Attachment(s)
This the problem I get whenever I try to get winebottler to work.

HirakoShinji 10-16-2010 05:10 PM

Hmmm, I don't know... I don't think I can do anything about it.

Fogell 12-11-2010 06:01 PM

Use Parallels Desktop, windows on a mac :D

Fogell 01-15-2011 11:50 PM

Sorry for double post, but what the hell did it download? I deleted it and I am left with 10 less GB than I started with.

Jobistekos 03-01-2012 08:37 PM

After I entered this command..
NPC Code:
$ sudo port install gonstruct



It showed me this error message
NPC Code:
couldn't load file "/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib": dlopen(/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found.  Did find:
/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib: unknown required load command 0x80000022
while executing
"load /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib"
("package ifneeded" script)
invoked from within
"package require macports"
(file "/opt/local/bin/port" line 38)


Help?

fowlplay4 03-01-2012 10:36 PM

Quote:

Originally Posted by Jobistekos (Post 1686559)
After I entered this command..
NPC Code:
$ sudo port install gonstruct


Googled your error and seems to because you aren't logged into an Admin-level user. So make sure you're logged into an Admin account and try again. Try re-installing MacPorts logged into the Admin account as well.

cbk1994 03-01-2012 10:50 PM

Quote:

Originally Posted by fowlplay4 (Post 1686577)
Googled your error and seems to because you aren't logged into an Admin-level user. So make sure you're logged into an Admin account and try again. Try re-installing MacPorts logged into the Admin account as well.

If he was able to execute sudo then it should be running as root. If he wasn't able to execute sudo, he would have gotten a much different messsage. I don't think this is the error unless he neglected the "sudo" in front of the command.


All times are GMT +2. The time now is 10:39 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.