PostgreSQL 7.1.3 installation problem on FC3

From: Shu Hung (Koala) (koalay.dg21_at_gmail.com)
Date: 07/27/05

  • Next message: Ralf Corsepius: "Re: PostgreSQL 7.1.3 installation problem on FC3"
    Date: Wed, 27 Jul 2005 15:41:11 +0800
    To: List of Fedora <fedora-list@redhat.com>
    
    
    

    Dear all,

    I'm recently migrating a OpenACS 3.2.5 website to a Fedora Core 3 server
    My problem was PostgreSQL compilation.
    Everytime I run ./configure, the compilation ended with these lines:

    (some lines skipped)...
    .......................
    checking for preprocessor stringizing operator... yes
    checking for signed types... no
    checking for volatile... no
    checking whether struct tm is in sys/time.h or time.h... sys/time.h
    checking for tm_zone in struct tm... no
    checking for tzname... no
    checking for union semun... no
    checking for struct sockaddr_un... no
    checking for int timezone... no
    checking types of arguments for accept()... configure: error: could not
    determine argument types
     
    I searched the last line on google and found nothing applicable.
    I went to config.log and see these lines:

    (some lines skipped)...
    .......................
    configure:3122: gcc -o conftest -O2 conftest.c -lreadline 1>&5
    In file included from configure:3111:
    confdefs.h:7: error: syntax error before numeric constant
    confdefs.h:9: error: missing terminating " character
    configure: failed program was:
    #line 3111 "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 readline();

    int main() {
    readline()
    ; return 0; }
    configure:3122: gcc -o conftest -O2 conftest.c -ledit -ltermcap 1>&5
    In file included from configure:3111:
    confdefs.h:7: error: syntax error before numeric constant
    confdefs.h:9: error: missing terminating " character
    configure: failed program was:
    #line 3111 "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 readline();

    int main() {
    readline()
    ; return 0; }
    configure:3122: gcc -o conftest -O2 conftest.c -lreadline -lncurses 1>&5
    In file included from configure:3111:
    confdefs.h:7: error: syntax error before numeric constant
    confdefs.h:9: error: missing terminating " character
    configure: failed program was:
    #line 3111 "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 readline();

    int main() {
    readline()
    ; return 0; }
    (some more similar sections for 3122 skipped)...
    ................................................
    configure:3149: checking for library containing using_history
    configure:3167: gcc -o conftest -O2 conftest.c 1>&5
    In file included from configure:3156:
    confdefs.h:7: error: syntax error before numeric constant
    confdefs.h:9: error: missing terminating " character
    configure: failed program was:
    #line 3156 "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 using_history();

    int main() {
    using_history()
    ; return 0; }
    configure:3189: gcc -o conftest -O2 conftest.c -lhistory 1>&5
    In file included from configure:3178:
    confdefs.h:7: error: syntax error before numeric constant
    confdefs.h:9: error: missing terminating " character
    configure: failed program was:
    #line 3178 "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 using_history();

    int main() {
    using_history()
    ; return 0; }
    (many more syntax error. I skipped)...
    ......................................
     
    There are so many lines about syntax error.
    I think it may be the problem of gcc version or some library may be missed.
    What can I do? Or is there any other possible cause?

    Thanks a lot

    Koala Yeung

    
    

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

  • Next message: Ralf Corsepius: "Re: PostgreSQL 7.1.3 installation problem on FC3"