furtherahead

Member
Nov 22, 2002
17
0
151
Problem:

WHM 5.3.0 Cpanel 5.3.0-S108 RedHat 7.2

- I have updated the glibc rpms
- I totally removed the /home/cpapachebuild/ directory to force easyapache redownload and rebuild

1. I run easyapache, I select beginner mode.
it fails at various points, and tells me there are seg faults

2. I remove the /home/cpapachebuild/,
run easyapache again, select beginner mode for consistency
it fails at various points, tells me there are seg faults

The problem is, they are not failing at the same point each time. I get different results each time, but usually around the same areas.

Example:

first run:
gcc -DHAVE_CONFIG_H -DPACKAGE=\&expat\& -DVERSION=\&expat_1.95.2\& -I. -I. -I..o
xmlparse.c: In function `getAttributeId':
xmlparse.c:3823: Internal error: Segmentation fault.

second run:
gcc -DHAVE_CONFIG_H -DPACKAGE=\&expat\& -DVERSION=\&expat_1.95.2\& -I. -I. -I..o
xmlparse.c: In function `reportComment':
xmlparse.c:3675: Internal error: Segmentation fault.


the trace of easyapache is filled with differences like this. I almost always get an error in the same places, but they are never the same exact errors. And, some times the errors are in totally different places.

Should I be suspecting hardware, or should I completely reinstall cpanel/WHM? if reinstall, what critical files should I be backing up?

any help appreciated...

Derek.
[email protected]
 

furtherahead

Member
Nov 22, 2002
17
0
151
That is what I thought too...

They told me they replaced the memory in the machine, so I'm still trying to hunt things down...

I also notice that these compile errors almost always happen when it gets to compiling expat/php/Zend, so I want to be dead sure that it is a hardware issue and not a flaky install of expat/php/Zend etc...

I've tried to manually configure/make php and i get errors as well...

Perhaps I should try to reinstall expat and Zend then try php again?
 

Tim Greer

Well-Known Member
Aug 11, 2002
59
0
156
You're probably using the broken compiler that came with RH 7.2 (http://gcc.gnu.org/gcc-2.96.html) Upgrade gcc to a stable 3.x.
 

furtherahead

Member
Nov 22, 2002
17
0
151
OK -- here is a silly question then - when I do that, and try to do a make on the new version of gcc, I get compiler errors because it is using the old gcc to compile it.

How do I get around that?
 

Brad

Well-Known Member
Aug 16, 2001
229
0
316
Hmm.. I alway run /scripts/fixheaders before installing a new build just to make sure it ok. Might help.
 

Tim Greer

Well-Known Member
Aug 11, 2002
59
0
156
[quote:926dd1bec2][i:926dd1bec2]Originally posted by furtherahead[/i:926dd1bec2]

OK -- here is a silly question then - when I do that, and try to do a make on the new version of gcc, I get compiler errors because it is using the old gcc to compile it.

How do I get around that?[/quote:926dd1bec2]

What errors are you getting? (A brief snippet). Did you try upgrading via RPM too?