[Mac OSX][SDL-client][2.4.1] How to start from terminal

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Post Reply
Devander
Posts: 2
Joined: Sat Dec 28, 2013 5:04 pm

[Mac OSX][SDL-client][2.4.1] How to start from terminal

Post by Devander »

I installed freeciv-sdl 2.4.1 using MacPorts on Mac OSX 10.6.8. In freeciv-sdl version 2.3.x, all I had to do to start a game was typing freeciv-sdl on the command line and the game user interface would start. However when I do this now, I get message as below. Does it need an input file nowadays?

freeciv-sdl: no input files given
usage: freeciv-sdl [options] [filenames].
Available options are:
- process stdin
-l list
-o name output to file 'name' (default is "luac.out")
-p parse only
-s strip debug information
-v show version information
-- stop handling options
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: [Mac OSX][SDL-client][2.4.1] How to start from terminal

Post by cazfi »

1) That's not something our (official sources from freeciv project) sdl-client would do. So it sounds something that the person who has made that Mac Port has added.
2) So there's new Mac OS X version made by someone? The latest official build (and last I know at all) was for 2.3.0 as seen from www.freeciv.org main page.
Devander
Posts: 2
Joined: Sat Dec 28, 2013 5:04 pm

Re: [Mac OSX][SDL-client][2.4.1] How to start from terminal

Post by Devander »

thank you for your reply:
1) I also installed freeciv-sdl 2.3.2 using MacPorts and that worked fine by just typing 'freeciv-sdl' in a terminal, so I thought that it was maybe related to changes in freeciv program names or how programs are started introduced in 2.4.x

2) The freeciv-sdl I was using since 2.3.0 was provided by MacPorts, kind of package manager for automatically fetching sources and compiling of open source software, see http://www.macports.org/ and http://www.macports.org/ports.php?by=na ... tr=freeciv. Once the base MacPorts system is installed one would do on a terminal:

$ sudo port install freeciv
---> Computing dependencies for freeciv
---> Fetching archive for freeciv
---> Attempting to fetch freeciv-2.4.1_1.darwin_10.x86_64.tbz2 from packages.macports.org/freeciv
---> Fetching distfiles for freeciv
---> Verifying checksums for freeciv
---> Extracting freeciv
---> Applying patches to freeciv
---> Configuring freeciv
---> Building freeciv
---> Staging freeciv into destroot
---> Installing freeciv @2.4.1_1
---> Activating freeciv @2.4.1_1

(I prefer the freeciv SDL client as it does not require X11 to be started on the Mac and also it is nice in full-screen mode without any space used up by sidebars etc).
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: [Mac OSX][SDL-client][2.4.1] How to start from terminal

Post by cazfi »

It's not very helpful that the MacPorts freeciv page you provided lists "nomaintainer" as the maintainer. From the https://trac.macports.org/browser/trunk ... v/Portfile it seems that it indeed has our sourceforge src release as master file, but also applies patch called "patch-client-options.c.diff".. which I think is this: https://trac.macports.org/browser/trunk ... ons.c.diff Doesn't explain what you are experiencing.

At this point this should go to our bug tracker: http://gna.org/bugs/?func=additem&group=freeciv

....

and I already see what's the problem. It's a bug in freeciv alright (and now I wonder how it doesn't affect everyone). I'll create the bug ticket and explain there.
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Re: [Mac OSX][SDL-client][2.4.1] How to start from terminal

Post by cazfi »

Ticket now created: bug #21399
Post Reply