Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux install instructions for Ubuntu inaccurate? #171

Closed
anuyts opened this issue Aug 18, 2019 · 11 comments
Closed

Linux install instructions for Ubuntu inaccurate? #171

anuyts opened this issue Aug 18, 2019 · 11 comments

Comments

@anuyts
Copy link

anuyts commented Aug 18, 2019

I was following the Linux Install Instructions in order to install Aleph One on Ubuntu. However, ./configure gave me several errors, which I have been able to resolve by additionally installing:

  • libsdl1.2-dev
  • libsdl-ttf2.0-dev
  • libsdl-net1.2-dev
@anuyts
Copy link
Author

anuyts commented Aug 18, 2019

Subsequently, make fails:

SDL_ffmpeg.c:2262:44: error: ‘PIX_FMT_RGB24’ undeclared (first use in this function); did you mean ‘PIX_FMT_RGB32’?
                                            PIX_FMT_RGB24 ),
                                            ^~~~~~~~~~~~~
                                            PIX_FMT_RGB32
SDL_ffmpeg.c:2266:32: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
                                file->videoStream->_ffmpeg->codec->height,
                                ^~~~
In file included from SDL_ffmpeg.c:44:0:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
Makefile:379: recipe for target 'SDL_ffmpeg.o' failed
make[3]: *** [SDL_ffmpeg.o] Error 1
make[3]: Leaving directory '/media/Common HD/Spellekes/Marathon/AlephOneUbuntu/AlephOne-20150620/Source_Files/FFmpeg'
Makefile:559: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/media/Common HD/Spellekes/Marathon/AlephOneUbuntu/AlephOne-20150620/Source_Files'
Makefile:524: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/Common HD/Spellekes/Marathon/AlephOneUbuntu/AlephOne-20150620'
Makefile:419: recipe for target 'all' failed
make: *** [all] Error 2

@ccallahan
Copy link

What version of Ubuntu is this? I'm part of the Marathon Speedrun Developers, an unaffiliated project. We have unofficial nightly's we build on 18.04, and they have been succeeding for us. If this is a newer version of Ubuntu, I'd be very interested to investigate this.

@anuyts
Copy link
Author

anuyts commented Aug 18, 2019

No, I'm also on 18.04 LTS.

@ccallahan
Copy link

Huh, and you're pulling the head of the repository, right?

@anuyts
Copy link
Author

anuyts commented Aug 18, 2019

I used

curl -o AlephOne-stable.tar.bz2 -L https://alephone.lhowon.org/download/source.php
tar xjvf AlephOne-stable.tar.bz2

@jamos05
Copy link

jamos05 commented Aug 25, 2019

I'm on Ubuntu 18.04 and I got the same error that you did. However, that link is for a very old build of the game from back in 2015. The ffmpeg libraries have changed a lot since then so I'm not surprised that such an old code base fails to build.

Instead, you should just clone the git repository, which has the latest and greatest code and works with current libraries:

git clone https://github.com/Aleph-One-Marathon/alephone.git
cd alephone
./autogen.sh
make
make install

Also note that the new code base has new dependencies like SDL2 that you'll have to install beforehand.

@mkrupczak3
Copy link

mkrupczak3 commented Oct 16, 2020

This documentation really should get updated.

I'm on Ubuntu 18.04 LTS many moons later, simmiliar issue.

Would it kill anybody to just release some binaries or Debian installs or whatever?

(I used the link provided on the official page from Bungie, and it failed to compile with the given instructions, even after installing dependencies).

@mkrupczak3
Copy link

Better yet, it would be cool if this was available on the Ubuntu software store!

@mkrupczak3
Copy link

I might check out if this game would be worth porting over to Android

@emileb, interested in another opentouch game?

@mkrupczak3
Copy link

mkrupczak3 commented Mar 21, 2021

I was somehow able to build on Ubuntu 18.04 LTS, I don't remember what I did but I remember it being a HUGE pain and I had to fix some weird errors.

I would recommend keeping this open until documentation is updated @treellama @baconicsynergy

@treellama
Copy link
Member

The documentation is up to date for the latest release version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants