Compiling on powerpc architecture!

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Helselen
New user
Posts: 5
Joined: 07 Jan 2008, 23:00

Compiling on powerpc architecture!

Post by Helselen »

Newbie linux user.

Hi again, i've just resolved my tiny problem with de --with-distributor="XzY", but I have this one now, i've installed all the libraries that 'configure' demanded me, and i've already red the config.sub in order to tell to 'configure' which architecture I'm using, but even with this way of working I only got what is below.

debian:/home/helselen/Desktop/Descargas/warzone2100-2.0.10# make
make  all-recursive
make[1]: se ingresa al directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10'
Making all in win32
make[2]: se ingresa al directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/win32'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/win32'
Making all in lib
make[2]: se ingresa al directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/lib'
Making all in framework
make[3]: se ingresa al directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/lib/framework'
bison -y  -d -oresource_parser.tab.h resource_parser.y
"resource_parser.y", line 57: unknown character `-' in declaration section
"resource_parser.y", line 57: no input grammar
*** glibc detected *** double free or corruption (!prev): 0x100264c8 ***
make[3]: *** [resource_parser.tab.h] Abortado
make[3]: se sale del directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10/lib'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/helselen/Desktop/Descargas/warzone2100-2.0.10'
make: *** [all] Error 2
debian:/home/helselen/Desktop/Descargas/warzone2100-2.0.10#


So, what I am doing bad? I'll be very thankful for your help.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Compiling on powerpc architecture!

Post by DevUrandom »

(a) Please issue "export LANG=C" on the commandline if you want to post the output of make&Co. This will enable us to understand it, too. ;)
(b) Which version of bison are you running? "bison --version" will tell you.
Helselen
New user
Posts: 5
Joined: 07 Jan 2008, 23:00

Re: Compiling on powerpc architecture!

Post by Helselen »

the bison version is 1.21.9-1 and about the first question, I don't understand what it means... sorry, I introduced the command at the command line but nothings happens, I'm really sorry because I don't want to exasperate you, I am learning as fast as I can :)

Anyway I am thankful for your consideration and your time.

thanks.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Compiling on powerpc architecture!

Post by DevUrandom »

"export LANG=C" will not give you any output. But all commands you execute afterwards will have english output (instead of ?spanish?).

bison-1.21 is definitely too old. You should get at least 1.31. Better would probably be 2.3, if
If your package manager says you have that already installed, ask again. Then we need to figure out how to make your distro use the newer version.
Helselen
New user
Posts: 5
Joined: 07 Jan 2008, 23:00

Re: Compiling on powerpc architecture!

Post by Helselen »

Hey thanks for the information about bison, I upgraded it with apt and I tried again to compile and it worked perfectly, I can enjoy the game now. About the export command it's really useful I didn't know about this now I understand what  you mind.

Thanks for all.

see'ya
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Compiling on powerpc architecture!

Post by DevUrandom »

"export" sets an environment variable (like PATH, or in this case: LANG). "C" is the default language, which should mean English.
You can inspect environment variables using the "echo" command. Eg. "echo $PATH" or "echo $LANG".
Environment variables are deleted using the "unset" command, eg. "unset LANG".