Warning: Undefined array key "birthday" in phar://.../vb/vb.phar/api/notice.php on line 1
Freeciv 1.14.0 has been released! -
Apolyton Civilization Site
The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
Awww, beaten to the punch...congrats to Per and all involved!
Damn, I knew i should have posted the news when I saw it on Freshmeat this sunday. It's been out since Friday 17th jan.
Skeptics should forego any thought of convincing the unconvinced that we hold the torch of truth illuminating the darkness. A more modest, realistic, and achievable goal is to encourage the idea that one may be mistaken. Doubt is humbling and constructive; it leads to rational thought in weighing alternatives and fully reexamining options, and it opens unlimited vistas.
Okay, I am a novice Unixer. Actually I am using Mac OS X 10.2. Still with me? Okay, I downloaded all developer tools and X11 too. I've got make, gcc, and I am getting use to doing stuff from the terminal.
Apparently make (nor gmake) is not available from the xTerm window.
./configure --with-included-gettext && make install
seems to mostly work (I even read the Quick-Start Guide), right untill the end. Then it looks like my file structures are non-standard.
The last lines of the compile follow.
...
config.status: executing fc_default-5 commands
config.status: executing default commands
Making install in data
Making install in misc
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/freeciv/misc
mkdir /usr/local/share
mkdir: /usr/local/share: Permission denied
mkdir /usr/local/share/freeciv
mkdir: /usr/local/share/freeciv: No such file or directory
mkdir /usr/local/share/freeciv/misc
mkdir: /usr/local/share/freeciv/misc: No such file or directory
make[3]: *** [install-pkgdataDATA] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Is this easy to correct / work arround? How?
Thanks very much.
Originally posted by Thue
try being root when you "make install"
Thanks Thue! As you expected, you sound advise worked perfectly -- and I promptly ran into another road block. You are rewarded for your kind efforts by more whining on the part of the newbie...
When I enter ser into the terminal window I just get back: ser: Command not found.
ls shows a file named ser but it doesn't seem to be an executable. Do I have to run chmod or something? Shouldn't make install have taken care of this for me? (I even used command line ungzip and tar to extract the archive, just in case the GUI Stuffit Expander wasn't setting file attributes correctly.)
The last several lines from ./configure follow. It all looks good to me, but what do I know?
Code:
Making install in doc
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing fc_default-1 commands
config.status: executing fc_default-2 commands
config.status: executing fc_default-4 commands
config.status: executing fc_default-5 commands
config.status: executing default commands
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Rather than typing 'ser', type './ser' from within the freeciv directory. The x flags seem to be present for both ser and civ for me (I'm also running 10.2). However, I'm started with the CVS source, so some differences may exist.
The reason is '.' isn't in the PATH variable by default under OS X. It would probably be possible to fix this by editing your .cshrc (If you haven't changed your shell), but I haven't played with that.
About running ser: ser is a script for running civserver from inside the freeciv build dir (MacHatter is correct that you need to use ./ser instead of ser in that case). make install installed the executable systemwide as civserver, so try running that instead. Similarly you can now use civclient instead of ./civ for the client.
[If typing civserver at the prompt returns Command not found then chech that /usr/local/bin is in your path by running echo $PATH on the command line]
As Thue says, you have a path problem. Actually you don't need to install freeciv to play it - the simplest is actually playing it right out of the directory where you built it. (Of course, that way you can't delete the sources afterwards.) You just type "client/civclient &" and "server/civserver" in the directory where you built freeciv, and there you should go.
Thank you all. I've gotten farther than I expected to be honest.
Yes, I have a path problem. sure enough, /usr/local/bin is not in my path. So how do I fix that?
Running client/civclient & and server/civserver works though, so I was pretty happy.
No sound, but I got the graphical nationality selection screen, so things are looking good. As soon as I build a city, however, I get a Segmentation fault.
I had to log on as root to make install, so I will try playing as root and post back here if that makes a difference. OS X flavor of Unix is doing some other odd things. For example, in the OS X X 11 terminal (xterm) cd /usr/local/share behaves as you would expect. But with the usual terminal app as soon as one types the third slash, the last l in local changes and gets a hyphen through it (it's not an ascii symbol that I recognize). Also, I could only run make install from terminal but not xterm. civclient runs only from xterm (as one would expect) but civserver runs from either.
Also, the easiest thing should be to run freeciv from the source directory, starting the server as ./ser and the client as ./civ.
I don't know about the the segmentation fault... if it said "core dumped" and you have gdb installed then try writing gdb client/civclient core and inside gdb write backtrace.
Happilly, civserver wouldn't run when I logged on as super user.
I see a new thread starting up on Segmentation fault. I will comment there, but I am actually relieved I am not the only one with this problem, so maybe it is not just an OS X thing.
Yes, ./ser and ./civ works from the source directory.
What does the trailing ampersand do in the longhand command client/civclient &?
I would like to fix my path problem. Can anyone kindly tutor me so that I can get /usr/local/bin in my path?
The ampersand means that you want to run the process in the background and return to the shell rather than waiting for the process to finish.
This is useful if you have to start a daemon (ie: mysqld) by hand, or if you want to launch a graphical program (such as civclient or the gimp)
To temporary fix the problem, type set PATH=/usr/local/bin:$PATH
This change won't persist if the shell window is closed.
To fix the problem in a more permanent manner, type the following command once. echo 'set PATH=/usr/local/bin:$PATH\n' >> .login
This creates a file called .login if it doesn't exist, or appends the file if it does. This contents of this file are run every time a login shell is created. Each terminal window is a login shell.
In this case, you are wanting to modify the path everytime a login shell is created.
Comment