+ Responder ao Tópico



  1. #1
    mmacoli
    Visitante

    Padrão erro ./configure

    Instalei o Slackware 9 e estou tentando instalar postgresql-7.0.2 mais quando dou o ./configure quase no final gera estes erros citados abaixo!! Por Favor alguem qual dependecia esta faltando??

    creating GNUmakefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating Makefile.global
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating backend/port/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating backend/catalog/genbki.sh
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating backend/utils/Gen_fmgrtab.sh
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating bin/pg_dump/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating bin/pg_version/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating bin/pgtclsh/mkMakefile.tcldefs.sh
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating bin/pgtclsh/mkMakefile.tkdefs.sh
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating bin/psql/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating include/version.h
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/libpq/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/ecpg/lib/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/ecpg/preproc/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/libpq++/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/libpgeasy/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/libpgtcl/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/odbc/GNUmakefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating interfaces/odbc/Makefile.global
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating pl/plpgsql/src/Makefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating pl/plpgsql/src/mklang.sql
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating pl/tcl/mkMakefile.tcldefs.sh
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating test/regress/GNUmakefile
    sed: file conftest.s1 line 35: Unterminated `s´ command
    creating include/config.h

    Valeu!!!

  2. #2
    Visitante

    Padrão erro ./configure

    Ai galera....
    Tb tive o mesmo problema e não achei solução na net, daí dei um jeito de resolver sosinho...
    Então lá vai a dica pra quem se deparar com o mesmo problema na sequencia:
    O aplicativo Sed não aceita comandos com mais que uma linha, por isto "unterminated ´s´ command". O lance é localizar este comando.
    No caso do Postgresql primeiro eu desabilitei os comandos "rm conftest" no configure pra poder analizar o arquivo temporário e descobri que é quando ele pera a versão do linux que vem várias linhas, e gera o erro.
    Então (repito, no caso do postgresql) é só comentar algumas linhas no configure, começando na linha 1448...

    #if test "$CC" = "gcc"
    #then
    # CC_VERSION=`${CC} --version`
    #else
    CC_VERSION=""
    #fi

    Resolvido.
    Abraços.

    Lisandro