D2X-W32 Linux port

A forum just for you old time Descent and Descent2 players.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:Read the installation instructions on my D2X page (bottom)!
I DID!!!!! :P

but you really should stop focusing on creating a universal binary....if you want to host RPM or Debian files for different distributions, then that would be your better bet. Hence why 99.9% of linux games don't have universal executables :P
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

The installation instructions are for the source code compile. If you get into another compile path than the opengl one, you might e.g. not have called ./configure correctly.

I am not hosting a universal binary. It has been created on openSuse 10, and there is no warranty that it will be executable on any other i86-32 Linux distro, or even another i86-32 openSuse 10.

It is also not 100% done yet.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Some changes:
  • Descent data is now expected in /usr/local/share/d2x-xl, unless specified otherwise with $DESCENT2
  • Ini file is $(HOME)/.d2x-xl
  • Executable may reside in /usr/local/bin
I am pretty much done with the port now; everything is in, finished UDP/IP support today.

So as far as I and the Linux version of D2X-XL are concerned: It is done. :)
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

hmmm.... :(
make[3]: Entering directory `/root/d2x-xl-src/src/arch/linux'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I ../../arch/linux/include -I/usr/include/SDL -D_REENTRANT -pipe -O2 -Wall -Wno-char-subscripts -MT ipx_mcast4.o -MD -MP -MF ".deps/ipx_mcast4.Tpo" -c -o ipx_mcast4.o ipx_mcast4.c; then mv -f ".deps/ipx_mcast4.Tpo" ".deps/ipx_mcast4.Po"; else rm -f ".deps/ipx_mcast4.Tpo"; exit 1; fi
ipx_mcast4.c:64: warning: `chk' defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arch/include -I../../include -I../../main -I./include -I ../../arch/linux/include -I/usr/include/SDL -D_REENTRANT -pipe -O2 -Wall -Wno-char-subscripts -MT ipx_udp.o -MD -MP -MF ".deps/ipx_udp.Tpo" -c -o ipx_udp.o ipx_udp.c; then mv -f ".deps/ipx_udp.Tpo" ".deps/ipx_udp.Po"; else rm -f ".deps/ipx_udp.Tpo"; exit 1; fi
ipx_udp.c: In function `dumpraddr':
ipx_udp.c:441: error: syntax error before '}' token
ipx_udp.c: In function `ipx_udp_OpenSocket':
ipx_udp.c:538: warning: unused variable `sockBlockMode'
ipx_udp.c: In function `ipx_udp_SendPacket':
ipx_udp.c:693: warning: suggest explicit braces to avoid ambiguous `else'
ipx_udp.c: At top level:
ipx_udp.c:133: warning: `dynamic_socket' defined but not used
ipx_udp.c:153: warning: `compatibility' defined but not used
ipx_udp.c:166: warning: `msg' defined but not used
ipx_udp.c:434: warning: `dumpraddr' defined but not used
ipx_udp.c:447: warning: `dumpaddr' defined but not used
make[3]: *** [ipx_udp.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/arch/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/arch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
pinkybox src #
:cry: :cry: :cry:
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Kirby,

have you called ./configure with the argument --enable-release=yes?

If yes, do you have the latest gcc compiler (v4.02)?

Anyway,

open src/arch/linux/ipx_udp.c in a text editor and replace the functions dumpraddr() and dumpaddr() with the following code:
/* Dump raw form of IP address/port by fancy output to user
*/
static void dumpraddr(unsigned char *a)
{
#ifndef RELEASE
short port;
msg("[%u.%u.%u.%u]",a[0],a[1],a[2],a[3]);
port=(signed short)ntohs(*(unsigned short *)(a+4));
if (port) msg(":%+d",port);
#endif
}

/* Like //dumpraddr() but for structure "sockaddr_in"
*/

static void dumpaddr(struct sockaddr_in *sinP)
{
#ifndef RELEASE
unsigned short ports;

memcpy(qhbuf+0,&sinP->sin_addr,4);
ports=htons(((short)ntohs(sinP->sin_port))-UDP_BASEPORT);
memcpy(qhbuf+4,&ports,2);
//dumpraddr(qhbuf);
#endif
}
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

K...that fixed it...

now I'm back to everyone's favorite problem: sdlgl.c :D
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I don't understand that - I just don't have that problem. :?

Did you install SDL 1.2.8-8 and modify AM_PATH_SDL in configure.ac?

For some reason, SDL_IMAGE is defined in your configuration, and it shouldn't be. You can manually undefine it by editing src/conf.h - that should solve your problem.

I have changed configure.ac so that SDL_IMAGE won't get defined any more.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

something is wrong with permissions in the unified sources:
pinkybox d2x-xl-src # ./configure
bash: ./configure: Permission denied
pinkybox d2x-xl-src #
chmod 777 configure to open up the permission causes this on run:
pinkybox d2x-xl-src # chmod 777 configure
pinkybox d2x-xl-src # ./configure
: bad interpreter: No such file or directory
pinkybox d2x-xl-src #
btw...instead of playing tag every other hour, why don't we agree on a IRC server to chat in?? :3

edit>>>> sweht...I finally got past that sdlgl.c error....as Diedel suggested, it was SDL_IMAGE....so remove these lines from configure.ac and ./autogen:
# Check for SDL_image
AC_CHECK_LIB(SDL_image, IMG_ReadXPMFromArray,
LIBS="-lSDL_image $LIBS"
AC_DEFINE(SDL_IMAGE,,[Define if you have the SDL_image library]))
edit #2>>> something interesting to note....when a .d2x-xl folder is present, ./d2x-gl startup hangs w/o any quick window popup....however, when .d2x-xl is not present, ./d2x-gl window pops open and closes immediately, then the program terminates...already having a valid d2x.ini files makes no difference at all
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

The descent data needs to reside in /usr/local/share/dxl-xl.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:The descent data needs to reside in /usr/local/share/dxl-xl.
it always was in there....

edit>> I'm looking in the makefile for any type of clue...and I came up with this:
sharepath = /usr/local/share/games/d2x-xl
doesn't this mean that the data directory should be /usr/local/share/games/d2x-xl instead of /usr/local/share/d2x-xl???

either way...still nothing :(

maybe it has something to do with d2x.ini being invalid....could you post your working d2x.ini file
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Maybe I need to look into this share path thing once more ... :roll:

D2X-XL 1.5.24 doesn't read d2x.ini, it reads $(HOME)/.d2x-xl as ini file.

Edit: There might be problems with the autogen.sh and configure.ac from my unified source archive. I had zipped it on my Windows machine, and now line breaks are cr/lf, where they are only lf on Linux. Don't yet know how to avoid this. The files also aren't set to executable.

I need a good zip program on Linux. What I've found so far is crap. I need something that allows to only update files that are already in the zip file and where the zipped file is older.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:Edit: There might be problems with the autogen.sh and configure.ac from my unified source archive. I had zipped it on my Windows machine, and now line breaks are cr/lf, where they are only lf on Linux. Don't yet know how to avoid this. The files also aren't set to executable.
it's a known problem when you edit the file under Windows:

http://www.linuxquestions.org/questions/history/213617
I need a good zip program on Linux. What I've found so far is crap. I need something that allows to only update files that are already in the zip file and where the zipped file is older.
what's wrong with 'zip -f' and 'zip -u'???

btw...renaming d2x.ini and putting it into $HOME$ = no go
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Kirby,

These options get rejected on my Linux.

Isn't it funny that the oh-so-wonderful Linux cannot deal with DOS style cr/lf linebreaks, while Windows software has no problems with lf only linebreaks? :P

Btw, I am never quite sure what you've done and what not when you post something. You have a nasty habit of expressing yourself very unprecise. You have renamed d2x.ini to what exactly? $HOME§/.d2x-xl, or what?
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:Btw, I am never quite sure what you've done and what not when you post something. You have a nasty habit of expressing yourself very unprecise. You have renamed d2x.ini to what exactly? $HOME§/.d2x-xl, or what?
sorry....it's not helping I'm the only one who is caring to post feedback right now...

but yeah....I renamed d2x.ini to .d2x-xl and put it in my home directory.

just to check if it's not only my machine that is failing with d2x-xl, I decided to run d2x-xl on one of my college's linux computers (Red Hat Enterprise, I believe).....and of course, same problem shows (with the window poping up rapidly and closing).

I'm not entirely sure if you programmed d2x-gl to print an error message out if it can't find its config file or game data folder (something like having it print out "d2x config file not found" or "d2x game data not avaliable")....or if it's programmed right now to terminate immediately if one of those 2 isn't avaliable.

also another interesting thing to note: when d2x-gl is executed (failed or not), a empty .d2 folder is created in $HOME$
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

You want help, right? You being the only one posting feedback here doesn't help me a bit if I do not understand you. ;)

Your problem hints to d2x-xl not finding its data. It not finding the config file is none of a problem - it will simply use default settings then.

You can edit src/main/inferno.c and replace '//printf (fErr' with 'printf (fErr' and run './configure --enable-debug=yes'. d2x-xl will then print some messages to $HOME/d2x.log. You can look into that file or post it here; maybe I can see something from it.

On my machine, I can start it from where I want and it will run (I have the data in /usr/local/share/d2x-xl).
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

I got it working ^^ but not in the way I was hoping to:

1) building the releases did not create a working executable for me....only building using --enable-debug=yes did...but building the debug version produced some errors I was able to get around (by commenting out the line):

Error #1 -
rle.c: In function `rle_remap':
rle.c:1137: error: `_asm' undeclared (first use in this function)
rle.c:1137: error: (Each undeclared identifier is reported only once
rle.c:1137: error: for each function it appears in.)
rle.c:1137: error: syntax error before "int"
make[2]: *** [rle.o] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/2d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
Error #2 -
timer.c: In function `timer_get_fixed_seconds':
timer.c:43: error: `_asm' undeclared (first use in this function)
timer.c:43: error: (Each undeclared identifier is reported only once
timer.c:43: error: for each function it appears in.)
timer.c:43: error: syntax error before "int"
make[3]: *** [timer.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/arch/sdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/arch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
error #3 -
console.c: In function `con_printf':
console.c:168: error: `con_free' undeclared (first use in this function)
console.c:168: error: (Each undeclared identifier is reported only once
console.c:168: error: for each function it appears in.)
console.c: At top level:
console.c:61: warning: `con_initialized' defined but not used
make[3]: *** [console.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
Error #4 -
morph.c: In function `draw_morph_object':
morph.c:551: error: `_asm' undeclared (first use in this function)
morph.c:551: error: (Each undeclared identifier is reported only once
morph.c:551: error: for each function it appears in.)
morph.c:551: error: syntax error before "int"
make[3]: *** [morph.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2

2) Linux is a picky ★■◆● when it comes to case sensetive filenames....all my data filenames were in uppercase, so I found a little script that converted everything to lowercase....sure enough, that probably contributed to my sucess.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

You don't have the latest source code. Check my D2 site every day for updates, before asking questions here pls.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:You don't have the latest source code. Check my D2 site every day for updates, before asking questions here pls.
yay!!! ^^ now I can focus on actual game problems :)
fyrephlie
DBB Benefactor
DBB Benefactor
Posts: 956
Joined: Tue Nov 15, 2005 12:49 am

Post by fyrephlie »

i care ... just don't have time to monkey with it ... but i am lurking :)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Kirby wrote:
Diedel wrote:You don't have the latest source code. Check my D2 site every day for updates, before asking questions here pls.
yay!!! ^^ now I can focus on actual game problems :)
Does this mean you now have a working D2X-XL on your Linux box? :)
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:
Kirby wrote:
Diedel wrote:You don't have the latest source code. Check my D2 site every day for updates, before asking questions here pls.
yay!!! ^^ now I can focus on actual game problems :)
Does this mean you now have a working D2X-XL on your Linux box? :)
yup :) it was definitely my game data files being in uppercase

compile warning bother me for some reason (even though they really don't affect anything)...I'll send you my 'make' output in a PM...along with a few other things ;)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Nice. :)
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

before I start game testing, could you update the sources to the new 1.5.26 version? The precompiled binary is at 1.5.25, and the sources are at 1.5.24

I'll be gone till tomorrow afternoon....working till 3AM tonight, and 10AM-6PM tomorrow

oh and check your PM box ;)

:)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

You can download http://www.descent2.de/resources/d2x-xl-src.zip. It contains the latest source codes minus the make files, config files etc. for unix, so you should be able to safely extract them to your D2X-XL source folder w/o ruining the make files (because under windows, somehow the lf linebreaks get replaced with cr/lf, which Linux doesn't like).
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:You can download http://www.descent2.de/resources/d2x-xl-src.zip. It contains the latest source codes minus the make files, config files etc. for unix, so you should be able to safely extract them to your D2X-XL source folder w/o ruining the make files (because under windows, somehow the lf linebreaks get replaced with cr/lf, which Linux doesn't like).
sigh....
findfile.c:6:28: linux_findfile.h: No such file or directory
findfile.c:9: error: syntax error before '*' token
findfile.c: In function `FileFindNext':
findfile.c:11: error: storage size of `statBuf' isn't known
findfile.c:16: warning: implicit declaration of function `readdir'
findfile.c:16: error: `ffsP' undeclared (first use in this function)
findfile.c:16: error: (Each undeclared identifier is reported only once
findfile.c:16: error: for each function it appears in.)
findfile.c:16: warning: assignment makes pointer from integer without a cast
findfile.c:16: warning: suggest parentheses around assignment used as truth value
findfile.c:18: warning: implicit declaration of function `regexec'
findfile.c:18: error: dereferencing pointer to incomplete type
findfile.c:18: warning: suggest parentheses around assignment used as truth value
findfile.c:23: error: dereferencing pointer to incomplete type
findfile.c:24: warning: implicit declaration of function `stat'
findfile.c:26: error: `S_IFDIR' undeclared (first use in this function)
findfile.c:26: error: `FF_DIRECTORY' undeclared (first use in this function)
findfile.c:26: error: `FF_NORMAL' undeclared (first use in this function)
findfile.c:28: error: `nFlags' undeclared (first use in this function)
findfile.c:30: error: dereferencing pointer to incomplete type
findfile.c:11: warning: unused variable `statBuf'
findfile.c: At top level:
findfile.c:39: error: syntax error before "FILEFINDSTRUCT"
findfile.c: In function `FileFindFirst':
findfile.c:45: error: `ffsP' undeclared (first use in this function)
findfile.c:46: error: `pszFilter' undeclared (first use in this function)
findfile.c:70: warning: implicit declaration of function `regcomp'
findfile.c:70: error: `REG_EXTENDED' undeclared (first use in this function)
findfile.c:70: error: `REG_NOSUB' undeclared (first use in this function)
findfile.c:70: warning: suggest parentheses around assignment used as truth value
findfile.c:72: warning: implicit declaration of function `regerror'
findfile.c:77: warning: implicit declaration of function `opendir'
findfile.c:79: error: `nFlags' undeclared (first use in this function)
findfile.c: At top level:
findfile.c:83: error: syntax error before '*' token
findfile.c: In function `FileFindClose':
findfile.c:85: warning: implicit declaration of function `closedir'
findfile.c:85: error: `ffsP' undeclared (first use in this function)
findfile.c:86: warning: implicit declaration of function `regfree'
make[3]: *** [findfile.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/arch/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/arch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
I probably did something wrong again while copying over the files...enlighten me 'o great one :P
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

edit arch/linux/findfile.c and change #include "linux_findfile.h" to "findfile.h". I will update the archive.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:edit arch/linux/findfile.c and change #include "linux_findfile.h" to "findfile.h". I will update the archive.
findfile.c: In function `FileFindNext':
findfile.c:16: warning: suggest parentheses around assignment used as truth value
findfile.c:18: warning: suggest parentheses around assignment used as truth value
findfile.c:23: error: structure has no member named `szDir'
findfile.c: In function `FileFindFirst':
findfile.c:47: error: structure has no member named `szDir'
findfile.c:49: error: structure has no member named `szDir'
findfile.c:50: error: structure has no member named `szDir'
findfile.c:51: error: structure has no member named `szDir'
findfile.c:52: error: structure has no member named `szDir'
findfile.c:54: error: structure has no member named `szDir'
findfile.c:70: warning: suggest parentheses around assignment used as truth value
findfile.c:77: error: structure has no member named `szDir'
make[3]: *** [findfile.o] Error 1
make[3]: Leaving directory `/root/d2x-xl-src/src/arch/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/d2x-xl-src/src/arch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/d2x-xl-src/src'
make: *** [all] Error 2
at least it's shorter now :D

sorry...I would love to fix this stuff on my own (seems pretty simple...looks like a undeclared variable), but uni only teaches java for undergraduate freshmen :oops:
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Problem is that the Linux and Windows sources still aren't completely sync'd, and I don't have access to a Linux machine over the weekend (yet). But the cure is easy. Will post here again in a minute.

Edit:

typedef struct FILEFINDSTRUCT {
char name [256];
char szDir [256];
char type;
DIR *dirP;
regex_t filter;
} FILEFINDSTRUCT;

Add the bold line to the FILEFINDSTRUCT declaration in the non-WIN32 part of include/filefind.h.
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

argh...I knew it -_- I put it as an integer before :p
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

szDir means "Zero terminated String" ... ;)

But I admit that's a naming convention invented by a Microsoft member ... :P
fyrephlie
DBB Benefactor
DBB Benefactor
Posts: 956
Joined: Tue Nov 15, 2005 12:49 am

Post by fyrephlie »

Code: Select all

sdlgl.c:98:23: error: descent.xpm: No such file or directory
sdlgl.c: In function â??ogl_init_windowâ??:
sdlgl.c:99: error: â??pixmapâ?? undeclared (first use in this function)
sdlgl.c:99: error: (Each undeclared identifier is reported only once
sdlgl.c:99: error: for each function it appears in.)
sdlgl.c:84: warning: unused variable â??smâ??
make[2]: *** [sdlgl.o] Error 1
make[2]: Leaving directory `/usr/share/d2x-xl/src/arch/ogl'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/share/d2x-xl/src/arch'
make: *** [install-recursive] Error 1
linux:/usr/share/d2x-xl/src #                    
huh?
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

firefly,

#1 Get the most recent source code
#2 Read the compilation instructions on my D2X page
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

hmm....just got a crazy thought...but wouldn't a bug tracker on your site keep everything organized and such??? that way, you only have to look in one place for everything that needs fixing :)

http://www.bugzilla.org/
http://www.mantisbt.org/
http://www.zentrack.net/

there are a ton on sourceforge....just do a search for 'bug' :)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

My web space is exhausted and doesn't allow for execution of PHP or perl scripts, or compiled programs. The tariff for that kind of web space is quite expensive. Otherwise I'd already have a CVS, a bug tracker and a forum installed. ;)
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

Diedel wrote:My web space is exhausted and doesn't allow for execution of PHP or perl scripts, or compiled programs. The tariff for that kind of web space is quite expensive. Otherwise I'd already have a CVS, a bug tracker and a forum installed. ;)
what if I told you I have connections with a very generous webmaster and a owner of a webhosting company who will probably give you a huge discount on space??? ;)

but seriously...I can probably get you hosted for free on www.ngemu.com ;) Just say the magic words
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

The key word is "please", I guess, but then I depend on the mercy of your generous webmaster and will never know how long that web space is available to me. ;)

I'd have to pay 25 EUR/month for an account with my current ISP that would give me everything I need. I might do that if there's a lot of stuff going on with D2X-XL and DLE-XP in the future.

For the time being, I will however look and see whether there is actually a need for this (and all the extra work I'd have to put in).

But honestly, thanks for the offer. :)
User avatar
Kirby
DBB Ace
DBB Ace
Posts: 151
Joined: Thu Nov 03, 2005 7:27 pm

Post by Kirby »

actually....I wouldn't mind at all with setting up everything for you :) I gotta take a networking course sometime this semester, and this seems as the perfect opportunity to get some practice and become a webmaster :)

I won't allow you to pay 25 something...just to host a free port of a fabulous game ;)
User avatar
kaelan
DBB Ace
DBB Ace
Posts: 42
Joined: Tue Nov 22, 2005 2:51 pm
Contact:

Post by kaelan »

As far as version systems go, I've set up a Subversion repository for the unified W32, Linux, and my OS X updates. I have anonymous read access turned on for the svn protocol and can pretty quickly get the http-webdav access setup.

The repository has the latest version as of right now ( >1.5.27.... I've tentatively called the OS X build 1.5.28, but I think that Diedel should decide the actual version numbers).

The repository is at: svn://myxo.css.msu.edu/d2x-xl/trunk
User avatar
kaelan
DBB Ace
DBB Ace
Posts: 42
Joined: Tue Nov 22, 2005 2:51 pm
Contact:

Post by kaelan »

Hmm, just in case anyone has trouble with the svn:// protocol, I've set up the WebDAV component as well. Its on a non-standard http port to avoid clashing with the local web server.

http://myxo.css.msu.edu:7632/d2x-xl/trunk/
User avatar
kaelan
DBB Ace
DBB Ace
Posts: 42
Joined: Tue Nov 22, 2005 2:51 pm
Contact:

Post by kaelan »

One additional method for those who have firewalls that are blocking access non-standard ports. The following uses the port that is normally used for https traffic (though it is not going of SSL):

http://myxo.css.msu.edu:443/d2x-xl/trunk/
Post Reply