Professional Web Applications Themes

#25809 [Opn->Bgs]: attempting to configure with xslt option breaks configure script for yp - PHP Development

ID: 25809 Updated by: [email]sniperphp.net[/email] Reported By: xirkus at z1r0 dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux Kernel 2.4.21 PHP Version: 4.3.2 New Comment: Self-compiled Sablot 1.0 works just fine. Sablotron seems to be very sensitive to the used GCC, etc. Just compile it from sources and it will work just fine. Previous Comments: ------------------------------------------------------------------------ [2003-10-10 13:11:22] xirkus at z1r0 dot com The error generated at the end of config.log is as follows: /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would ...

  1. #1

    Default #25809 [Opn->Bgs]: attempting to configure with xslt option breaks configure script for yp

    ID: 25809
    Updated by: [email]sniperphp.net[/email]
    Reported By: xirkus at z1r0 dot com
    -Status: Open
    +Status: Bogus
    Bug Type: Compile Failure
    Operating System: Linux Kernel 2.4.21
    PHP Version: 4.3.2
    New Comment:

    Self-compiled Sablot 1.0 works just fine. Sablotron seems to be very
    sensitive to the used GCC, etc. Just compile it from sources and it
    will work just fine.



    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-10 13:11:22] xirkus at z1r0 dot com

    The error generated at the end of config.log is as follows:

    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char yp_match();

    int main() {
    yp_match()
    ; return 0; }
    configure:76976: checking for yp_match in -lc
    configure:76995: gcc -o conftest -O2 -march=i386 -mcpu=i686 -L/usr/lib
    -ldb-3.3 -Wl,-rpath,/tmp/pine4.56/imap/c-client/lib
    -L/tmp/pine4.56/imap/c-client/lib -Wl,-rpath,/usr/local/pgsql/lib
    -L/usr/local/pgsql/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
    conftest.c -lc -lsablot -lexpat -lcrypt -lmm -lpq -lcrypt -lgmp -lpng
    -lz -ljpeg -ldb-3.3 -lgdbm -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm
    -ldl -lnsl -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz
    -lcrypt 1>&5
    /usr/local/lib/libsablot.so: undefined reference to `operator
    new[](unsigned)'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__si_class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    delete(void*)'
    /usr/local/lib/libsablot.so: undefined reference to
    `__gxx_personality_v0'
    /usr/local/lib/libsablot.so: undefined reference to
    `__cxa_pure_virtual'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    delete[](void*)'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__vmi_class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    new(unsigned)'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 76984 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char yp_match();

    int main() {
    yp_match()
    ; return 0; }

    It seems that sablotron is broken and spews out unresolved references.
    To confirm the problem, I uninstalled version 1.0 of sablotron and
    tried again with version 0.98. Same thing happened when attempting to
    compile php. Version 0.96 of sablotron is not available for download
    and version 0.95 is not supported by php 4.3.2.

    Mel

    ------------------------------------------------------------------------

    [2003-10-10 11:36:44] [email]sniperphp.net[/email]

    Also, delete config.cache before reconfigure.


    ------------------------------------------------------------------------

    [2003-10-10 11:36:02] [email]sniperphp.net[/email]

    What does config.log have about this? Check the 20-30 last lines.


    ------------------------------------------------------------------------

    [2003-10-10 11:06:04] xirkus at z1r0 dot com

    I've tried with a vanilla:

    --with-xslt-sablot

    and :

    --with-xslt-sablot=/usr/local

    as suggested by [email]sniperphp.net[/email]. No go. It still breaks at the same
    point.

    I would like to continue using 4.3.2 as I also have postgresql
    functionality enabled and there are reports that version 4.3.3 has
    problems connecting to the postgresql server. This is a production box
    and until 4.3.4 stable comes out, I would rather not be fiddling with a
    working php install.

    Thanks,

    Mel

    ------------------------------------------------------------------------

    [2003-10-09 18:12:28] [email]sniperphp.net[/email]

    And by using correct configure options might help too:

    --with-xslt-sablot=/usr/local


    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/25809[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=25809&edit=1[/url]
    sniper@php.net Guest

  2. #2

    Default #25809 [Opn->Bgs]: attempting to configure with xslt option breaks configure script for yp

    ID: 25809
    Updated by: [email]sniperphp.net[/email]
    Reported By: xirkus at z1r0 dot com
    -Status: Open
    +Status: Bogus
    Bug Type: Compile Failure
    Operating System: Linux Kernel 2.4.21
    PHP Version: 4.3.2
    New Comment:

    Search the bug database for example '__gxx_personality_v0' and you'll
    find several reports about this same thing. Do not reopen this, this is
    no PHP bug.




    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-13 18:12:11] xirkus at z1r0 dot com

    All sablotron installations are compiled fresh from source. Sorry ... I
    don't use RedHat.

    ------------------------------------------------------------------------

    [2003-10-12 22:21:29] [email]sniperphp.net[/email]

    Self-compiled Sablot 1.0 works just fine. Sablotron seems to be very
    sensitive to the used GCC, etc. Just compile it from sources and it
    will work just fine.


    ------------------------------------------------------------------------

    [2003-10-10 13:11:22] xirkus at z1r0 dot com

    The error generated at the end of config.log is as follows:

    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char yp_match();

    int main() {
    yp_match()
    ; return 0; }
    configure:76976: checking for yp_match in -lc
    configure:76995: gcc -o conftest -O2 -march=i386 -mcpu=i686 -L/usr/lib
    -ldb-3.3 -Wl,-rpath,/tmp/pine4.56/imap/c-client/lib
    -L/tmp/pine4.56/imap/c-client/lib -Wl,-rpath,/usr/local/pgsql/lib
    -L/usr/local/pgsql/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
    conftest.c -lc -lsablot -lexpat -lcrypt -lmm -lpq -lcrypt -lgmp -lpng
    -lz -ljpeg -ldb-3.3 -lgdbm -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm
    -ldl -lnsl -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz
    -lcrypt 1>&5
    /usr/local/lib/libsablot.so: undefined reference to `operator
    new[](unsigned)'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__si_class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    delete(void*)'
    /usr/local/lib/libsablot.so: undefined reference to
    `__gxx_personality_v0'
    /usr/local/lib/libsablot.so: undefined reference to
    `__cxa_pure_virtual'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    delete[](void*)'
    /usr/local/lib/libsablot.so: undefined reference to `vtable for
    __cxxabiv1::__vmi_class_type_info'
    /usr/local/lib/libsablot.so: undefined reference to `operator
    new(unsigned)'
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 76984 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char yp_match();

    int main() {
    yp_match()
    ; return 0; }

    It seems that sablotron is broken and spews out unresolved references.
    To confirm the problem, I uninstalled version 1.0 of sablotron and
    tried again with version 0.98. Same thing happened when attempting to
    compile php. Version 0.96 of sablotron is not available for download
    and version 0.95 is not supported by php 4.3.2.

    Mel

    ------------------------------------------------------------------------

    [2003-10-10 11:36:44] [email]sniperphp.net[/email]

    Also, delete config.cache before reconfigure.


    ------------------------------------------------------------------------

    [2003-10-10 11:36:02] [email]sniperphp.net[/email]

    What does config.log have about this? Check the 20-30 last lines.


    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/25809[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=25809&edit=1[/url]
    sniper@php.net Guest

Similar Threads

  1. Replies: 0
    Last Post: October 10th, 05:14 PM
  2. Replies: 0
    Last Post: October 10th, 03:39 PM
  3. Replies: 0
    Last Post: October 10th, 03:39 PM
  4. Replies: 0
    Last Post: October 10th, 03:09 PM
  5. Replies: 0
    Last Post: October 9th, 05:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139