Jump to content
Eternal Lands Official Forums
Sign in to follow this  
OutThisLife

FreeBSD

Recommended Posts

My friend is currently trying to install on FreeBSD, and well, should he download the source or the .zip?

To play under FreeBSD, download the Linux version, download the code from the CVS, and use the freebsd make file

Share this post


Link to post
Share on other sites

Download the zip file with the art and models (the Linux distribution).

Unzip it in a clean directory:

 

mkdir el

cd el

unzip ../el_101.zip

 

Download the tarball that Wytter mentioned. Unpack it.

 

tar zxvf elc_101.tgz

 

Compile the program

 

cd elc

cp Makefile.bsd Makefile

make

 

Edit the el.ini that came with the source code, change the data dir to point to the directory where you unpacked the zip file.

 

#data_dir = /path/to/el

 

Run el

 

./el.x86.linux.bin

 

For more information, post the error message.

Share this post


Link to post
Share on other sites

*blink*

 

Yes, he has to compile every single .c file. However, this is usually accomplished by simply typing

make

Or, if he refuses to copy Makefile.bsd to Makefile

make -f Makefile.bsd

Share this post


Link to post
Share on other sites

Problem.. >.>;;

 

timers.h:13: warning: data definition has no type or storage class

timers.h:25: error: syntax error before "my_timer"

timers.h:25: error: syntax error before "some_int"

timers.h:25: warning: type defaults to `int' in declaration of `my_timer'

timers.h:25: warning: data definition has no type or storage class

timers.h:37: error: syntax error before "check_misc"

timers.h:37: error: syntax error before "interval"

timers.h:37: warning: type defaults to `int' in declaration of `check_misc'

timers.h:37: warning: data definition has no type or storage class

In file included from global.h:97,

from 2d_objects.c:4:

rules.h:44: error: syntax error before "Uint8"

2d_objects.c: In function `load_obj_2d_def':

2d_objects.c:175: error: `FILE' undeclared (first use in this function)

2d_objects.c:175: error: (Each undeclared identifier is reported only once

2d_objects.c:175: error: for each function it appears in.)

2d_objects.c:175: error: `f' undeclared (first use in this function)

2d_objects.c:210: warning: implicit declaration of function `fopen'

2d_objects.c:214: warning: implicit declaration of function `sprintf'

2d_objects.c:219: warning: implicit declaration of function `fseek'

2d_objects.c:219: error: `SEEK_END' undeclared (first use in this function)

2d_objects.c:220: warning: implicit declaration of function `ftell'

2d_objects.c:225: error: `SEEK_SET' undeclared (first use in this function)

2d_objects.c:226: warning: implicit declaration of function `fread'

2d_objects.c:227: warning: implicit declaration of function `fclose'

*** Error code

 

and it just scrolls him.

Share this post


Link to post
Share on other sites

FreeBSD is usually behind when it comes to OpenGL drivers, so even if he manages to install it most likely he will get software rendering, which is too slow.

Share this post


Link to post
Share on other sites
Guest Bxfr

or you can just do that :

cd /usr/ports/games/el/ && make install clean

 

that will install eternal land 1.0.1 and all the dependancies

Share this post


Link to post
Share on other sites

As long as someone remembers to keep the BSD makefile up-to-date, there should be no problems. However, when I last worked on it, you needed to make sure to use gmake.

Share this post


Link to post
Share on other sites
if needed, i could work on it to use the bsd make

Please do, we need at least one person to metain every sunshineform and OS we support.

Sunshineform? :lol: Where the things has gone now? :)

Share this post


Link to post
Share on other sites
Guest Bxfr

i posted the patch on berlios

it compile fine without any warning under FreeBSD 5.3 with gcc 3.4

on FreeBSD 4.x too, if you remove the -Wdeclaration-after-statement (unsupported before gcc 3.4) and -Werror for those warning :

console.c: In function `test_for_console_command':

console.c:95: warning: value computed is not used

console.c:97: warning: value computed is not used

console.c:213: warning: value computed is not used

console.c:215: warning: value computed is not used

 

it compile on a slackware 10 without -Wdeclaration-after-statement (gcc < 3.4 too)

 

i couldn't test it on windows yet

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×