Como usar o autoproject para gerar o projeto c ++

0

Executou o autoproject e obteve o seguinte:

$ autoproject
What is the program name? hello

Please describe in one line what hello will do:
hello
The main program will be written in what language?
    select from:  c sh c++ fortran lex yacc awk  [c]: c++
What other languages will be used in the package?
    select from:  c sh c++ fortran lex yacc awk  none  [none]:
What command line parser generator will be used?
    select from:  argp autogen clig none  [none]: autogen
Please indicate which of the following standard options hello will use:
    dry-run? [yN] n
    no-warn? [yN] n
    output? [yN] n
    brief? [yN] n
    quiet? [yN] n
    verbose? [yN] n
    directory? [yN] n
    cd? [yN] n
    interactive? [yN] n
What is the name of the author? [Parallels]: JBaczuk
What is the email address of the author? [parallels@parallels-vm]: [email protected]
Program Name        : hello
Description         : hello
Version         : 0.1.0
Language        : c++
Interface       : cli
Parser Generator    : autogen
Long Options        :
Author              : JBaczuk
Email-Address       : [email protected]
Date                : August 8, 2018
11 files processed
configure.in not found - either skeleton library was not found,
or requested combination of options is not available
using c++ - adding AC_PROG_CXX to configure.in
awk: cannot open configure.in (No such file or directory)

Aqui está a estrutura de pastas gerada:

$ ls -lah hello
total 92K
drwxrwxr-x 2 parallels parallels 4.0K Aug  8 10:32 .
drwxrwxr-x 4 parallels parallels 4.0K Aug  8 10:32 ..
-rw-rw-r-- 1 parallels parallels   30 Aug  8 10:32 AUTHORS
-rw-rw-r-- 1 parallels parallels   72 Aug  8 10:32 ChangeLog
-rw-rw-r-- 1 parallels parallels  18K Aug  8 10:32 COPYING
-rw-rw-r-- 1 parallels parallels  18K Aug  8 10:32 gpl.texinfo
-rw-rw-r-- 1 parallels parallels 1.7K Aug  8 10:32 hello.1
-rw-rw-r-- 1 parallels parallels  590 Aug  8 10:32 hello.lsm.in
-rw-rw-r-- 1 parallels parallels 1.6K Aug  8 10:32 hello.spec.in
-rw-rw-r-- 1 parallels parallels 5.8K Aug  8 10:32 hello.texinfo
-rw-rw-r-- 1 parallels parallels    0 Aug  8 10:32 NEWS
-rw-rw-r-- 1 parallels parallels  796 Aug  8 10:32 README
-rw-rw-r-- 1 parallels parallels  11K Aug  8 10:32 system.h
-rw-rw-r-- 1 parallels parallels    0 Aug  8 10:32 tmp

Esperava-se que alguns arquivos de código-fonte c ++ (pelo menos para o comando arg parsing) e o configure.in faltando, me faz pensar se ele está funcionando. Estou fazendo algo errado?

    
por JBaczuk 08.08.2018 / 18:38

0 respostas

Tags