Linux Build
by Ryan J. Parker · in Torque Game Engine · 08/09/2001 (9:07 pm) · 10 replies
If anyone tries building the v12 under Linux please make sure you read the documentation first (you'll need things like Mesa3D, nasm, etc.) If you have any problems or questions that are not addressed in the documentation provided with the v12 SDK then please post them here.
Thanks.
Thanks.
#2
08/10/2001 (8:35 am)
Nope. You will need to just install mesa3d by itself. You extract the archive and follow the directions in the README or INSTALL file of the mesa3d archive. This will install mesa3d on your system itself. Once that's done you can continue with the v12 :-).
#3
08/13/2001 (8:14 pm)
I'm just wondering if anyone has successfully built and/or attempted to build the v12 under Linux and/or OpenBSD. I'd like to know if anyone's had any luck :-).
#4
08/19/2001 (3:00 pm)
yes I have built it a couple times with no problems.
#5
Beyond having so many dependency problems that I can't even get the
latest version of gcc installed, (sash really makes me mad), I can't even
get a simple shell script like unixchange.sh to run so that the EOLs are
correct. I get errors in it, and I know that it must work since people are
building! I'm using the default bash shell, do I need something different?
08/31/2001 (10:41 am)
I'm not sure I've ever had this much trouble doing something in linux. Beyond having so many dependency problems that I can't even get the
latest version of gcc installed, (sash really makes me mad), I can't even
get a simple shell script like unixchange.sh to run so that the EOLs are
correct. I get errors in it, and I know that it must work since people are
building! I'm using the default bash shell, do I need something different?
#6
Ryan J. Parker
rjp@awingsoftware.com
09/01/2001 (9:00 am)
Try running 'sh unixchange.sh'. You shouldn't have to worry about having the latest and greatest GCC. As long as you have either 2.95 or 3 you should be ok.Ryan J. Parker
rjp@awingsoftware.com
#7
09/03/2001 (5:59 pm)
Thanks, thats what I was doing, I guess there's something deeper wrong with my system or something.
#8
09/05/2001 (6:35 am)
How are you installing the dependencies? i.e. Mesa3D?
#9
[root@keroon v12]# make
make: expand.c:489: allocated_variable_append: Assertion 'current_variable_set_list->next != 0' failed.
make: *** [default] Aborted (core dumped)
[root@keroon v12]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
I've tried building as a normal user as well.
PGA
11/03/2001 (11:05 pm)
When I try to make any target, I get this error:[root@keroon v12]# make
make: expand.c:489: allocated_variable_append: Assertion 'current_variable_set_list->next != 0' failed.
make: *** [default] Aborted (core dumped)
[root@keroon v12]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
I've tried building as a normal user as well.
PGA
#10
with it, too many to go into here, but you can e-mail me for more info.
As for the problem outlined in my previous post, it is a known bug in
GNU make 3.39.x. Downgrading make to 3.78.1-4 and fixing
the makefiles solved the problem. I then ran into errors with
OpenAL (which Rick O. fixed), and file name problems.
Then, it was on to OpenGL issues (functions not declared, out
of scope, etc.). I modified several source files and headers
to correct this.
The final problem was several classes that were the same name as
variables used in the X Windows libraries. Renaming all of these
to something different made it all good.
Now, to figure out why it won't run. :)
PGA
11/10/2001 (7:58 pm)
OK, I got it to compile clean on Linux. There were several problemswith it, too many to go into here, but you can e-mail me for more info.
As for the problem outlined in my previous post, it is a known bug in
GNU make 3.39.x. Downgrading make to 3.78.1-4 and fixing
the makefiles solved the problem. I then ran into errors with
OpenAL (which Rick O. fixed), and file name problems.
Then, it was on to OpenGL issues (functions not declared, out
of scope, etc.). I modified several source files and headers
to correct this.
The final problem was several classes that were the same name as
variables used in the X Windows libraries. Renaming all of these
to something different made it all good.
Now, to figure out why it won't run. :)
PGA
Associate Anthony Rosenbaum
Anthony