Author Topic: [SOLVED] Openxcom precompiled binary nightly builds for Linux?  (Read 11247 times)

niculinux

  • Guest
Please, may we get precompiled binary version of openxcom ready to be executed? Precompliled binaries buils i guess are more friendly to manage, if there's a missing dependancy in the build looking at the terminal output may be an easy way to get the files missing, of course you have to execute the program in the terminal, by moving into the directory one installed that build and type:

Code: [Select]
./openxcom
Istructions to complie with cmake are here, while ones for general compiling are here, brave men may want to try!  8)
« Last Edit: March 28, 2015, 10:34:03 pm by niculinux »

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #1 on: March 28, 2015, 03:19:11 pm »
The user Yankes has provided some very very useful hints here!

Online Yankes

  • Commander
  • *****
  • Posts: 3194
    • View Profile
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #2 on: March 28, 2015, 03:25:24 pm »
The user Yankes has provided some very very useful hints here!
Btw if you get any problems you can ask me, I will look for things that I could miss in my solution.

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #3 on: March 28, 2015, 05:40:12 pm »
Dear Yankes,

Attempting to clone the data structure on my hard drive, got the following:

Code: [Select]
git clone git@github.com:SupSuper/OpenXcom.git OpenXcom_dev
Cloning into 'OpenXcom_dev'...
The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

how do the hell i get that publickey? And i did not know git is fussy about yes and no, prefer the long form  ;D

Online Yankes

  • Commander
  • *****
  • Posts: 3194
    • View Profile
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #4 on: March 28, 2015, 06:00:27 pm »
Ok try this:
Code: [Select]
git clone https://github.com/SupSuper/OpenXcom.git OpenXcom_devThis protocol don't require this keys.

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #5 on: March 28, 2015, 06:09:33 pm »
in home, moved to

Code: [Select]
cd OpenXcom_dev/src
typed

Code: [Select]
make clean
and got:

Code: [Select]
make: ***  Nessuna regola per generare l'obiettivo "clean".  Arresto.
trad: no rules to make the "clean" target". Stopping

 :'(

Online Yankes

  • Commander
  • *****
  • Posts: 3194
    • View Profile
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #6 on: March 28, 2015, 06:19:00 pm »
Code: [Select]
make -f Makefile.simple clean
make -f Makefile.simple
fixed.
`make` for default look for `Makefile`. When you download OXC it not provided direcly, you need copy `Makefile.simple` to `Makefile`.
It worked form me because I have my private copy. `-f` cause `make` to use different file.
« Last Edit: March 28, 2015, 06:27:51 pm by Yankes »

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #7 on: March 28, 2015, 06:26:11 pm »
ok, it's building...


niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #8 on: March 28, 2015, 06:48:02 pm »
Built!!! Seems to work fine! Suppose it's the nightly build 2015-03-26 18:45, as currently says homepage. :)

Lets' do some mayhem!!! Thanks again Yankes! <3

Online Yankes

  • Commander
  • *****
  • Posts: 3194
    • View Profile
Re: [SOLVED] Openxcom precompiled binary nightly builds for Linux?
« Reply #9 on: March 28, 2015, 07:04:45 pm »
I'm glad to help :)

For recap, to create linux "exe" you need:
Code: [Select]
sudo apt-get install libsdl1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libyaml-cpp-dev git libboost-all-dev
cd ~
git clone https://github.com/SupSuper/OpenXcom.git OpenXcom_dev
cd OpenXcom_dev/src
make -f Makefile.simple clean
make -f Makefile.simple
execute file (and OpenXcom files) will be in `~/OpenXcom_dev/bin`.

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #10 on: March 28, 2015, 07:31:22 pm »
Latest two questions: as for updating, we need to "clone" another build inta another directory or may overwrite existing? I suppose peraphs git has a parameter to update?

Second, to forum admin, may this thread be pinned up? Thank everybody!
« Last Edit: March 28, 2015, 10:20:23 pm by niculinux »

Online Yankes

  • Commander
  • *****
  • Posts: 3194
    • View Profile
Re: [SOLVED] Openxcom precompiled binary nightly builds for Linux?
« Reply #11 on: March 28, 2015, 08:07:14 pm »
for updating you need got to console and:
Code: [Select]
cd ~/OpenXcom_dev/src
git pull
make -f Makefile.simple clean
make -f Makefile.simple
btw you can speed up build if you add to last line `-j 4` ("4" depend on numbers of cores you have in you machine).
Result should look like `make -f Makefile.simple -j 4`.

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #12 on: March 28, 2015, 10:29:54 pm »
Sorry, reopended to enquiry as for unistalling, simply delete the folder?  :-[

Offline hellrazor

  • Commander
  • *****
  • Posts: 2013
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #13 on: March 28, 2015, 10:30:49 pm »
OK, thanks again, lastly, as for unistalling?  :-[

Heretic! You do not uninstall OpenXcom! :-P

You can just delete the directory, you user files will be kept under ~/.config/openxcom and ~/.local/share/openxcom.

niculinux

  • Guest
Re: Openxcom precompiled binary nightly builds for Linux?
« Reply #14 on: March 28, 2015, 10:33:49 pm »
thank you hellrazor, i'm dying of shame >.< ok, now really solved  :D