Autor Tópico: O que fazer quando não acha o ./configure?  (Lida 10770 vezes)

Offline leandromdelima

  • Usuário Ubuntu
  • *
  • Mensagens: 272
  • My fate to live and die in the shadows.
    • Ver perfil
Re: O que fazer quando não acha o ./configure?
« Resposta #15 Online: 29 de Fevereiro de 2008, 17:13 »
O curioso é que apesar de faltar várias bibliotecas para ele, não dá erro no configure.  Eu baixei aqui e veja o meu resultado:

Código: [Selecionar]
:~/Desktop/spalah-flash-0.03$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 gdk-2.0... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
checking GTK_LIBS... -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lX11 
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory
done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Repare nas últimas linhas, o config.status.  É nesse momento que ele cria os arquivos para make.  Como eu disse o que é curioso no problema do nosso amigo é que não há mensagem de erro no configure dele.  Estranho, não?
Quando eu avançar, avancem comigo.  Se eu parar, me empurrem para frente.  Se eu der meia volta, matem-me.

Offline Walkir

  • Usuário Ubuntu
  • *
  • Mensagens: 93
  • Se sei, digo que sei. Se não sei, procuro saber^^
    • Ver perfil
    • Blog de Desenhos
Re: O que fazer quando não acha o ./configure?
« Resposta #16 Online: 29 de Fevereiro de 2008, 18:56 »
Mmm...

 Agora estou entendendo...

 Mas de qualquer forma isto só foi um exemplo pois acontece, e já aconteceu também com outros programas que eu já tentei instalar...

 E então eu estava procurando entender porquê este tipo de coisa acontece, se era algo de cada programa ou se há mesmo uma forma de se "continuar" uma instalação...

 Por isso dei o exemplo de quando não acha o ./configure...

 Isso é um pouco chato...

 Não levem como crítica e nem atirem pedras mas eu acho que isso é uma coisa que podia ter olhos mais voltados...
 Pena que não me dou bem como programador, pois eu teria o maior prazer em ajudar se pudesse^^

 O windows é uma droga, é um lixo, cheio de bugs, eu não quero voltar a usá-lo, mas em 90% dos casos você pode pegar um programa de 10 anos atrás e instalar sem problemas...

 Será que não estamos dependendo demais da internet e nossas bibliotecas não estão incorporadas o suficiente para suprir também os softwares mais antigos?

 Bem, mas isso fik prum outro tópico^^

 Obrigado a todos vcs por se disponibilizarem a me ajudar^^
« Última modificação: 29 de Fevereiro de 2008, 18:58 por Walkir »
E eis que bem no fim finalmente haverá o final^^

Offline Hqxriven

  • Usuário Ubuntu
  • *
  • Mensagens: 1.456
    • Ver perfil
Re: O que fazer quando não acha o ./configure?
« Resposta #17 Online: 29 de Fevereiro de 2008, 19:41 »
Citar
Mmm...

 Agora estou entendendo...

 Mas de qualquer forma isto só foi um exemplo pois acontece, e já aconteceu também com outros programas que eu já tentei instalar...

 E então eu estava procurando entender porquê este tipo de coisa acontece, se era algo de cada programa ou se há mesmo uma forma de se "continuar" uma instalação...

 Por isso dei o exemplo de quando não acha o ./configure...

 Isso é um pouco chato...

 Não levem como crítica e nem atirem pedras mas eu acho que isso é uma coisa que podia ter olhos mais voltados...
 Pena que não me dou bem como programador, pois eu teria o maior prazer em ajudar se pudesse^^

 O windows é uma droga, é um lixo, cheio de bugs, eu não quero voltar a usá-lo, mas em 90% dos casos você pode pegar um programa de 10 anos atrás e instalar sem problemas...

 Será que não estamos dependendo demais da internet e nossas bibliotecas não estão incorporadas o suficiente para suprir também os softwares mais antigos?

 Bem, mas isso fik prum outro tópico^^

 Obrigado a todos vcs por se disponibilizarem a me ajudar^^

Esse é um problema amigo!!! Um programa no linux para funcionar direito depende das bibliotecas e do kernel (além das dependências e da estrutura de diretórios, etc...).

Foi só o gcc mudar para a versão 4.3 que apareceram inúmeros crashs no gentoo!!

O slackware na versão 10 que usava kernel 2.4 tinha problemas enormes com o wine e o cedega!!!

Pegue um kurumin 3 e tente usar programas atuais para vc ver... (diga tchau!!!)

Quanto ao seu exemplo do windows funciona até no xp pq as suas atualizações não são radicais.

Note que o Vista quebrou muito a compatibilidade, até os meus jogos de DOS não rodam mais!!

Hoje no windows Xp vc tem até a capacidade de remasterizar!!

É por isso que acho interessante a remasterização (até o pclinuxos integrou ela ao sistema), pois com ela vc pode ter um maior controle e depois alterado o seu sistema pode guardá-lo.

Por exemplo:

No windows xp eu gravo um cd com diversos aplicativos e eu sei que se precisar instalá-los mais tarde provavelmente vou precisar apenas do cd do xp e dos aplicativos.

No linux se eu guardar só os aplicativos vai dar um trabalho enorme para atualizar (com excessão do slackware que vc consegue gravar um cd com os aplicativos e vai fácil pq não tem controle de dependência) agora se vc usar o PclinuxOs vc pode gravar um cd junto com os aplicativos no SO o que é muito bom!!

Hqx
No ubuntu (e nas debian-like) vou precisar do cd de instalação, vou precisar ter acesso a net, baixar a lista do repositório
Sem distro Linux fixa - Kernel Omnislash
Meu objetivo nesse fórum é ajudar. Sou um mero humano mas desejo sempre aprender e melhorar em tudo o que faço em minha vida. Então, por favor, quando eu postar me notifique depois

Offline Walkir

  • Usuário Ubuntu
  • *
  • Mensagens: 93
  • Se sei, digo que sei. Se não sei, procuro saber^^
    • Ver perfil
    • Blog de Desenhos
Re: O que fazer quando não acha o ./configure?
« Resposta #18 Online: 01 de MAR?O de 2008, 14:10 »
É... realmente este esquema de remasterização parace bom...

 Mas então não existe algo parecido com este esquema que vc faz pro windows pra Ubuntu...?

 O esquema do apt on cd é muito bom, mas mesmo ele com pacotes deb precisa das dependências que procura na internet...

 Não há uma forma de se fazer pacotes fechados jah com suas dependências, como se fosse um .exe do windows?

 No qual bastaria apenas compilar ou clicar num .deb para que se instalasse os programas?

 Antes que digam algo, não quero que o linux seja uma cópia do windows... Pelo contrário, há muitas coisas de que não gosto no windows... Mas acho que coisas assim poderiam ser incorporadas...

Vejam por exemplo, algumas distros que utilizam de um sitema de recuperação do SO. Isto é muito bom principalmente para ininciantes, mas também para usuários antigos que gostam mesmo de mexer e implementar o sistema. Pois se num destes testes de programas beta, ou remasterização, ou atualização de pacotes derem erros, não é preciso necessariamente ficar procurando agulha no palheiro... Basta restaurar o sistema...

 É uma coisa muito útil...
Pode ser que alguns digam que isto é coisa de preguiçoso, de quem não quer estudar...
Eu acho justamente o contrário... Este tipo de facilidade libera tempo para lidarmos com outros bugs bem mais pertinentes...

Realmente é uma pena eu não me dar bem com programação... bem que tentei mas meu negócio é gráfico^^

 ;)
E eis que bem no fim finalmente haverá o final^^