Author Topic: Patchs not installing  (Read 2578 times)

0 Members and 1 Guest are viewing this topic.

Offline Murdoc

  • 22
Patchs not installing
OK I had Diaspora up and working fine, then I went to install the 1.0.4 patch (I didn't know about 1.1 or 1.1.1 yet), but it didn't work (Kubuntu 13.10 btw). First it told me that I didn't have autoconf installed, which seemed weird because aren't I doing the same thing as before when I first installed it? So I installed it, then did the patch instructions. After running autogen.sh, it didn't work, giving me this:

Quote
checking for std::ios_base... no
checking for sdl-config... no
checking for SDL - version >= 1.2.6... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL >= 1.2.6 not found!

I checked and as far as I can tell, I've got SDL 1.2.15 installed (1.2.15-5ubuntu2), so what could be the problem? It looks like it is just not finding it but I don't know how to fix that. So I tried installing the 1.1 patch and got the same thing. Anyone know what to do?

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Patchs not installing
How are you running autogen.sh?  Just no args, like "./autogen.sh"? 

Could you post the entire output from the command? I note that the three lines you've posted are all different to what I get on my system (Mint 17 / ubuntu 14.04)

Code: [Select]
checking for std::ios_base... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.6... yes

Also, have you installed all the dev libs from this page?
http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Installing_the_Development_Libraries

i.e.
Code: [Select]
$ apt-get install libopenal-dev libogg-dev libvorbis-dev build-essential automake1.10 autoconf libsdl1.2-dev libtheora-dev libreadline6-dev libpng12-dev libjpeg62-dev liblua5.1-0-dev libjansson-dev

As for why it built with 1.0 and not with 1.0.4 & above, there have been some changes to the autotools config which could account for that.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Murdoc

  • 22
Re: Patchs not installing
Quote
How are you running autogen.sh?  Just no args, like "./autogen.sh"?
That's right, just like it says in the instructions.

Quote
Could you post the entire output from the command? I note that the three lines you've posted are all different to what I get on my system (Mint 17 / ubuntu 14.04)
That's why I included them, because it seemed to be where things started to go wrong. But here they are:
Code: [Select]
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Running autoreconf...
Running ./configure ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/***/Diaspora/fs2_open/missing: Unknown `--is-lightweight' option
Try `/home/***/Diaspora/fs2_open/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
Using 64-bit Unix defines (for linux-gnu)
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for socklen_t... yes
checking for std::ios_base... no
checking for sdl-config... no
checking for SDL - version >= 1.2.6... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL >= 1.2.6 not found!
Quote
Also, have you installed all the dev libs from this page?
The game was working before so I assume so.

Thanks for looking at this.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Patchs not installing
autogen.sh doesn't seem to be finding g++, so could you run "which g++" in a terminal?  If you get no output, try installing it then rerun autogen.sh.

Code: [Select]
sudo apt-get install g++
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Murdoc

  • 22
Re: Patchs not installing
Ok, no output, so I installed g++, now autogen output finds it fine, but it's giving me the same error at the end about SDL not being found.  :confused:

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Patchs not installing
Hmm.  What output do you get from "which sdl-config"?  If that doesn't output anything either, try this:

Code: [Select]
sudo apt-get install libsdl1.2-dev
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Murdoc

  • 22
Re: Patchs not installing
Thanks!
Code: [Select]
checking for std::ios_base... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.6... yes

But now I've got a new problem:
Code: [Select]
checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: *** OGG installation not found!

So I've checked config.log but it's big and I'm not sure what to look for. All I can find it that it says that it can't find ogg/ogg.h. I've done "which ogg" and no output. Looking at my package manager it says I have libogg0 and liboggz2, but I guess that's not enough. I can't find anything else in the list that seems like it would help, not to my inexperienced eyes anyway. There doesn't seem to be an "ogg" or "libogg" by themselves.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Patchs not installing
You probably want these three :)

Code: [Select]
sudo apt-get install libogg-dev libvorbis-dev libtheora-dev

And to be perfectly honest, at this point it'll probably be easiest just to try reinstalling all the dependencies.  If you've already got them installed, then this won't attempt to re-install them so it's safe to run.

Code: [Select]
sudo apt-get install libopenal-dev libogg-dev libvorbis-dev build-essential automake1.10 autoconf libsdl1.2-dev libtheora-dev libreadline6-dev libpng12-dev libjpeg62-dev liblua5.1-0-dev libjansson-dev
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Murdoc

  • 22
Re: Patchs not installing
Sorry about not getting back to you sooner, the website was not letting me back in for some reason. I had to delete the cookie for it to work. Weird.

Anyway, you're last suggestions worked and the game works fine now, thanks a lot! I really like this game (especially since I am rewatching the series again).  :)
I hope that the next patch goes more smoothly. I think I'll give it a while before I attempt it.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Patchs not installing
No problem, I hope you enjoy Diaspora :)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...