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]$