LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2005, 06:56 AM   #1
nupur
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
Question Error while installing XFree86 on Redhat


Hi,

I am installing XFree86 on my linux machine.

Following are the steps I followed:
1. downloaded the XFree86-4.5.0-src-1.tgz to XFree86-4.5.0-src-7.tgz files
2. Untar them.
3. made directory build at xc level.
4. cd build
5. lndir ../xc
6. make World >World.log 2>&1

After completion of this command, I checked World.log and got the
following errors:

/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'

collect2: ld returned 1 exit status
make[4]: *** [bdftopcf] Error 1
make[4]: Leaving directory `/home/nupur/downloads/XFree86/source/build/programs/bdftopcf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/nupur/downloads/XFree86/source/build/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nupur/downloads/XFree86/source/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/nupur/downloads/XFree86/source/build'
make: *** [World] Error 2

Do I need to install zlib? But zlib is already installed in /lib.

Searching on google also did not help.

Can anyone of you please help me?

Regards,
nupur
 
Old 09-30-2005, 07:13 AM   #2
Dr. ROX
LQ Newbie
 
Registered: Sep 2005
Location: Galaxy far far away
Distribution: CentOS 5.2
Posts: 4

Rep: Reputation: 0
Try Xorg?

Try X.org instead, many Xfree developers moved to that project.
 
Old 09-30-2005, 07:14 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Which distro is this?

What on Earth are you installing Xfree86 for?

undefined references are not nessisarily a problem, provided they get defined in time.

look through the makefiles and see what bdftopcf is doing to generate an error. It is possible you need to edit the top level makefile environments.
 
Old 09-30-2005, 07:24 AM   #4
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Not to point out the obvious, but wouldn't it be easier to install via RPMs?

You don't quite specify why you're installing it from source.
 
Old 10-03-2005, 01:30 AM   #5
nupur
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Angry Error while installing X11R6.8.2 from x.org

Thank you for your replies.

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 and now after doing 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

Last edited by nupur; 10-03-2005 at 11:44 PM.
 
Old 10-04-2005, 07:42 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
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.
You are doing very well... do you have some compelling reason to stick with RH7? Basically, you will probably have to upgrade a lot more stuff (the rest of your libraries and devlopment libraries for eg.) - and this sort of thing will happen more and more.

You havn't said why you are installing from source? Maybe you cannot get rpm's for RH7 (likely - and there is a reason for this)?

A possibility would be to try rpm install of something like gnome wot depends on an up to date Xorg. Then it will fail with a list of packages to install first... but you'll probably find that a clean upgrade to FC4 will be easier.
 
Old 10-04-2005, 11:11 PM   #7
nupur
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
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.

I am not installing RPMs as I have installed everything from source itself, including the libraries and gcc. So, if i install RPMs I'll have to re-install glibc and other utilities through RPMs only. Also, I have an option in source to make changes according to my specification which i cannot do in rpm's. Also, the rpm's that are available are from redhat 8. so, that is again an issue.

I know I'll have to upgrade few more libraries but which libraries to upgrade I am not sure about.
 
Old 10-05-2005, 05:09 AM   #8
nupur
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy 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. This is what i call a perfect example of back to square one. 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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Pleae: Error installing XFree86-100dpi-fonts-4.3.0-35.EL SEATU Linux - General 1 09-29-2005 08:12 AM
Xfree86 Error running radeon ve on RedHat 8.0 Krishna Linux - Hardware 0 05-23-2003 01:35 PM
Installing Xfree86 4.3.0 on RedHat 8.0 sardaukar_siet Linux - Software 1 03-14-2003 10:33 AM
Error installing XFree86 jambeck Linux From Scratch 11 11-22-2002 12:05 PM
XFree86 Error on RedHat 8.0 Gagan Linux - Newbie 1 11-18-2002 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration