Autor Tópico: Comando "./configure" e "make"  (Lida 1839 vezes)

parrera

  • Membro
  • ***
  • Mensagens: 71
  • Karma: +0/-0
Comando "./configure" e "make"
« Online: Setembro 11, 2009, 01:55:20 am »
Quando vou instalar um programa que era .tar.gz, descompacto-o normalmente, depois faço:
$cd nomedoarquivo/
$./configure
Ele me gera isso:
linux-g51k:~/xine-lib-1.1.4 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes           
checking for gawk... gawk                                   
checking whether make sets $(MAKE)... yes                   
checking for pkg-config... /usr/bin/pkg-config             
checking pkg-config is at least version 0.9.0... 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 ISO C89... none needed   
checking dependency style of gcc... gcc3                   
checking for strerror in -lcposix... no                     
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E                           
checking for file... /usr/bin/file                               
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3               
checking how to run the C preprocessor... gcc -E                 
checking for ANSI C header files... yes                         
checking whether make sets $(MAKE)... (cached) yes               
checking for a BSD-compatible install... /usr/bin/install -c     
checking whether ln -s works... yes                             
checking for gawk... (cached) gawk                               
checking for inline... inline                                                                                                                                                       
checking build system type... x86_64-suse-linux-gnu                                                                                                                                 
checking host system type... x86_64-suse-linux-gnu                                                                                                                                 
checking for a sed that does not truncate output... /usr/bin/sed                                                                                                                   
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld                                                                                                                       
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes                                                                                                             
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r                                                                                                     
checking for BSD-compatible nm... /usr/bin/nm -B                                                                                                                                   
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 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/x86_64-suse-linux/bin/ld -m elf_x86_64) 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 for shl_load... no                                                                                                                                                         
checking for shl_load in -ldld... no                                                                                                                                               
checking for dlopen... no                                                                                                                                                           
checking for dlopen in -ldl... yes                                                                                                                                                 
checking whether a program can dlopen itself... yes                                                                                                                                 
checking whether a statically linked program can dlopen itself... yes                                                                                                               
checking if libtool supports shared libraries... yes                                                                                                                               
checking whether to build shared libraries... yes                                                                                                                                   
checking whether to build static libraries... no                                                                                                                                   
configure: creating libtool                                                                                                                                                         
appending configuration tag "CXX" to libtool                                                                                                                                       
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64                                                                                                         
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes                                                                                               
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) 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/x86_64-suse-linux/bin/ld -m elf_x86_64) 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                                                                                                                             
checking for shl_load... (cached) no                                                                                                                                               
checking for shl_load in -ldld... (cached) no                                                                                                                                       
checking for dlopen... (cached) no                                                                                                                                                 
checking for dlopen in -ldl... (cached) yes                                                                                                                                         
checking whether a program can dlopen itself... (cached) yes                                                                                                                       
checking whether a statically linked program can dlopen itself... (cached) yes                                                                                                     
appending configuration tag "F77" to libtool                                                                                                                                       
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
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 whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for plural forms in GNU msgfmt... yes
checking for nl_langinfo... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for long... yes
checking size of long... 8
checking for inttypes.h... (cached) yes
checking for ssize_t... yes
checking for pthread_create in -lpthread... yes
checking for recursive mutex support in pthread... yes
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking libdir name... lib64
using included ffmpeg
checking for int_fast8_t... yes
checking whether lrintf is declared... yes
checking whether rintf is declared... yes
checking for memalign... yes
checking for mlib_VideoAddBlock_U8_S16 in -lmlib... no
checking for X... no
checking for X... checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for socklen_t... socklen_t
checking for gzsetparams in -lz... no
configure: error: zlib needed
 
Ai depois faço:
%make
E:
make: *** No targets specified and no makefile found.  Stop
O que será isso?Não estou conseguindo entender esse erro, será que alguém poderia me ajudar?
vlw!Aguardo resposta

Comunidade de Usuários do openSUSE

Comando "./configure" e "make"
« Online: Setembro 11, 2009, 01:55:20 am »

marcelovb

  • Global Moderator
  • Hero Member
  • *****
  • Mensagens: 1777
  • Karma: +5/-0
Re: Comando "./configure" e "make"
« Responder #1 Online: Setembro 11, 2009, 02:56:56 am »
Seria mais produtivo pesquisar no fórum do programa que está tentando compilar.
Checou todas dependências?. 
Se vc é um iniciante, não há a necessidade de compilar programas manualmente.  Muito provavelmente já existe o pacote pronto.
--
Marcelo Vivan Borro

¡ElCheVive!

  • Global Moderator
  • Hero Member
  • *****
  • Mensagens: 1939
  • Karma: +2/-0
  • membro openSUSE - coordenador da tradução
Re: Comando "./configure" e "make"
« Responder #2 Online: Setembro 11, 2009, 09:13:35 am »
Olá,

Principalmente essa xine-libs que existe no repositório do Packman. Se você olhar a saída do comando, na última linha ele mostra o que há de errado:

configure: error: zlib needed

abraços ;)

cvalente

  • Sr. Member
  • ****
  • Mensagens: 301
  • Karma: +3/-0
Re: Comando "./configure" e "make"
« Responder #3 Online: Setembro 11, 2009, 09:38:15 pm »

felipe.far

  • Membro Jr.
  • **
  • Mensagens: 29
  • Karma: +0/-0
Re: Comando "./configure" e "make"
« Responder #4 Online: Junho 23, 2010, 01:07:14 pm »
procura por esta zlib com o comando
zypper se zlib

Se não der certo tenta baixar do site: http://www.zlib.net/

;)