Hello,
Last week I downloaded the source code for Warzone 2100 2.3.8 for my Mepis 11.0 system. After uninstalling completely the old version, I attempted to install it. After running "./configure" and "make install" the program ended up in /usr/local/share/warzone instead of /usr/share/games/warzone, and it would not show up in the applications menu.
I deleted the installed files and ran the scripts again with the prefix "--prefix=/usr/share/games/warzone", this time it told me I needed to specify a distribution name. Warzone is installed now, but still in /usr/local/share/warzone, which isn't where I want it.
This isn't a serious problem, as I can create a link to the desktops to the program, but I'd like to know what I did wrong.
Any help appreciated,
Searge-Major
Warzone Install Directory.
-
Searge-Major
- Trained

- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
-
vexed
- Inactive

- Posts: 2538
- Joined: 27 Jul 2010, 02:07
Re: Warzone Install Directory.
Odd, what is the output on ./configure when you used that prefix ?
/facepalm ...Grinch stole Warzone

contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
-
Searge-Major
- Trained

- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Warzone Install Directory.
Sorry, I'm not sure I made myself clear.
When I used the prefix, the configure script aborted with an error, saying that to make a distribution package I needed to provide a distro name and author or something like that.
Then I reinstalled without a prefix, and simply ran the game from a desktop link to the program that had been generated in the directory WZ was installed in.
As for the output when I used the prefix, I'm not sure whether it's still there, I assumed that the config.log file was replaced after I ran ./configure again.
If it's any use, I've attached the config.log anyway.
Thanks in advance,
Searge-Major
When I used the prefix, the configure script aborted with an error, saying that to make a distribution package I needed to provide a distro name and author or something like that.
Then I reinstalled without a prefix, and simply ran the game from a desktop link to the program that had been generated in the directory WZ was installed in.
As for the output when I used the prefix, I'm not sure whether it's still there, I assumed that the config.log file was replaced after I ran ./configure again.
If it's any use, I've attached the config.log anyway.
Thanks in advance,
Searge-Major
You do not have the required permissions to view the files attached to this post.
-
stiv
- Warzone 2100 Team Member

- Posts: 876
- Joined: 18 Jul 2008, 04:41
- Location: 45N 86W
Re: Warzone Install Directory.
Show us the result of running ./configure WITH the --prefix= flag.
-
Searge-Major
- Trained

- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Warzone Install Directory.
Gee, I feel like a fool...stiv wrote:Show us the result of running ./configure WITH the --prefix= flag.
After running ./configure:
configure: WARNING: Distributor unknown!
configure: Use --with-distributor when compiling package for distribution
configure:
configure: WARNING: a2x or wkhtmltopdf not found, can't convert documentation. This doesn't affect building the game,
but means that things like "make dist" and building a Windows installer will fail.
If I had just taken the time to expand the console...
And after running make install, it's installed now, in the right directory and shows up in the start menu.
Just one thing, why does it think I am compiling a distro package?
That's what threw me the first time.
Searge-Major