Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    83

    Default Compiling buildapache.sea problem

    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

  2. #2
    bdraco
    Guest

    Default

    Actually its probably just your header files

    /scripts/fixheaders

  3. #3
    Member
    Join Date
    Aug 2002
    Posts
    83

    Default

    Yes /scripts/fixheaders fixed that. Thanks.


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


    Thanks

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    [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.

  5. #5
    Member
    Join Date
    Aug 2002
    Posts
    83

    Default

    Actually /scripts/fixheaders fixed this problem and I don't think that PHP configure could damage header files.


    So who knows ....


Similar Threads & Tags
Similar threads

  1. buildapache.sea (Thu Mar 6 01:34:39 2003) problem
    By gemby in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-12-2003, 03:07 PM
  2. BuildApache.sea HELP!!
    By oSM in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-13-2002, 07:25 AM
  3. Buildapache.sea 17th June upgrading problem in RH 7.3
    By mikerayner in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 06-28-2002, 03:41 AM
  4. Buildapache.sea 17th June upgrading problem in RH 7.3
    By mikerayner in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 06-22-2002, 06:23 AM
  5. libcurl problem with PHP build in buildapache.sea
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-16-2002, 01:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube