VOGONS


First post, by uldics

User metadata
Rank Newbie
Rank
Newbie

Could some wise guru make (hehe, configure and install...) a guide how to install, configure and make it work from source? Because I'm getting error after error and nothing and nada at the end. Probably I miss some package. Which packages exactly I need I cannot find out. My repositories show more than 20 packages with libsdl in their name with and without dev and so on. My steps were as described in the file INSTALL from dosbox_mb5_src.tar.gz :
./autogen.sh
./configure
make

And that's when I get lots of problems:

g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -g -O2  -I/usr/include/freetype2 -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp
setup.cpp: In member function ‘bool Value::set_hex(const std::string&)’:
setup.cpp:148: error: ‘INT_MIN’ was not declared in this scope
setup.cpp: In member function ‘bool Value::set_int(const std::string&)’:
setup.cpp:157: error: ‘INT_MIN’ was not declared in this scope
make[3]: *** [setup.o] Error 1
make[3]: Leaving directory `/home/uldics/dosbox/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/uldics/dosbox/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/uldics/dosbox'
make: *** [all] Error 2

The reason, why I dont just take the readymade .deb package, is it does not have the real IPX network possibility. And this is the only way for me to get it work together with a bunch of old DOS computers at a lanparty (I dont own a 10-15 years old computer, just a poor, modern laptop).

And all other solutions are for base system - windows. Such a peace of software I don't have nor wish to have. My current system is Debian Squeeze (testing). I had obtained Dosbox from Debian Sid (unstable) branch. And it works very well, just it does not have real IPX connectivity.

Reply 2 of 5, by uldics

User metadata
Rank Newbie
Rank
Newbie

Now I get same type errors.

g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -g -O2  -I/usr/include/freetype2 -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp
setup.cpp: In member function ‘bool Value::set_double(const std::string&)’:
setup.cpp:165: error: ‘numeric_limits’ is not a member of ‘std’
setup.cpp:165: error: expected primary-expression before ‘double’
setup.cpp:165: error: expected ‘,’ or ‘;’ before ‘double’
setup.cpp:167: error: ‘numeric_limits’ is not a member of ‘std’
setup.cpp:167: error: expected primary-expression before ‘double’
setup.cpp:167: error: expected `)' before ‘double’
make[3]: *** [setup.o] Error 1
make[3]: Leaving directory `/home/uldics/dosbox/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/uldics/dosbox/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/uldics/dosbox'
make: *** [all] Error 2

Would that mean, all includes in setup.cpp should be made with .h?
No that gives even more errors...

Reply 3 of 5, by rCX

User metadata
Rank Newbie
Rank
Newbie

Are you using Ubuntu? Have you tried this method?

Reply 4 of 5, by uldics

User metadata
Rank Newbie
Rank
Newbie

I'm using Debian, have installed all the necessary packages. And that method did not help. Same errors. I suppose just because it needs it to be in my repositories. And dosbox_mb5_src.tar.gz is definately not in any repositories.

Reply 5 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Use the official 0.73 sources, otherwise you're on your own.