project-navigation
Personal tools

Author Topic: Debian compilation questions  (Read 6433 times)

Offline roboman

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Debian compilation questions
« on: January 02, 2014, 01:16:53 am »
For 2.6
Linux privatehost 3.11-2-686-pae #1 SMP Debian 3.11.10-1 (2013-12-04) i686 GNU/Linux
ii  binutils            2.24-2         i386           GNU assembler, linker and binary utilities
ii  binutils-dev        2.24-2         i386           GNU binary utilities (BFD development files


./configure --disable-uforadiant --disable-execinfo --with-embedded-lua5.1 --disable-sdl2
or
./configure

make
Quote
===> CXX [ufo2map] src/ports/unix/unix_main.cpp
===> LD [ufo2map]
===> LD [testall]
/usr/bin/ld: cannot find -liberty
collect2: error: ld returned 1 exit status
make: *** [testall] Error 1
« Last Edit: June 08, 2014, 01:09:00 am by roboman »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Debian 2.6
« Reply #1 on: January 02, 2014, 01:54:45 am »
Did you install libiberty-dev?

Offline roboman

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: Debian 2.6
« Reply #2 on: January 02, 2014, 02:24:28 am »
Did you install libiberty-dev?
It is solution.
THANK YOU

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Debian 2.6
« Reply #3 on: January 02, 2014, 02:32:53 am »
You're welcome, I'm glad to help :)

Offline roboman

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: Debian 2.6
« Reply #4 on: January 02, 2014, 02:55:09 am »
I just wanna save game but it asking for online registration and says:

Quote
GAME_SetMode_f: Mode 'campaign_main' not found
no user data: '/home/user/.ufoai/2.6-dev/base/save/campaign/'
« Last Edit: January 02, 2014, 12:48:22 pm by roboman »

Offline Internecivus

  • Rookie
  • ***
  • Posts: 64
  • Sometimes I Code
    • View Profile
Re: Debian 2.6
« Reply #5 on: January 02, 2014, 04:05:29 am »
Are you pressing cyan up-arrow button? That's an upload to server button.
Okay, I got it. It's not very obvious that you should click on empty space to the left of that button. Going to fix it in few seconds.

Offline Internecivus

  • Rookie
  • ***
  • Posts: 64
  • Sometimes I Code
    • View Profile
Re: Debian 2.6
« Reply #6 on: January 02, 2014, 05:28:44 am »
Can you try the latest master now?

Offline roboman

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: Debian 2.6
« Reply #7 on: January 02, 2014, 12:54:47 pm »
I just wanna save game but it asking for online registration and says:
Are you pressing cyan up-arrow button? That's an upload to server button.
Okay, I got it. It's not very obvious that you should click on empty space to the left of that button. Going to fix it in few seconds.
it's my fault, everything works fine. Thank you for very fast replay.

Offline roboman

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: Debian compilation questions
« Reply #8 on: June 08, 2014, 01:35:45 am »
Quote
lsb_release -a
Description:   Debian GNU/Linux testing (jessie)

For 2.6 latest.
For single player only.

git clone https://github.com/ufoai/ufoai.git ufoai

Quote
./configure --enable-ccache --enable-release --disable-uforadiant --with-embedded-lua5.1 --bindir=/media/SSD5/games/localgames/bin --datadir=/media/SSD5/games/localgames/ufo/data --libdir=/media/SSD5/games/localgames/lib --prefix=/media/SSD5/games/localgames --disable-cgame-multiplayer
make
make lang
make maps-sync
./ufo
Am I doing it right?
Errors:
Quote
----------- parse scripts ----------
60 script files
56 ui script files
UI_ParseNodeBody: Command name for confunc 'hud_default.soldier.soldier_opts.soldier_buttons.show_inventory' already registered
UI_ParseNodeBody: Command name for confunc 'hud_default.soldier.soldier_opts.soldier_buttons.show_physdat' already registered
Interface isn't working.
« Last Edit: June 08, 2014, 03:20:30 am by roboman »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Debian compilation questions
« Reply #9 on: June 08, 2014, 06:15:11 am »
Well it does seem right (unless I'm to sleepy and missing something) of course if you aren't installing (didn't see any 'make install') you don't need to give any dirs to configure

UI_ParseNodeBody errors are known and are there since UI2 was merged (and so far they seem completely inoffensive)

The UI bug should be fixed now, but feedback is welcome in this front (a new UI feature was introduced, hopefully nothing else was broken in the process...)
« Last Edit: June 08, 2014, 06:16:50 am by DarkRain »