PHP-4.3.9-3 Recompile Fails

Lummoxx lummoxx at gmail.com
Tue Nov 23 19:17:01 UTC 2004


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




More information about the fedora-list mailing list