Enviado em 12/08/2017 - 19:33h
Estou tentando, há vários dias, instalar o open-cobol ou GNU cobol, no Fedora 25 KDE Spin, mas não tenho obtido sucesso. Esse compilador cobol open-source, parece ter sido removido dos repositórios, então, tentei instalar com um "tar.gz", como o procedimento: ./configure, make e make install ... mas dá erro de dependências, que não estão incluidas nos repositórios do Fedora 25. Para tentar instalar as dependências, usei o comando "sudo dnf install". Segundo a página do projeto, são necessárias as seguintes dependências:libc6 libcob1 libcob1-dev libdb4.5 libdb4.5-dev libgmp3-dev libgmp3c2 libltdl3-dev libncurses5
Enviado em 13/08/2017 - 13:50h
libc6 libcob1 libcob1-dev libdb4.5 libdb4.5-dev libgmp3-dev libgmp3c2 libltdl3-dev libncurses5
[everaldo@localhost gnucobol-2.2-rc]$ make Creating defaults.h... make all-recursive make[1]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc' Making all in lib make[2]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc/lib' Making all in libcob make[2]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc/libcob' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c -o libcob_la-common.lo `test -f 'common.c' || echo './'`common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c common.c -fPIC -DPIC -o .libs/libcob_la-common.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-common.lo -MD -MP -MF .deps/libcob_la-common.Tpo -c common.c -o libcob_la-common.o >/dev/null 2>&1 mv -f .deps/libcob_la-common.Tpo .deps/libcob_la-common.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c -o libcob_la-call.lo `test -f 'call.c' || echo './'`call.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c -fPIC -DPIC -o .libs/libcob_la-call.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c -o libcob_la-call.o >/dev/null 2>&1 mv -f .deps/libcob_la-call.Tpo .deps/libcob_la-call.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -version-info 4:0:0 -no-undefined -Wl,-z,relro,-z,now,-O1 -o libcob.la -rpath /usr/local/lib libcob_la-common.lo libcob_la-move.lo libcob_la-numeric.lo libcob_la-strings.lo libcob_la-fileio.lo libcob_la-call.lo libcob_la-intrinsic.lo libcob_la-termio.lo libcob_la-screenio.lo libcob_la-cobgetopt.lo -lm -lgmp -lncursesw -ldb-5.3 -ldl libtool: link: rm -fr .libs/libcob.a .libs/libcob.la .libs/libcob.lai .libs/libcob.so .libs/libcob.so.4 .libs/libcob.so.4.0.0 libtool: link: gcc -shared -fPIC -DPIC .libs/libcob_la-common.o .libs/libcob_la-move.o .libs/libcob_la-numeric.o .libs/libcob_la-strings.o .libs/libcob_la-fileio.o .libs/libcob_la-call.o .libs/libcob_la-intrinsic.o .libs/libcob_la-termio.o .libs/libcob_la-screenio.o .libs/libcob_la-cobgetopt.o -lm -lgmp -lncursesw -ldb-5.3 -ldl -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,-soname -Wl,libcob.so.4 -o .libs/libcob.so.4.0.0 libtool: link: (cd ".libs" && rm -f "libcob.so.4" && ln -s "libcob.so.4.0.0" "libcob.so.4") libtool: link: (cd ".libs" && rm -f "libcob.so" && ln -s "libcob.so.4.0.0" "libcob.so") libtool: link: ar cru .libs/libcob.a libcob_la-common.o libcob_la-move.o libcob_la-numeric.o libcob_la-strings.o libcob_la-fileio.o libcob_la-call.o libcob_la-intrinsic.o libcob_la-termio.o libcob_la-screenio.o libcob_la-cobgetopt.o libtool: link: ranlib .libs/libcob.a libtool: link: ( cd ".libs" && rm -f "libcob.la" && ln -s "../libcob.la" "libcob.la" ) make[2]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc/libcob' Making all in cobc make[2]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc/cobc' make all-am make[3]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc/cobc' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT cobc-cobc.o -MD -MP -MF .deps/cobc-cobc.Tpo -c -o cobc-cobc.o `test -f 'cobc.c' || echo './'`cobc.c mv -f .deps/cobc-cobc.Tpo .deps/cobc-cobc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT cobc-config.o -MD -MP -MF .deps/cobc-config.Tpo -c -o cobc-config.o `test -f 'config.c' || echo './'`config.c mv -f .deps/cobc-config.Tpo .deps/cobc-config.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT cobc-codeoptim.o -MD -MP -MF .deps/cobc-codeoptim.Tpo -c -o cobc-codeoptim.o `test -f 'codeoptim.c' || echo './'`codeoptim.c mv -f .deps/cobc-codeoptim.Tpo .deps/cobc-codeoptim.Po /bin/sh ../libtool --tag=CC --mode=link gcc -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -Wl,-z,relro,-z,now,-O1 -o cobc cobc-cobc.o cobc-ppparse.o cobc-pplex.o cobc-parser.o cobc-scanner.o cobc-config.o cobc-reserved.o cobc-error.o cobc-tree.o cobc-field.o cobc-typeck.o cobc-codegen.o cobc-codeoptim.o ../libcob/libcob.la ../lib/libsupport.a libtool: link: gcc -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o .libs/cobc cobc-cobc.o cobc-ppparse.o cobc-pplex.o cobc-parser.o cobc-scanner.o cobc-config.o cobc-reserved.o cobc-error.o cobc-tree.o cobc-field.o cobc-typeck.o cobc-codegen.o cobc-codeoptim.o ../libcob/.libs/libcob.so -lm -lgmp -lncursesw -ldb-5.3 -ldl ../lib/libsupport.a -Wl,-rpath -Wl,/usr/local/lib make[3]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc/cobc' make[2]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc/cobc' Making all in bin make[2]: Entering directory '/home/everaldo/Downloads/gnucobol-2.2-rc/bin' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -MT cobcrun-cobcrun.o -MD -MP -MF .deps/cobcrun-cobcrun.Tpo -c -o cobcrun-cobcrun.o `test -f 'cobcrun.c' || echo './'`cobcrun.c mv -f .deps/cobcrun-cobcrun.Tpo .deps/cobcrun-cobcrun.Po /bin/sh ../libtool --tag=CC --mode=link gcc -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -Wl,--export-dynamic -Wl,-z,relro,-z,now,-O1 -o cobcrun cobcrun-cobcrun.o ../lib/libsupport.a ../libcob/libcob.la libtool: link: gcc -I.. -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE -Wl,--export-dynamic -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o .libs/cobcrun cobcrun-cobcrun.o ../lib/libsupport.a ../libcob/.libs/libcob.so -lm -lgmp -lncursesw -ldb-5.3 -ldl -Wl,-rpath -Wl,/usr/local/lib /bin/sh /home/everaldo/Downloads/gnucobol-2.2-rc/build_aux/missing help2man --output=cobcrun.1 --info-page=gnucobol ../bin/cobcrun /home/everaldo/Downloads/gnucobol-2.2-rc/build_aux/missing: line 81: help2man: comando não encontrado WARNING: 'help2man' is missing on your system. You should only need it if you modified a dependency of a man page. You may want to install the GNU Help2man package: <http://www.gnu.org/software/help2man/> Makefile:858: recipe for target 'cobcrun.1' failed make[2]: *** [cobcrun.1] Error 127 make[2]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc/bin' Makefile:545: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/everaldo/Downloads/gnucobol-2.2-rc' Makefile:456: recipe for target 'all' failed make: *** [all] Error 2 [everaldo@localhost gnucobol-2.2-rc]$
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
Fez porcaria no teu repositório Git? Aprenda a restaurar uma versão anterior do seu código!
Restaurando Fontes de Download do Hydra no Linux
Atualizando "na marra" o YT-DLP quando começa a dar erro de downloads
Como instalar o WPS com interface e corretor ortográfico em PT-BR no Arch Linux
plasma nao memoriza alterações na configuração (0)
Bluetooth CSR 4.0 Dongle (Alternativo) (3)
Desbloquear chaveiro padrão (5)