Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-28-2010, 08:55 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Gonstruct Macport

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 :).
Attached Files
File Type: gz gonstruct-port.tar.gz (851 Bytes, 812 views)
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 07-28-2010 at 05:47 PM..
Reply With Quote
  #2  
Old 07-28-2010, 10:20 AM
LordOfPi13 LordOfPi13 is offline
Classic iPhone LAT
LordOfPi13's Avatar
Join Date: Jul 2010
Location: California
Posts: 45
LordOfPi13 is an unknown quantity at this point
Send a message via AIM to LordOfPi13
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

Last edited by LordOfPi13; 07-28-2010 at 12:52 PM..
Reply With Quote
  #3  
Old 07-28-2010, 06:49 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by LordOfPi13 View Post
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.
Reply With Quote
  #4  
Old 07-28-2010, 10:37 AM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
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~
__________________
Graal Statistics

Top 3 servers at the moment (players):


Reply With Quote
  #5  
Old 07-28-2010, 04:07 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Works great, thanks a lot . That will definitely help me out.
__________________
Reply With Quote
  #6  
Old 07-28-2010, 05:15 PM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,743
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Impressed as always Napo. Rep++
__________________
Save Classic!
Reply With Quote
  #7  
Old 07-28-2010, 09:04 PM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
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
__________________
Graal Statistics

Top 3 servers at the moment (players):


Reply With Quote
  #8  
Old 07-28-2010, 11:53 PM
LordOfPi13 LordOfPi13 is offline
Classic iPhone LAT
LordOfPi13's Avatar
Join Date: Jul 2010
Location: California
Posts: 45
LordOfPi13 is an unknown quantity at this point
Send a message via AIM to LordOfPi13
Okay, got it working. I'm sure many people will enjoy this in the future.

Last edited by LordOfPi13; 07-29-2010 at 09:00 PM..
Reply With Quote
  #9  
Old 08-11-2010, 07:40 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
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.
Attached Files
File Type: gz gonstruct-port.tar.gz (977 Bytes, 630 views)
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #10  
Old 08-14-2010, 05:06 AM
Alure1316 Alure1316 is offline
Registered User
Alure1316's Avatar
Join Date: Jan 2006
Location: San Bernardino, California
Posts: 123
Alure1316 is on a distinguished road
I got stuck at the inserting URL part..
Reply With Quote
  #11  
Old 09-04-2010, 12:05 PM
LordOfPi13 LordOfPi13 is offline
Classic iPhone LAT
LordOfPi13's Avatar
Join Date: Jul 2010
Location: California
Posts: 45
LordOfPi13 is an unknown quantity at this point
Send a message via AIM to LordOfPi13
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.
Reply With Quote
  #12  
Old 09-06-2010, 05:21 AM
Fogell Fogell is offline
Ez
Fogell's Avatar
Join Date: Aug 2010
Location: United States, Georgia
Posts: 72
Fogell is on a distinguished road
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?
Reply With Quote
  #13  
Old 09-06-2010, 05:33 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Fogell View Post
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.
__________________
Reply With Quote
  #14  
Old 09-06-2010, 08:32 PM
Fogell Fogell is offline
Ez
Fogell's Avatar
Join Date: Aug 2010
Location: United States, Georgia
Posts: 72
Fogell is on a distinguished road
Quote:
Originally Posted by cbk1994 View Post
It's pretty self-explanatory? Install Xcode.
O that would make sense lmao
Reply With Quote
  #15  
Old 09-07-2010, 07:27 AM
LordOfPi13 LordOfPi13 is offline
Classic iPhone LAT
LordOfPi13's Avatar
Join Date: Jul 2010
Location: California
Posts: 45
LordOfPi13 is an unknown quantity at this point
Send a message via AIM to LordOfPi13
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 
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:14 AM.


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