Page 1 of 3

Error message in terminal, can't install

Posted: 23 Feb 2011, 04:01
by bhstone1
Here is the relevant error:
baruch-stones-macbook:~ bstone$ sudo port install springrts

---> Computing dependencies for springrts
---> Configuring springrts
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for springrts is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_daftserver.dyndns.org_macports_games_springrts/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
and from the fail log
:info:configure CMake Error at rts/build/cmake/FindFreetype.cmake:92 (message):
:info:configure Could not find FreeType library
:info:configure Call Stack (most recent call first):
:info:configure rts/builds/default/CMakeLists.txt:21 (FIND_PACKAGE)
:info:configure
:info:configure
:info:configure -- Configuring incomplete, errors occurred!
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_daftserver.dyndns.org_macports_games_springrts/work/spring_0.82.7.1" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DCMAKE_OSX_ARCHITECTURES="x86_64" -DAI_TYPES=JAVA " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for springrts): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for springrts is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_daftserver.dyndns.org_macports_games_springrts/main.log
Any ideas? Running OS X 10.6.6 with fresh installs of XCode, Java Developer, MacPorts, etc.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 04:39
by bhstone1
Doing my own troublehsooting, it appears this is due to the absence of Freetype. Using Porticus as a MacPorts front end I found that FreeType is not installed. I installed it and then went back to install springrts and it's sitting on the "building springrts" now. Never got this far. Will report back.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 06:06
by bhstone1
Well that certainly fixed it. I am now installing the lobbies. I launched Spring by typing spring into the terminal and the app launched. Hope this helps anyone who might have a similar issue!

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 15:19
by bhstone1
Alright, got spring and lobby installed!

Now, how do I enter a game? I click on 'test the game' and a black window shows up but there is nothing in it. Any ideas?

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 15:24
by bhstone1
So it seems that Spring is just the engine behind Zero-K, the game I want to try out. Seeing that there were Linux instructions for compiling from source but no OS X specific instructions I decided to try the Linux ones. So I typed in:
Well, that did SOMETHING cause my terminal is going nuts! I'll post back in a bit to see if it works.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 15:35
by bhstone1
I now have a zk.sdd folder in my homedirectory, but Spring doesn't seem to know it exists. Anyone know how to fix that?

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 16:01
by oksnoop2
You need to find the games folder and place the .sdd inside of it.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 19:58
by bhstone1
oksnoop2 wrote:You need to find the games folder and place the .sdd inside of it.

I found a 'games' folder at:
/opt/local/var/macports/software/springrts/0.82.7.1_0/opt/local/share/games/spring/

there is a spring folder inside of there. Is that the one I should copy it only into the games folder?

or this one:
/opt/local/share/games

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:04
by oksnoop2
*shrugs*
I'm not really sure. Try one, then the other.

Although I don't really understand why there is a spring folder inside that one game folder. In windows it's spring/games. I thought it was the same for linux.

But what do i know I only played spring on linux for a very short time and have zero hours with spring on mac.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:08
by bhstone1
I copied the folder and put it everywhere I could find both a spring and games folder. I launch Spring and no games show up when I click "test games" or "maps.

Confusing.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:22
by oksnoop2
Well I don't really know. :| The only thing you can hope for is... downloading a game from one of the lobbies. and *hope* it puts it in the magical directory. Then search your hdd for that file. But really that's a long shot. Maybe try submitting a ticket on http://springrts.com/mantis/my_view_page.php or going into the lobby's IRC channel and bother people in #sy.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:23
by bhstone1
What server is lobby on?

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:28
by oksnoop2
Uhh. :shock: I...don't...know. I'm starting to feel i'm doing more harm than good. I know the bridges address though. You can connect to spring's server via this bridge on any IRC client.

http://springrts.com/wiki/IrcBridge

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:34
by bhstone1
I appreciate any help. Right now I am filling up my hd by adding the game folder to numerous places. I can't get into the IRC server for some odd reason, either.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:36
by oksnoop2
Lemme hop on the bridge and see if i can flag someone down.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:42
by bhstone1
I guess the question is- how to install Zero-K in OS X. Is the Linux install instruction the right thing to use or is there another method or additional steps?

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:51
by jK
Howto detect spring's including dirs:
* run spring and exit it
* search for a "infolog.txt" on your filesystem
* open it in a texteditor
* it contains lines as "Using read-write data directory: /foo/bar/"
* place your files there


PS: As you may have seen while reading all the tips how to build spring on OSX. It is in progress and not 100% working yet, esp. online playing is not possible atm.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:55
by bhstone1
jK wrote:Howto detect spring's including dirs:
* run spring and exit it
* search for a "infolog.txt" on your filesystem
* open it in a texteditor
* it contains lines as "Using read-write data directory: /foo/bar/"
* place your files there


PS: As you may have seen while reading all the tips how to build spring on OSX. It is in progress and not 100% working yet, esp. online playing is not possible atm.
I just launched and then exited Spring and searched the entire filesystem for 'infolog.txt'. It does not exist.

I am fine with single player play. Just want to play something like Total Annhilation. I loved that game.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 21:58
by jK
Run it from a terminal. It returns the info on it, too.

Re: Error message in terminal, can't install

Posted: 23 Feb 2011, 22:02
by bhstone1
jK wrote:Run it from a terminal. It returns the info on it, too.
This is what I got when I just opened a fresh terminal:
bstone$ spring
using default configuration source "/Users/bstone/.springrc"
[CMyMath::Init] CPU SSE mask: 126, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 1
SSE 4.1: 1, SSE 4.2: 0
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Mac OS X
OS: 64bit native mode
LogOutput initialized.
Spring 0.82.7.1
Build date/time: Feb 22 2011 22:41:53
Available log subsystems: Sound, VFS-detail, VFS, ArchiveScanner, unit, CollisionVolume
Enabled log subsystems: Sound,
Enable or disable log subsystems using the LogSubsystems configuration key
or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
Use "none" to disable the default log subsystems.
Using read-write data directory: /Users/bstone/.spring/
Using read-only data directory: /opt/local/share/games/spring/
Scanning: /opt/local/share/games/spring/base
Scanning: /Users/bstone/.spring/maps
Scanning: /Users/bstone/.spring/mods
Supported Video modes: 1280x800, 1152x720, 1024x768, 1024x640, 800x600, 800x500, 720x480, 640x480
Video mode set to 1024x768/32bit
[f=0000000] SDL: 1.2.14
[f=0000000] GL: 2.1 NVIDIA-1.6.26
[f=0000000] GL: NVIDIA Corporation
[f=0000000] GL: NVIDIA GeForce 9400M OpenGL Engine
[f=0000000] GLSL: 1.20
[f=0000000] GLEW: 1.5.8
[f=0000000] Joysticks found: 0
[f=0000000] Joystick 0 not found