Jump to content


Photo

Ufo2000 Compilation Prob In Debian


  • Please log in to reply
3 replies to this topic

#1 viv

viv

    Squaddie

  • Forum Members
  • PipPip
  • 3 posts

Posted 07 July 2006 - 04:10 AM

Hi all, I have been running Debian (Etch) GNU/Linux for a couple of months now. I downloaded the latest stable release of ufo2000 (0.6.627) - the linux x86 binary and extracted the tar.gz file, and followed the instruction for Linux/Unix given in the text file called 'INSTALL'.

The instruction asked that I check for the needed libraries (allegro 4.0.x; expat 1.95.6, HawkNL 1.68, Lua 5.0). I have all the libraries mentioned except for HawkNL. I then cd to the directory containing the sources of ufo2000 and run make from it but I got an error:
make: *** No targets specified and no makefile found.

Does anyone have any idea - particularly from those using Debian GNU/Linux?

Pardon me if I wrote this in the wrong forum but I cannot seem to find one suitable for this post.

#2 Serge

Serge

    Project Leader: UFO 2000

  • Xenocide Programming Department
  • 785 posts

Posted 07 July 2006 - 04:55 AM

Well, linux binary does not need to be compiled (as opposed to sources), you can try to run './ufo2000' immediately after extracting tarball. Depending on your luck, it may even work for you. Linux binaries have a bad habbit of failing to work on distros other than the one used to build it unless special care is taken. And our precompiled binary is reported to have some problems at least on SUSE: http://ufo2000.xcomu...view.php?id=185 :(

So a preferred way of installing the game is using source tarball (*.bz2 file) and following the instructions.

You may also check the following thread started by your fellow ubuntu users: http://www.xcomufo.c...topic=242025301 :)
ufo2000 development team
http://ufo2000.sourceforge.net

#3 viv

viv

    Squaddie

  • Forum Members
  • PipPip
  • 3 posts

Posted 07 July 2006 - 06:42 AM

Serge, thanks a lot for for the suggestion. I got the binary and source mixed up.

O.k. I got rid of the binary and downloaded the source tarball instead, followed the instruction given in the INSTALL text. But after I ran make (as USER), I got a loooong list of errors, all seems to be in the src directory and the error line ended with "was not declared in this scope"

So a preferred way of installing the game is using source tarball (*.bz2 file) and following the instructions.

<{POST_SNAPBACK}>



#4 viv

viv

    Squaddie

  • Forum Members
  • PipPip
  • 3 posts

Posted 07 July 2006 - 10:43 AM

[DELETED ORIGINAL POST]

I managed to run the command ./ufo2000 from the binary file for linux. It seems to work (I did it from Gnome desktop, not my default Fluxbox window manager) - I got to the login screen for ufo2000. However when I tried to login to the server it failed to connect.

The server is lxnt.info. I am not exactly sure what login name and password that I should use except for the one that I use for this MB?

Note, I do not have the HawkNL netweork lib installed as it is not in debian's rep. Do I really need this lib file?

Edited by viv, 07 July 2006 - 01:00 PM.