Re: PHP-4.3.9-3 Recompile Fails

From: Lummoxx (lummoxx_at_gmail.com)
Date: 11/23/04

  • Next message: Richard Shade: "RE: AutoMake - Fedora Core 3"
    Date: Tue, 23 Nov 2004 14:17:01 -0500
    To: fedora-list@redhat.com
    
    

    --copy-->
    There's no error message from "configure" there showing why it is exiting.
    There may be one further up the file.

    The config.log file should be in the same directory as the "configure" script
    that is being run.
    <-----

    I see. I assumed that the error that caused bombing would be at the
    end. :) Ok hunting for errors:

    Line 115
    --copy-->
    conftest.c:2: error: syntax error before "me"
    configure:2823: $? = 1
    configure: failed program was:
    | #ifndef __cplusplus
    | choke me
    | #endif
    <------

    Line 242
    --copy-->
    conftest.cc:13: error: `exit' undeclared (first use this function)
    conftest.cc:13: error: (Each undeclared identifier is reported only
    once for each function it appears in.)
    configure:3647: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    | exit (42);
    | ;
    | return 0;
    | }
    <-----

    Line 502
    --copy-->
    conftest.c:17: error: `conn_rec' undeclared (first use in this function)
    conftest.c:17: error: (Each undeclared identifier is reported only once
    conftest.c:17: error: for each function it appears in.)
    conftest.c:17: error: `c' undeclared (first use in this function)
    conftest.c:17: warning: unused variable `fd'
    configure:6425: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 2472
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21102: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 2610:
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21146: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 2750
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21218: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 2888
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21262: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 3028
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21348: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 3166
    --copy-->
    conftest.c:126: error: storage size of 'ac_aggr' isn't known
    conftest.c:126: warning: unused variable `ac_aggr'
    conftest.c:126: error: storage size of `ac_aggr' isn't known
    configure:21392: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 3327
    --copy-->
    conftest.c:97: error: structure has no member named `sa_len'
    configure:21628: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 5124
    --copy-->
    conftest.c:192: error: storage size of 's' isn't known
    conftest.c:192: error: storage size of 't' isn't known
    conftest.c:193: warning: implicit declaration of function `stat'
    conftest.c:194: warning: implicit declaration of function `utime'
    conftest.c:192: warning: unused variable `s'
    conftest.c:192: warning: unused variable `t'
    configure:22427: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 5353
    --copy-->
    conftest.c:170: error: too many arguments to function `asctime_r'
    configure:23073: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Line 5534
    --copy-->
    conftest.c:168: error: too many arguments to function `asctime_r'
    configure:23121: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h. */
    <-----

    Not sure what here is part of the error, so including it all. :)
    Error is on Line 6002
    --copy-->
    | /* Override any gcc2 internal prototype to avoid an error. */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | /* We use char because int might match the return type of a gcc2
    | builtin and then its argument prototype would still apply. */
    | char curl_easy_perform ();
    | int
    | main ()
    | {
    | curl_easy_perform ();
    | ;
    | return 0;
    | }
    configure:29100: result: no
    configure:29120: error: There is something wrong. Please check
    config.log for more information.
    <-----

    Well, I defintely see a recurring theme, something appears to be wrong
    with confdefs.h. I really don't understand why. Everything is the
    same as what was installed from CD when I did the initial
    installation. The only change to anything I've made is the sybase
    switch in php.spec.

    Thanka a lot, I really appreciate the responses. :)

    Chris

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Richard Shade: "RE: AutoMake - Fedora Core 3"

    Relevant Pages

    • Re: Cheops-ng under SuSE
      ... configure: failed program was: ... /* We use char because int might match the return type of a gcc2 ... configure:1749: warning: implicit declaration of function 'exit' ... configure:2035: checking whether struct tm is in sys/time.h or time.h ...
      (alt.os.linux.suse)
    • Why does the kernel build fail out of the box?
      ... kernel, even though I have been building UNIX kernels since 1979. ... :248: Warning: indirect lcall without `*' ... io_apic.c:169: storage size of `entry' isn't known ...
      (RedHat)
    • How to duplicate a build of the kernel in the RPM
      ... :248: Warning: indirect lcall without `*' ... io_apic.c:169: storage size of `entry' isn't known ... io_apic.c:874: warning: implicit declaration of function `apic_read' ...
      (RedHat)
    • How to duplicate a build of the kernel in the RPM
      ... I am trying to build the same kernel which came with the RPM ... :248: Warning: indirect lcall without `*' ... io_apic.c:169: storage size of `entry' isn't known ...
      (RedHat)
    • RE: Receiving notification on exchange storage limits
      ... Click to select one or all of the following check boxes under Storage ... Issue warning at: Select this check box to warn the user that their ... in the Warning message interval box or click Customize. ... Use System Policies to Configure Mailbox Storage Limits in Exchange ...
      (microsoft.public.windows.server.sbs)