Error installing X11R6-8.2 on Redhat 7
I am working on Redhat distribution-7.0, in which i've upgraded binutils, gcc, glibc, module-init tools. The kernel I am using is 2.6.12.
As my system was using 2.2 kernel and i wanted to upgrade it to 2.6, i had to upgrade the above mentioned packages. Now, I want to upgrade the GUI interface as well, which is not working in 2.6.12. As per your suggestions, I have downloaded the source files from x-org website. Now, after executing command make world >world.log > 2>&1 I am getting the following errors in world.log: xmlconfig.c:34:19: expat.h: No such file or directory xmlconfig.c:139: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:139: error: parse error before '*' token xmlconfig.c: In function `bsearchStr': xmlconfig.c:141: warning: ISO C forbids nested functions xmlconfig.c:141: error: syntax error before '*' token xmlconfig.c:142: error: `found' undeclared (first use in this function) xmlconfig.c:142: error: (Each undeclared identifier is reported only once xmlconfig.c:142: error: for each function it appears in.) xmlconfig.c:142: error: `name' undeclared (first use in this function) xmlconfig.c:142: error: `elems' undeclared (first use in this function) xmlconfig.c:142: error: `count' undeclared (first use in this function) xmlconfig.c:142: error: `XML_Char' undeclared (first use in this function) xmlconfig.c:142: error: parse error before ')' token xmlconfig.c: At top level: xmlconfig.c:158: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:158: error: parse error before '*' token xmlconfig.c: In function `strToI': xmlconfig.c:159: error: `base' undeclared (first use in this function) xmlconfig.c:163: warning: ISO C forbids nested functions xmlconfig.c:163: error: syntax error before '*' token xmlconfig.c:167: error: `string' undeclared (first use in this function) xmlconfig.c:202: error: `tail' undeclared (first use in this function) xmlconfig.c:202: error: `start' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:218: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:218: error: parse error before '*' token xmlconfig.c: In function `strToF': xmlconfig.c:221: warning: ISO C forbids nested functions xmlconfig.c:221: error: syntax error before '*' token xmlconfig.c:224: error: `string' undeclared (first use in this function) xmlconfig.c:232: error: `numStart' undeclared (first use in this function) xmlconfig.c:247: error: `tail' undeclared (first use in this function) xmlconfig.c:247: error: `start' undeclared (first use in this function) xmlconfig.c:252: warning: ISO C forbids nested functions xmlconfig.c:252: error: syntax error before '*' token xmlconfig.c:253: error: `expTail' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:281: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:281: error: parse error before '*' token xmlconfig.c: In function `parseValue': xmlconfig.c:282: warning: ISO C forbids nested functions xmlconfig.c:282: error: syntax error before '*' token xmlconfig.c:284: error: `string' undeclared (first use in this function) xmlconfig.c:284: warning: left-hand operand of comma expression has no effect xmlconfig.c:285: error: `type' undeclared (first use in this function) xmlconfig.c:288: error: `v' undeclared (first use in this function) xmlconfig.c:289: error: `tail' undeclared (first use in this function) xmlconfig.c:310: warning: left-hand operand of comma expression has no effect xmlconfig.c: At top level: xmlconfig.c:318: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:318: error: parse error before '*' token xmlconfig.c: In function `parseRanges': xmlconfig.c:319: error: `XML_Char' undeclared (first use in this function) xmlconfig.c:319: error: `cp' undeclared (first use in this function) xmlconfig.c:319: error: `range' undeclared (first use in this function) xmlconfig.c:319: warning: left-hand operand of comma expression has no effect xmlconfig.c:320: warning: ISO C90 forbids mixed declarations and code xmlconfig.c:323: error: `string' undeclared (first use in this function) xmlconfig.c:338: error: `end' undeclared (first use in this function) xmlconfig.c:338: error: `sep' undeclared (first use in this function) xmlconfig.c:338: warning: left-hand operand of comma expression has no effect xmlconfig.c:346: error: `info' undeclared (first use in this function) xmlconfig.c:409:29: warning: ISO C does not permit named variadic macros xmlconfig.c:421:27: warning: ISO C does not permit named variadic macros xmlconfig.c:435:27: warning: ISO C does not permit named variadic macros xmlconfig.c: At top level: xmlconfig.c:447: error: parse error before "XML_Parser" xmlconfig.c:447: warning: no semicolon at end of struct or union xmlconfig.c:455: error: parse error before '}' token xmlconfig.c:455: warning: ISO C does not allow extra `;' outside of a function xmlconfig.c:461: error: parse error before '*' token xmlconfig.c:461: warning: type defaults to `int' in declaration of `OptInfoElems' xmlconfig.c:462: warning: initialization from incompatible pointer type xmlconfig.c:462: warning: initialization from incompatible pointer type xmlconfig.c:462: warning: initialization from incompatible pointer type xmlconfig.c:462: warning: initialization from incompatible pointer type xmlconfig.c:463: warning: initialization from incompatible pointer type xmlconfig.c:463: error: ISO C forbids data definition with no type or storage class xmlconfig.c:470: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:470: error: parse error before '*' token xmlconfig.c: In function `parseEnumAttr': xmlconfig.c:472: warning: ISO C forbids nested functions xmlconfig.c:472: error: syntax error before '*' token xmlconfig.c:474: error: `data' undeclared (first use in this function) xmlconfig.c:475: error: `attr' undeclared (first use in this function) xmlconfig.c:476: error: `value' undeclared (first use in this function) xmlconfig.c:477: error: `text' undeclared (first use in this function) xmlconfig.c:478: warning: implicit declaration of function `XML_GetCurrentLineNumber' xmlconfig.c:478: warning: implicit declaration of function `XML_GetCurrentColumnNumber' xmlconfig.c: At top level: xmlconfig.c:493: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:493: error: parse error before '*' token xmlconfig.c: In function `parseDescAttr': xmlconfig.c:495: warning: ISO C forbids nested functions xmlconfig.c:495: error: syntax error before '*' token xmlconfig.c:496: error: `attr' undeclared (first use in this function) xmlconfig.c:497: error: `lang' undeclared (first use in this function) xmlconfig.c:498: error: `text' undeclared (first use in this function) xmlconfig.c:499: error: `data' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:506: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:506: error: parse error before '*' token xmlconfig.c: In function `parseOptInfoAttr': xmlconfig.c:508: warning: ISO C forbids nested functions xmlconfig.c:508: error: syntax error before '*' token xmlconfig.c:509: warning: ISO C forbids nested functions xmlconfig.c:509: error: syntax error before '*' token xmlconfig.c:511: error: `data' undeclared (first use in this function) xmlconfig.c:513: error: `attr' undeclared (first use in this function) xmlconfig.c:514: error: `optAttr' undeclared (first use in this function) xmlconfig.c:517: error: `attrVal' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:569: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:569: error: parse error before '*' token xmlconfig.c: In function `optInfoStartElem': xmlconfig.c:571: error: `userData' undeclared (first use in this function) xmlconfig.c:572: error: `name' undeclared (first use in this function) xmlconfig.c:575: error: dereferencing pointer to incomplete type xmlconfig.c:576: error: dereferencing pointer to incomplete type xmlconfig.c:576: error: dereferencing pointer to incomplete type xmlconfig.c:576: error: dereferencing pointer to incomplete type xmlconfig.c:577: error: `attr' undeclared (first use in this function) xmlconfig.c:578: error: dereferencing pointer to incomplete type xmlconfig.c:578: error: dereferencing pointer to incomplete type xmlconfig.c:578: error: dereferencing pointer to incomplete type xmlconfig.c:579: error: dereferencing pointer to incomplete type xmlconfig.c:582: error: dereferencing pointer to incomplete type xmlconfig.c:583: error: dereferencing pointer to incomplete type xmlconfig.c:583: error: dereferencing pointer to incomplete type xmlconfig.c:583: error: dereferencing pointer to incomplete type xmlconfig.c:584: error: dereferencing pointer to incomplete type xmlconfig.c:585: error: dereferencing pointer to incomplete type xmlconfig.c:585: error: dereferencing pointer to incomplete type xmlconfig.c:585: error: dereferencing pointer to incomplete type xmlconfig.c:587: error: dereferencing pointer to incomplete type xmlconfig.c:587: error: dereferencing pointer to incomplete type xmlconfig.c:587: error: dereferencing pointer to incomplete type xmlconfig.c:588: error: dereferencing pointer to incomplete type xmlconfig.c:591: error: dereferencing pointer to incomplete type xmlconfig.c:591: error: dereferencing pointer to incomplete type xmlconfig.c:592: error: dereferencing pointer to incomplete type xmlconfig.c:592: error: dereferencing pointer to incomplete type xmlconfig.c:592: error: dereferencing pointer to incomplete type xmlconfig.c:593: error: dereferencing pointer to incomplete type xmlconfig.c:594: error: dereferencing pointer to incomplete type xmlconfig.c:594: error: dereferencing pointer to incomplete type xmlconfig.c:594: error: dereferencing pointer to incomplete type xmlconfig.c:595: error: dereferencing pointer to incomplete type xmlconfig.c:599: error: dereferencing pointer to incomplete type xmlconfig.c:600: error: dereferencing pointer to incomplete type xmlconfig.c:600: error: dereferencing pointer to incomplete type xmlconfig.c:600: error: dereferencing pointer to incomplete type xmlconfig.c:601: error: dereferencing pointer to incomplete type xmlconfig.c:602: error: dereferencing pointer to incomplete type xmlconfig.c:602: error: dereferencing pointer to incomplete type xmlconfig.c:602: error: dereferencing pointer to incomplete type xmlconfig.c:603: error: dereferencing pointer to incomplete type xmlconfig.c:604: error: dereferencing pointer to incomplete type xmlconfig.c:604: error: dereferencing pointer to incomplete type xmlconfig.c:604: error: dereferencing pointer to incomplete type xmlconfig.c:605: error: dereferencing pointer to incomplete type xmlconfig.c:609: error: dereferencing pointer to incomplete type xmlconfig.c:609: error: dereferencing pointer to incomplete type xmlconfig.c:610: error: dereferencing pointer to incomplete type xmlconfig.c:610: error: dereferencing pointer to incomplete type xmlconfig.c:610: error: dereferencing pointer to incomplete type xmlconfig.c:611: error: dereferencing pointer to incomplete type xmlconfig.c:612: error: dereferencing pointer to incomplete type xmlconfig.c:612: error: dereferencing pointer to incomplete type xmlconfig.c:612: error: dereferencing pointer to incomplete type xmlconfig.c:613: error: dereferencing pointer to incomplete type xmlconfig.c:617: error: dereferencing pointer to incomplete type xmlconfig.c:617: error: dereferencing pointer to incomplete type xmlconfig.c:617: error: dereferencing pointer to incomplete type xmlconfig.c: At top level: xmlconfig.c:622: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:622: error: parse error before '*' token xmlconfig.c: In function `optInfoEndElem': xmlconfig.c:623: error: `userData' undeclared (first use in this function) xmlconfig.c:624: error: `name' undeclared (first use in this function) xmlconfig.c:627: error: dereferencing pointer to incomplete type xmlconfig.c:630: error: dereferencing pointer to incomplete type xmlconfig.c:633: error: dereferencing pointer to incomplete type xmlconfig.c:636: error: dereferencing pointer to incomplete type xmlconfig.c:639: error: dereferencing pointer to incomplete type xmlconfig.c: In function `driParseOptionInfo': xmlconfig.c:648: error: `XML_Parser' undeclared (first use in this function) xmlconfig.c:648: error: parse error before "p" xmlconfig.c:650: error: storage size of 'userData' isn't known xmlconfig.c:670: error: `p' undeclared (first use in this function) xmlconfig.c:670: warning: implicit declaration of function `XML_ParserCreate' xmlconfig.c:671: warning: implicit declaration of function `XML_SetElementHandler' xmlconfig.c:672: warning: implicit declaration of function `XML_SetUserData' xmlconfig.c:684: warning: implicit declaration of function `XML_Parse' xmlconfig.c:686: error: dereferencing pointer to incomplete type xmlconfig.c:686: error: dereferencing pointer to incomplete type xmlconfig.c:686: error: dereferencing pointer to incomplete type xmlconfig.c:686: warning: implicit declaration of function `XML_ErrorString' xmlconfig.c:686: warning: implicit declaration of function `XML_GetErrorCode' xmlconfig.c:686: warning: format argument is not a pointer (arg 6) xmlconfig.c:688: warning: implicit declaration of function `XML_ParserFree' xmlconfig.c:650: warning: unused variable `userData' xmlconfig.c: At top level: xmlconfig.c:705: error: parse error before "XML_Parser" xmlconfig.c:705: warning: no semicolon at end of struct or union xmlconfig.c:714: error: conflicting types for 'inOption' xmlconfig.c:452: error: previous declaration of 'inOption' was here xmlconfig.c:715: error: parse error before '}' token xmlconfig.c:715: warning: ISO C does not allow extra `;' outside of a function xmlconfig.c:721: error: parse error before '*' token xmlconfig.c:721: warning: type defaults to `int' in declaration of `OptConfElems' xmlconfig.c:722: warning: initialization from incompatible pointer type xmlconfig.c:722: warning: initialization from incompatible pointer type xmlconfig.c:722: warning: initialization from incompatible pointer type xmlconfig.c:723: warning: initialization from incompatible pointer type xmlconfig.c:723: error: ISO C forbids data definition with no type or storage class xmlconfig.c:726: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:726: error: parse error before '*' token xmlconfig.c: In function `parseDeviceAttr': xmlconfig.c:728: warning: ISO C forbids nested functions xmlconfig.c:728: error: syntax error before '*' token xmlconfig.c:729: error: `attr' undeclared (first use in this function) xmlconfig.c:730: error: `driver' undeclared (first use in this function) xmlconfig.c:731: error: `screen' undeclared (first use in this function) xmlconfig.c:732: error: `data' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:746: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:746: error: parse error before '*' token xmlconfig.c: In function `parseAppAttr': xmlconfig.c:748: warning: ISO C forbids nested functions xmlconfig.c:748: error: syntax error before '*' token xmlconfig.c:749: error: `attr' undeclared (first use in this function) xmlconfig.c:750: error: `name' undeclared (first use in this function) xmlconfig.c:751: error: `exec' undeclared (first use in this function) xmlconfig.c:752: error: `data' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:759: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:759: error: parse error before '*' token xmlconfig.c: In function `parseOptConfAttr': xmlconfig.c:761: warning: ISO C forbids nested functions xmlconfig.c:761: error: syntax error before '*' token xmlconfig.c:762: error: `attr' undeclared (first use in this function) xmlconfig.c:763: error: `name' undeclared (first use in this function) xmlconfig.c:764: error: `value' undeclared (first use in this function) xmlconfig.c:765: error: `data' undeclared (first use in this function) xmlconfig.c: At top level: xmlconfig.c:784: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:784: error: parse error before '*' token xmlconfig.c: In function `optConfStartElem': xmlconfig.c:786: error: `userData' undeclared (first use in this function) xmlconfig.c:787: error: `name' undeclared (first use in this function) xmlconfig.c:790: error: dereferencing pointer to incomplete type xmlconfig.c:791: error: dereferencing pointer to incomplete type xmlconfig.c:791: error: dereferencing pointer to incomplete type xmlconfig.c:791: error: dereferencing pointer to incomplete type xmlconfig.c:792: error: `attr' undeclared (first use in this function) xmlconfig.c:793: error: dereferencing pointer to incomplete type xmlconfig.c:793: error: dereferencing pointer to incomplete type xmlconfig.c:793: error: dereferencing pointer to incomplete type xmlconfig.c:794: error: dereferencing pointer to incomplete type xmlconfig.c:797: error: dereferencing pointer to incomplete type xmlconfig.c:798: error: dereferencing pointer to incomplete type xmlconfig.c:798: error: dereferencing pointer to incomplete type xmlconfig.c:798: error: dereferencing pointer to incomplete type xmlconfig.c:799: error: dereferencing pointer to incomplete type xmlconfig.c:800: error: dereferencing pointer to incomplete type xmlconfig.c:800: error: dereferencing pointer to incomplete type xmlconfig.c:800: error: dereferencing pointer to incomplete type xmlconfig.c:801: error: dereferencing pointer to incomplete type xmlconfig.c:802: error: dereferencing pointer to incomplete type xmlconfig.c:802: error: dereferencing pointer to incomplete type xmlconfig.c:806: error: dereferencing pointer to incomplete type xmlconfig.c:807: error: dereferencing pointer to incomplete type xmlconfig.c:807: error: dereferencing pointer to incomplete type xmlconfig.c:807: error: dereferencing pointer to incomplete type xmlconfig.c:808: error: dereferencing pointer to incomplete type xmlconfig.c:809: error: dereferencing pointer to incomplete type xmlconfig.c:809: error: dereferencing pointer to incomplete type xmlconfig.c:809: error: dereferencing pointer to incomplete type xmlconfig.c:810: error: dereferencing pointer to incomplete type xmlconfig.c:811: error: dereferencing pointer to incomplete type xmlconfig.c:811: error: dereferencing pointer to incomplete type xmlconfig.c:815: error: dereferencing pointer to incomplete type xmlconfig.c:816: error: dereferencing pointer to incomplete type xmlconfig.c:816: error: dereferencing pointer to incomplete type xmlconfig.c:816: error: dereferencing pointer to incomplete type xmlconfig.c:817: error: dereferencing pointer to incomplete type xmlconfig.c:818: error: dereferencing pointer to incomplete type xmlconfig.c:818: error: dereferencing pointer to incomplete type xmlconfig.c:818: error: dereferencing pointer to incomplete type xmlconfig.c:819: error: dereferencing pointer to incomplete type xmlconfig.c:820: error: dereferencing pointer to incomplete type xmlconfig.c:820: error: dereferencing pointer to incomplete type xmlconfig.c:824: error: dereferencing pointer to incomplete type xmlconfig.c:824: error: dereferencing pointer to incomplete type xmlconfig.c:824: error: dereferencing pointer to incomplete type xmlconfig.c: At top level: xmlconfig.c:829: warning: type defaults to `int' in declaration of `XML_Char' xmlconfig.c:829: error: parse error before '*' token xmlconfig.c: In function `optConfEndElem': xmlconfig.c:830: error: `userData' undeclared (first use in this function) xmlconfig.c:831: error: `name' undeclared (first use in this function) xmlconfig.c:834: error: dereferencing pointer to incomplete type xmlconfig.c:837: error: dereferencing pointer to incomplete type xmlconfig.c:837: error: dereferencing pointer to incomplete type xmlconfig.c:838: error: dereferencing pointer to incomplete type xmlconfig.c:841: error: dereferencing pointer to incomplete type xmlconfig.c:841: error: dereferencing pointer to incomplete type xmlconfig.c:842: error: dereferencing pointer to incomplete type xmlconfig.c:845: error: dereferencing pointer to incomplete type xmlconfig.c: At top level: xmlconfig.c:866: error: parse error before "p" xmlconfig.c: In function `parseOneConfigFile': xmlconfig.c:868: warning: implicit declaration of function `XML_GetUserData' xmlconfig.c:868: error: `p' undeclared (first use in this function) xmlconfig.c:872: error: dereferencing pointer to incomplete type xmlconfig.c:874: error: dereferencing pointer to incomplete type xmlconfig.c:880: warning: implicit declaration of function `XML_GetBuffer' xmlconfig.c:880: warning: initialization makes pointer from integer without a cast xmlconfig.c:888: error: dereferencing pointer to incomplete type xmlconfig.c:891: warning: implicit declaration of function `XML_ParseBuffer' xmlconfig.c:893: error: dereferencing pointer to incomplete type xmlconfig.c:893: error: dereferencing pointer to incomplete type xmlconfig.c:893: error: dereferencing pointer to incomplete type xmlconfig.c: In function `driParseConfigFiles': xmlconfig.c:909: error: storage size of 'userData' isn't known xmlconfig.c:930: error: `XML_Parser' undeclared (first use in this function) xmlconfig.c:930: error: parse error before "p" xmlconfig.c:934: error: `p' undeclared (first use in this function) xmlconfig.c:909: warning: unused variable `userData' make[6]: *** [xmlconfig.o] Error 1 make[6]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/GL/mesa/drivers/dri/common' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/GL/mesa/drivers/dri' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make: *** [World] Error 2 I looked for expat.h and the file is there itself. So, why the file cannot be found? I am not changing the hosts.def file. Do i have to make any configuration changes there? Hope to receive replies this time as well. Thanks and Regards, Nupur |
1 step further
I installed expat manually from the source
itself, by changing the mode of configure file in expat directory to 777 and then installed it. It was successful. But it seems, something else is missing as well, as I am getting the following errors: In file included from ../../extras/fontconfig/src/fcint.h:38, from fcatomic.c:49: ../../extras/fontconfig/fontconfig/fcfreetype.h:26:22: ft2build.h: No such file or directory ../../extras/fontconfig/fontconfig/fcfreetype.h:27:10: #include expects "FILENAME" or <FILENAME> In file included from ../../extras/fontconfig/src/fcint.h:38, from fcatomic.c:49: ../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "FcFreeTypeCharIndex" ../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:30: warning: type defaults to `int' in declaration of `FcFreeTypeCharIndex' ../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: ISO C forbids data definition with no type or storage class ../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: parse error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:36: error: parse error before "face" ../../extras/fontconfig/fontconfig/fcfreetype.h:39: error: parse error before "FT_Face" ../../extras/fontconfig/fontconfig/fcfreetype.h:42: warning: type defaults to `int' in declaration of `FT_Face' ../../extras/fontconfig/fontconfig/fcfreetype.h:42: error: parse error before "f" In file included from fcatomic.c:49: ../../extras/fontconfig/src/fcint.h:496: error: parse error before "encoding" fcatomic.c: In function `FcAtomicLock': fcatomic.c:101: warning: unused variable `fd' fcatomic.c:102: warning: unused variable `f' make[4]: *** [fcatomic.o] Error 1 make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/fontconfig' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make: *** [World] Error 2 Searched on google and someone said that install libfreetype6 on slackware. Does it hold true for redhat as well. do i need to install libfreetype6? |
Probably that's what you need to do. Can't you upgrade to something more modern that comes with Xorg 6.8.2? Red Hat 7.0 is completely ancient so no wonder you're having trouble getting up to date software to compile on it.
|
Quote:
|
I have to upgrade the RedHat7 distribution only, as I have some settings there which I cannot afford to loose.
So, that is the issue. Rest all is working fine, all the services and all the other things are working perfectly fine, except for GUI interface. I need to get that working on RedHat 7 only. |
back to square one
This is called back to square one.
I installed freetype2 and fontconfig with zlib separately as i was getting errors related to them. Now, I got the following error: ../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateEnd' ../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflateInit2_' ../../exports/lib/libXfont.so: undefined reference to `ssh_z_inflate' /usr/lib/libfreetype.so: undefined reference to `ssh_z_inflateReset' collect2: ld returned 1 exit status make[4]: *** [bdftopcf] Error 1 make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/programs/bdftopcf' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/nupur/downloads/x.org/build-xc' make: *** [World] Error 2 This is the same error i got when i was trying to install XFree86. And because of the same error, I moved on to x.org. What would be the next step? I have already installed zlib from its source using the following commands: 1. ./configure --prefix=/ 2. make test 3. make install 4. ldconfig And it installed successfully. Any suggestions? |
Quote:
Quote:
Also RH7 already comes with a full set of packages for XFree86, KDE and GNOME - have you tried installing those? |
Yes, there is a zlib.h in /usr/include and also there is libz.so in /usr/lib
|
Doing some more work on this, I found ssh_z_inflateEnd, sh_z_inflateInit2_, ssh_z_inflate , ssh_z_inflateReset in a header file ins/usr/local/include
That is added in my PATH as well, then also, why are they not getting recognized? |
The PATH environment variable has got nothing to do with it. Its for directories containing executable files.
To specify exactly where include files are do Code:
./configure --help |
All times are GMT -5. The time now is 03:04 AM. |