Compiling buildapache.sea problem

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
After my todays update to build 5.0.0-16 I'm not able to run buildapache.sea and not even to compile any other program

I always see several pages of these messages :

In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:65,
from zend.h:35,
from zend_compile.h:24,
from zend_language_parser.c:148:
/usr/include/_G_config.h:28: parse error before `__off_t'
/usr/include/_G_config.h:28: warning: no semicolon at end of struct or union
/usr/include/_G_config.h:30: parse error before `}'
/usr/include/_G_config.h:30: warning: data definition has no type or storage class
/usr/include/_G_config.h:33: parse error before `__off64_t'
/usr/include/_G_config.h:33: warning: no semicolon at end of struct or union
/usr/include/_G_config.h:35: parse error before `}'
/usr/include/_G_config.h:35: warning: data definition has no type or storage class
In file included from /usr/include/stdio.h:65,
from zend.h:35,
from zend_compile.h:24,
from zend_language_parser.c:148:
/usr/include/libio.h:286: parse error before `__off_t'
/usr/include/libio.h:286: warning: no semicolon at end of struct or union
/usr/include/libio.h:305: parse error before `_offset'
/usr/include/libio.h:305: warning: data definition has no type or storage class
/usr/include/libio.h:318: parse error before `}'
/usr/include/libio.h:344: parse error before `__io_read_fn'
/usr/include/libio.h:344: warning: data definition has no type or storage class
/usr/include/libio.h:352: parse error before `__io_write_fn'
/usr/include/libio.h:353: warning: data definition has no type or storage class
/usr/include/libio.h:361: parse error before `__off64_t'
/usr/include/libio.h:460: parse error before `_IO_padn'
/usr/include/libio.h:460: parse error before `__ssize_t'


I was comiling PHP just yesterday night and evrything was fine. Just after update to build 16 (from 12) is something screwed up.
Can somebody with build 16 try if he can to compile for example php or apache or anything at all?

Any clues ?
Some (non)updated devel RPM ?



Thanks very much
 
B

bdraco

Guest
Actually its probably just your header files

/scripts/fixheaders
 

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
Yes /scripts/fixheaders fixed that. Thanks.


How it could happen ? I didn't instal any RPM's recently.


Thanks
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:c4b8b0c644][i:c4b8b0c644]Originally posted by kerosin[/i:c4b8b0c644]

I was comiling PHP just yesterday night and evrything was fine.
[/quote:c4b8b0c644]
Check config.log in your PHP source directory (the folder you ran ./configure-make-make install from) to ensure there were no parsing errors while configuring PHP. PHP won't tell you if it ran into compilation problems unless you look into that file.
 

kerosin

Well-Known Member
Aug 27, 2002
83
0
156
Actually /scripts/fixheaders fixed this problem and I don't think that PHP configure could damage header files.


So who knows ....

:)