Installa Autoconf, Automake prova ad installare pcre

1

Non chiedo da homebrew o porto solo codice sorgente / binario

Stavo cercando di installare pcre ...

$ cd /Volumes/ADATAHD/macOS/Source_Codes/pcre-8.39
$ ./configure --prefix=/usr/local/Custom/pcre --enable-unicode-properties --enable-pcre16 --enable-pcre32

pcre-8.39 configuration summary:

    Install prefix .................. : /usr/local/Custom/pcre
    C preprocessor .................. : gcc -E
    C compiler ...................... : gcc
    C++ preprocessor ................ : g++ -E
    C++ compiler .................... : g++
    Linker .......................... : /Library/Developer/CommandLineTools/usr/bin/ld
    C preprocessor flags ............ : 
    C compiler flags ................ : -g -O2 -fvisibility=hidden
    C++ compiler flags .............. : -O2 -fvisibility=hidden -fvisibility-inlines-hidden
    Linker flags .................... : 
    Extra libraries ................. : 

    Build 8 bit pcre library ........ : yes
    Build 16 bit pcre library ....... : yes
    Build 32 bit pcre library ....... : yes
    Build C++ library ............... : yes
    Enable JIT compiling support .... : no
    Enable UTF-8/16/32 support ...... : yes
    Unicode properties .............. : yes
    Newline char/sequence ........... : lf
    \R matches only ANYCRLF ......... : no
    EBCDIC coding ................... : no
    EBCDIC code for NL .............. : n/a
    Rebuild char tables ............. : no
    Use stack recursion ............. : yes
    POSIX mem threshold ............. : 10
    Internal link size .............. : 2
    Nested parentheses limit ........ : 250
    Match limit ..................... : 10000000
    Match limit recursion ........... : MATCH_LIMIT
    Build shared libs ............... : yes
    Build static libs ............... : yes
    Use JIT in pcregrep ............. : no
    Buffer size for pcregrep ........ : 20480
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libedit ...... : no
    Link pcretest with libreadline .. : no
    Valgrind support ................ : no
    Code coverage ................... : no

Ora ... fai

$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/ADATAHD/macOS/Source_Codes/pcre-8.39/missing aclocal-1.15 -I m4
/Volumes/ADATAHD/macOS/Source_Codes/pcre-8.39/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
        You should only need it if you modified 'acinclude.m4' or
        'configure.ac' or m4 files included by 'configure.ac'.
        The 'aclocal' program is part of the GNU Automake package:
        <http://www.gnu.org/software/automake>
        It also requires GNU Autoconf, GNU m4 and Perl in order to run:
        <http://www.gnu.org/software/autoconf>
        <http://www.gnu.org/software/m4/>
        <http://www.perl.org/>
make: *** [aclocal.m4] Error 127
$ 

Andiamo ad installare autoconf

$ tar zxvf /Volumes/ADATAHD/Downloads/autoconf-2.69.tar.gz -C /Volumes/ADATAHD/macOS/Source_Codes/
$ cd /Volumes/ADATAHD/macOS/Source_Codes/autoconf-2.69

Esecuzione

$ sudo ./configure && make && sudo make install

Ho questo messaggio di errore:

standards.texi:3229: Unknown command 'guilsinglleft'.
standards.texi:3229: Misplaced {.
standards.texi:3229: Misplaced }.
standards.texi:3229: Unknown command 'guilsinglright'.
standards.texi:3229: Misplaced {.
standards.texi:3229: Misplaced }.
makeinfo: Removing output file 'standards.info' due to errors; use --force to preserve.
make[2]: *** [standards.info] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$ 

Come risolvere questo errore? Un'altra domanda, Perché libz non viene rilevato?

    
posta chepe lucho 01.02.2017 - 04:56
fonte

2 risposte

0

Questo problema si verifica perché si sta utilizzando un disco rigido esterno. Quindi lo script di configurazione non può modificare la data e l'ora di determinati file come:

acinclude.m4
configure.ac

D'altra parte puoi aggiornare la data e l'ora dei file richiesti utilizzando touch ... .

Correlati: Come superare "'aclocal-1.15' manca sul tuo sistema" avviso durante la compilazione?

    
risposta data 08.02.2017 - 20:50
fonte
1

Puoi utilizzare la soluzione qui pubblicata per risolvere il problema:

link

La soluzione consiste nel disabilitare la generazione delle pagine di informazioni (manuale).

Sembra che questo errore ci sia perché hai una versione precedente, incompatibile, di TeX. Forse stai usando una vecchia versione di OS X.

    
risposta data 01.02.2017 - 09:49
fonte

Leggi altre domande sui tag