Chat doesn't allow more than one character

Warzone 2.0.x series. (Unsupported--read only!)
Locked
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Chat doesn't allow more than one character

Post by normal »

Hello everybody. I'm new here!

I'm having a problem with really old version. I'm currently on PCLinuxOS, and the version in the repositories is currently 2.0.10. I requested an update, but I'm not sure how fast is it going to be (PCLinuxOS is going KDE 4)
so I will stick with 2.0.10 until an update.

As some may ask themselves why didn't I compile it from the source, I'm unable to download "libSDL-devel" from the repositories (some files there caused problems, and were pulled and are being tested).

In the meantime I would like to know why I can't write more than one character in the chat. Is it an bug that was in this version, or something that is easy to fix? Apparently my keyboard is totally fine because I'm here, writing this post ;)

Thank you!
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Chat doesn't allow more than one character

Post by Zarel »

It's possibly something specific to your version, etc.

Regardless, 2.0.10 is something like two years old; we haven't supported it in ages. Please upgrade. Seriously, just compile 2.2.4 yourself. :|
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

Zarel wrote:It's possibly something specific to your version, etc.

Regardless, 2.0.10 is something like two years old; we haven't supported it in ages. Please upgrade. Seriously, just compile 2.2.4 yourself. :|
Well, I'm having error while compiling. If you would like to help me compiling it, here is the output:
[normal@localhost ~]$ cd ./Desktop/warzone2100-2.2.4
[normal@localhost warzone2100-2.2.4]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking for bison >= 1.31... found 2.4.1, ok
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex >= 2.5.33... found 2.5.33, ok
checking for flex != 2.5.34... not found, good
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for perl version... 5.10.1
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for strlcpy... no
checking for strlcat... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt >= 0.15... found 0.17, ok
checking for xgettext >= 0.15... found 0.17, ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 0.23, ok
checking whether to build NSIS installer... no
checking whether to compile in debug mode... no
checking for SDL... configure: error: Package requirements (sdl >= 1.2) were not met:

No package 'sdl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SDL_CFLAGS
and SDL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

[normal@localhost warzone2100-2.2.4]$
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Chat doesn't allow more than one character

Post by Zarel »

Install SDL?
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

Zarel wrote:Install SDL?
That's what I thought at first. But when I searched for SDL, I didn't find any packages.
But there are "libSDL" and "libSDL-devel" as you can see on the picture:
Image

libSDL is installed while libSDL-devel is not. Maybe I should install libSDL-devel?
I tried installing it, but I got this error:

Image

As I said in my first post:
normal wrote:(some files there caused problems, and were pulled and are being tested)
It seems that some packages are missing. Although they are working to solve that problem, I'm not sure is it going to be done today or tomorrow.

At least I have my patience ;)
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Chat doesn't allow more than one character

Post by stiv »

libSDL is installed while libSDL-devel is not. Maybe I should install libSDL-devel?
Linux packages come in two parts. The basic package contains what you need to run an application like Warzone. The -devel (or -dev) part contains what you need to compile an application. So, for compiling, for any package 'foo', you also need 'foo-devel'.

UNLESS you compile and install the package yourself from source. Then you get everything.

In other news, newer versions of SDL are being packaged as libSDL*.
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

stiv wrote:
libSDL is installed while libSDL-devel is not. Maybe I should install libSDL-devel?
Linux packages come in two parts. The basic package contains what you need to run an application like Warzone. The -devel (or -dev) part contains what you need to compile an application. So, for compiling, for any package 'foo', you also need 'foo-devel'.

UNLESS you compile and install the package yourself from source. Then you get everything.

In other news, newer versions of SDL are being packaged as libSDL*.
yea, seems that i need to install "libSDL-devel" but i said where is my problem (missing packages)
so, i can't install it.

EDIT: Hallelujah, the packages have been tested, and are uploaded to the repositories. I'm installing "libSDL-devel" now, and I will inform you if I run in any problem in case you know how to solve it!

EDIT2: Error: Popt header not found!
[normal@localhost warzone2100-2.2.4]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking for bison >= 1.31... found 2.4.1, ok
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex >= 2.5.33... found 2.5.33, ok
checking for flex != 2.5.34... not found, good
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for perl version... 5.10.1
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for strlcpy... no
checking for strlcat... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt >= 0.15... found 0.17, ok
checking for xgettext >= 0.15... found 0.17, ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 0.23, ok
checking whether to build NSIS installer... no
checking whether to compile in debug mode... no
checking for SDL... yes
checking for PNG... yes
checking for THEORA... yes
checking for OPENAL... yes
checking for OGGVORBIS... yes
checking for nearbyint in -lm... yes
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
configure: error: Popt header not found.
[normal@localhost warzone2100-2.2.4]$
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Chat doesn't allow more than one character

Post by stiv »

configure: error: Popt header not found.
Install popt and popt-devel.
(don't kick yourself too hard!)
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

stiv wrote:
configure: error: Popt header not found.
Install popt and popt-devel.
(don't kick yourself too hard!)
Sometimes i think i should wait and find myself. By the time you posted this, i was installing popt-devel.
:)

This one... QuestoGLC is required by WZ2100. Its asking me to install it, but i can't find it in the repositories, and now i have to compile it.

I succeeded to configure it, but when i type make, like always: Error.
This is getting really annoying. All I'm trying to do is to install a Warzone 2100 game. I have installed almost 10 packages and now, to install this one, i need to install another one that can't be installed.

I just want to play it. :(

(For those who want to know what i error)

Code: Select all

[normal@localhost ~]$ cd ./Desktop
[normal@localhost Desktop]$ cd ./quesoglc-0.7.2
[normal@localhost quesoglc-0.7.2]$ make
Making all in include
make[1]: Entering directory `/home/normal/Desktop/quesoglc-0.7.2/include'
make  all-am
make[2]: Entering directory `/home/normal/Desktop/quesoglc-0.7.2/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/normal/Desktop/quesoglc-0.7.2/include'
make[1]: Leaving directory `/home/normal/Desktop/quesoglc-0.7.2/include'
Making all in build
make[1]: Entering directory `/home/normal/Desktop/quesoglc-0.7.2/build'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../src -D_REENTRANT -DGLEW_MX -pthread -I/usr/include/freetype2 -pthread -pthread  -g -O2 -MT libGLC_la-context.lo -MD -MP -MF .deps/libGLC_la-context.Tpo -c -o libGLC_la-context.lo `test -f '../src/context.c' || echo './'`../src/context.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../src -D_REENTRANT -DGLEW_MX -pthread -I/usr/include/freetype2 -pthread -pthread -g -O2 -MT libGLC_la-context.lo -MD -MP -MF .deps/libGLC_la-context.Tpo -c ../src/context.c  -fPIC -DPIC -o .libs/libGLC_la-context.o
In file included from ../src/ofacedesc.h:29,
                 from ../src/ofont.h:28,
                 from ../include/internal.h:58,
                 from ../src/context.c:49:
../src/omaster.h:28:35: error: fontconfig/fontconfig.h: No such file or directory
In file included from ../src/ocharmap.h:29,
                 from ../src/omaster.h:30,
                 from ../src/ofacedesc.h:29,
                 from ../src/ofont.h:28,
                 from ../include/internal.h:58,
                 from ../src/context.c:49:
../src/ocontext.h:113: error: expected specifier-qualifier-list before ‘FcConfig’
../src/ocontext.h:205: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from ../src/omaster.h:30,
                 from ../src/ofacedesc.h:29,
                 from ../src/ofont.h:28,
                 from ../include/internal.h:58,
                 from ../src/context.c:49:
../src/ocharmap.h:42: error: expected specifier-qualifier-list before ‘FcCharSet’
../src/ocharmap.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/ocharmap.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from ../src/ofacedesc.h:29,
                 from ../src/ofont.h:28,
                 from ../include/internal.h:58,
                 from ../src/context.c:49:
../src/omaster.h:35: error: expected specifier-qualifier-list before ‘FcPattern’
../src/omaster.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/omaster.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/omaster.h:46: error: expected declaration specifiers or ‘...’ before ‘FcChar8’
In file included from ../src/ofont.h:28,
                 from ../include/internal.h:58,
                 from ../src/context.c:49:
../src/ofacedesc.h:36: error: expected specifier-qualifier-list before ‘FcPattern’
../src/ofacedesc.h:46: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../src/ofacedesc.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/ofacedesc.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from ../src/context.c:49:
../include/internal.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../include/internal.h:210: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../include/internal.h:213: error: expected ‘)’ before ‘*’ token
../include/internal.h:216: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../include/internal.h:223: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../include/internal.h:229: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../include/internal.h:276: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../include/internal.h:316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../include/internal.h:324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/context.c: In function ‘glcCallbackFunc’:
../src/context.c:102: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcDataPointer’:
../src/context.c:132: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcDeleteGLObjects’:
../src/context.c:170: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:174: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:175: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:176: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:177: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:178: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:182: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:183: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:184: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:188: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:189: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:190: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c: In function ‘__glcChangeState’:
../src/context.c:230: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:233: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:236: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:237: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:240: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:241: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:251: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:254: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:257: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c: In function ‘glcGetCallbackFunc’:
../src/context.c:376: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcGetListc’:
../src/context.c:415: error: ‘FcChar8’ undeclared (first use in this function)
../src/context.c:415: error: (Each undeclared identifier is reported only once
../src/context.c:415: error: for each function it appears in.)
../src/context.c:415: error: ‘catalog’ undeclared (first use in this function)
../src/context.c: In function ‘glcGetListi’:
../src/context.c:584: error: ‘__GLCcontext’ has no member named ‘currentFontList’
../src/context.c:592: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:603: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:608: error: ‘__GLCfaceDescriptor’ has no member named ‘glyphList’
../src/context.c:628: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:629: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:636: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:637: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:640: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:640: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:641: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:655: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:656: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:664: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:665: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:668: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:668: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:669: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:675: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:677: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:680: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:685: error: ‘__GLCfaceDescriptor’ has no member named ‘glyphList’
../src/context.c: In function ‘glcGetPointer’:
../src/context.c:744: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcGetc’:
../src/context.c:782: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/context.c:782: error: ‘__glcVendor’ undeclared (first use in this function)
../src/context.c:782: error: expected ‘)’ before ‘FcChar8’
../src/context.c:784: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../src/context.c:784: error: ‘__glcRelease’ undeclared (first use in this function)
../src/context.c:784: error: expected ‘)’ before ‘FcChar8’
../src/context.c:815: error: ‘FcChar8’ undeclared (first use in this function)
../src/context.c:815: error: expected ‘;’ before ‘__glcExtensions’
../src/context.c:821: error: ‘__glcExtensions’ undeclared (first use in this function)
../src/context.c:827: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c:827: warning: return makes pointer from integer without a cast
../src/context.c:831: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c:831: warning: return makes pointer from integer without a cast
../src/context.c:834: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c:834: warning: return makes pointer from integer without a cast
../src/context.c: In function ‘glcGetf’:
../src/context.c:882: error: ‘__GLCcontext’ has no member named ‘renderState’
../src/context.c: In function ‘glcGetfv’:
../src/context.c:933: error: ‘__GLCcontext’ has no member named ‘bitmapMatrix’
../src/context.c: In function ‘glcGeti’:
../src/context.c:1075: error: ‘__GLCcontext’ has no member named ‘catalogList’
../src/context.c:1077: error: ‘__GLCcontext’ has no member named ‘currentFontList’
../src/context.c:1081: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:1085: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:1090: error: ‘__GLCfaceDescriptor’ has no member named ‘glyphList’
../src/context.c:1099: error: ‘__GLCcontext’ has no member named ‘masterHashTable’
../src/context.c:1101: error: ‘__GLCcontext’ has no member named ‘measurementBuffer’
../src/context.c:1103: error: ‘__GLCcontext’ has no member named ‘renderState’
../src/context.c:1106: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c:1108: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c:1110: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:1111: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:1118: error: ‘__GLCcontext’ has no member named ‘bitmapMatrixStackDepth’
../src/context.c:1122: error: ‘__GLCcontext’ has no member named ‘attribStackDepth’
../src/context.c:1126: error: ‘__GLCcontext’ has no member named ‘texture’
../src/context.c:1127: error: ‘__GLCcontext’ has no member named ‘atlas’
../src/context.c:1128: error: ‘__GLCcontext’ has no member named ‘fontList’
../src/context.c:1133: error: ‘__GLCfaceDescriptor’ has no member named ‘glyphList’
../src/context.c: In function ‘glcIsEnabled’:
../src/context.c:1189: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1191: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1193: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1195: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1197: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1199: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c: In function ‘glcStringType’:
../src/context.c:1284: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcPushAttribQSO’:
../src/context.c:1425: error: ‘__GLCcontext’ has no member named ‘attribStackDepth’
../src/context.c:1430: error: ‘__GLCcontext’ has no member named ‘attribStack’
../src/context.c:1430: error: ‘__GLCcontext’ has no member named ‘attribStackDepth’
../src/context.c:1434: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1439: error: ‘__GLCcontext’ has no member named ‘renderState’
../src/context.c:1444: error: ‘__GLCcontext’ has no member named ‘stringState’
../src/context.c: In function ‘glcPopAttribQSO’:
../src/context.c:1482: error: ‘__GLCcontext’ has no member named ‘attribStackDepth’
../src/context.c:1487: error: ‘__GLCcontext’ has no member named ‘attribStack’
../src/context.c:1487: error: ‘__GLCcontext’ has no member named ‘attribStackDepth’
../src/context.c:1491: error: ‘__GLCcontext’ has no member named ‘enableState’
../src/context.c:1494: error: ‘__GLCcontext’ has no member named ‘renderState’
../src/context.c:1497: error: ‘__GLCcontext’ has no member named ‘stringState’
make[1]: *** [libGLC_la-context.lo] Error 1
make[1]: Leaving directory `/home/normal/Desktop/quesoglc-0.7.2/build'
make: *** [all-recursive] Error 1
[normal@localhost quesoglc-0.7.2]$  

This was asked to install by:

Code: Select all

[normal@localhost ~]$ cd ./Desktop/warzone2100-2.2.4
[normal@localhost warzone2100-2.2.4]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking for bison >= 1.31... found 2.4.1, ok
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex >= 2.5.33... found 2.5.33, ok
checking for flex != 2.5.34... not found, good
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for perl version... 5.10.1
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for strlcpy... no
checking for strlcat... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt >= 0.15... found 0.17, ok
checking for xgettext >= 0.15... found 0.17, ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 0.23, ok
checking whether to build NSIS installer... no
checking whether to compile in debug mode... no
checking for SDL... yes
checking for PNG... yes
checking for THEORA... yes
checking for OPENAL... yes
checking for OGGVORBIS... yes
checking for nearbyint in -lm... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for PHYSFS_init in -lphysfs... yes
checking SDL/SDL_net.h usability... yes
checking SDL/SDL_net.h presence... yes
checking for SDL/SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking SDL/SDL_opengl.h usability... yes
checking SDL/SDL_opengl.h presence... yes
checking for SDL/SDL_opengl.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking GL/glc.h usability... yes
checking GL/glc.h presence... yes
checking for GL/glc.h... yes
checking for main in -lGLC... no
checking for main in -lglc32... no
configure: error: OpenGLC library not found. Please install QuesoGLC: http://quesoglc.sourceforge.net/
[normal@localhost warzone2100-2.2.4]$

normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

OK, installed. I tried running with terminal, but it shows this error

Code: Select all

[normal@localhost ~]$ warzone2100
warzone2100: error while loading shared libraries: libGLC.so.0: cannot open shared object file: No such file or directory
[normal@localhost ~]$
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Chat doesn't allow more than one character

Post by stiv »

error while loading shared libraries:
Assuming you installed the library ( make install) and put it in a 'usual' place, you may need to update the shared libs your system knows about. As root, run
ldconfig -v

(the -v is so you have something to watch to know it ran ok)

The reason all this is such is big PITA is that you are trying to build an application, not just install a pre-built one. Warzone does have some specific dependencies, but on a machine set up for graphics software development, a lot of this stuff would already be installed. After you have been around the block once or twice, a lot of this will be second nature.
normal
Greenhorn
Posts: 8
Joined: 03 Nov 2009, 22:25

Re: Chat doesn't allow more than one character

Post by normal »

It seems that its too big for Terminal (output) so probably the first part is cut off. Can I save it to a log file or something?
EDIT: Here is the code (click on that link, its too big for this post [complaining about only 20000 characters])
http://wz.pastebin.com/m7b23ac3a

EDIT2: INSTALLED IT!!!! Thanks for your help!
Locked