Responder 
 
Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
Problema para instalar o marlin-3.1.1
10/06/2011, 19:26
Resposta: #1
Problema para instalar o marlin-3.1.1
Eu estou tentando instar o marlin (http://www.dgi.inpe.br/siteDgi/index_pt.php) mas está aparecendo um erro de dependências no "./configure" que eu não consigo resolver...

Eu precisei modificar no código fonte e no script "configure" o endereço da biblioteca "terralib/terralibtiff/cpl_serv.h" para "geotiff/cpl_serv.h".
Essa modificação funcionou, mas agora está dando o seguinte erro
Código:
checking for main in -lunit_test_framework... no
configure: error: Could not find BOOST UNIT TEST FRAMEWORK library
Eu já instalei todas as libboost que eu achei nos repositórios, mas não resolveu....

Abaixo está a saída do ./configure e também as libboost que tenho instaladas.

Código:
[email protected]:~/Programas/Instalados/marlin-3.1.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
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 a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/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 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 -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/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++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/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
appending configuration tag "F77" to libtool
checking geotiff/cpl_serv.h usability... yes
checking geotiff/cpl_serv.h presence... yes
checking for geotiff/cpl_serv.h... yes
checking for X... libraries , headers
checking for QT includes... /usr/include/qt3
checking for QT libraries... yes, lib: -lqt-mt in /usr/lib
checking for main in -lunit_test_framework... no
configure: error: Could not find BOOST UNIT TEST FRAMEWORK library
[email protected]:~/Programas/Instalados/marlin-3.1.1$
Código:
[email protected]:~/Programas/Instalados/marlin-3.1.1$ sudo aptitude search boost
[sudo] password for belimawr:
i   boost-build                                                                       - sistema de construção interplataforma para projetos C++                                    
i   libboost-all-dev                                                                  - Boost C++ Libraries development files (ALL, default version)                                
i A libboost-date-time-dev                                                            - date-time libraries based on generic programming (default version)                          
i A libboost-date-time1.42-dev                                                        - set of date-time libraries based on generic programming concepts                            
i A libboost-date-time1.42.0                                                          - set of date-time libraries based on generic programming concepts                            
p   libboost-dbg                                                                      - Boost C++ Libraries with debug symbols                                                      
i A libboost-dev                                                                      - Boost C++ Libraries development files (default version)                                    
p   libboost-doc                                                                      - Boost C++ Libraries documentation (default version)                                        
i A libboost-filesystem-dev                                                           - filesystem operations in C++ (default version)                                              
i A libboost-filesystem1.42-dev                                                       - filesystem operations (portable paths, iteration over directories, etc) in C++              
i A libboost-filesystem1.42.0                                                         - filesystem operations (portable paths, iteration over directories, etc) in C++              
i A libboost-graph-dev                                                                - generic graph components and algorithms in C++ (default version)                            
i A libboost-graph-parallel-dev                                                       - generic graph components and algorithms in C++ (default version)                            
i A libboost-graph-parallel1.42-dev                                                   - generic graph components and algorithms in C++                                              
i A libboost-graph-parallel1.42.0                                                     - generic graph components and algorithms in C++                                              
i A libboost-graph1.42-dev                                                            - generic graph components and algorithms in C++                                              
i A libboost-graph1.42.0                                                              - generic graph components and algorithms in C++                                              
i A libboost-iostreams-dev                                                            - Boost.Iostreams Library development files (default version)                                
i A libboost-iostreams1.42-dev                                                        - Boost.Iostreams Library development files                                                  
i   libboost-iostreams1.42.0                                                          - biblioteca Boost.Iostreams                                                                  
i A libboost-math-dev                                                                 - Boost.Math Library development files (default version)                                      
i A libboost-math1.42-dev                                                             - Boost.Math Library development files                                                        
i A libboost-math1.42.0                                                               - Boost.Math Library                                                                          
i A libboost-mpi-dev                                                                  - C++ interface to the Message Passing Interface (MPI) (default version)                      
i A libboost-mpi-python-dev                                                           - Python interface to the Message Passing Interface (MPI) (default version)                  
i A libboost-mpi-python1.42-dev                                                       - C++ interface to the Message Passing Interface (MPI), Python Bindings                      
i A libboost-mpi-python1.42.0                                                         - C++ interface to the Message Passing Interface (MPI), Python Bindings                      
i A libboost-mpi1.42-dev                                                              - C++ interface to the Message Passing Interface (MPI)                                        
i A libboost-mpi1.42.0                                                                - C++ interface to the Message Passing Interface (MPI)                                        
i A libboost-program-options-dev                                                      - program options library for C++ (default version)                                          
i A libboost-program-options1.42-dev                                                  - program options library for C++                                                            
i A libboost-program-options1.42.0                                                    - program options library for C++                                                            
i A libboost-python-dev                                                               - Boost.Python Library development files (default version)                                    
i A libboost-python1.42-dev                                                           - Boost.Python Library development files                                                      
i A libboost-python1.42.0                                                             - Boost.Python Library                                                                        
i A libboost-regex-dev                                                                - regular expression library for C++ (default version)                                        
i A libboost-regex1.42-dev                                                            - regular expression library for C++                                                          
i A libboost-regex1.42.0                                                              - regular expression library for C++                                                          
i A libboost-serialization-dev                                                        - serialization library for C++ (default version)                                            
i A libboost-serialization1.42-dev                                                    - serialization library for C++                                                              
i A libboost-serialization1.42.0                                                      - serialization library for C++                                                              
i A libboost-signals-dev                                                              - managed signals and slots library for C++ (default version)                                
i A libboost-signals1.42-dev                                                          - managed signals and slots library for C++                                                  
i A libboost-signals1.42.0                                                            - managed signals and slots library for C++                                                  
i A libboost-system-dev                                                               - Operating system (e.g. diagnostics support) library (default version)                      
i A libboost-system1.42-dev                                                           - biblioteca de sistema operacional (e.g. suporte a diagnósticos)                            
i A libboost-system1.42.0                                                             - biblioteca de sistema operacional (e.g. suporte a diagnósticos)                            
i A libboost-test-dev                                                                 - components for writing and executing test suites (default version)                          
i A libboost-test1.42-dev                                                             - components for writing and executing test suites                                            
i A libboost-test1.42.0                                                               - components for writing and executing test suites                                            
i A libboost-thread-dev                                                               - portable C++ multi-threading (default version)                                              
i A libboost-thread1.42-dev                                                           - portable C++ multi-threading                                                                
i A libboost-thread1.42.0                                                             - portable C++ multi-threading                                                                
i A libboost-wave-dev                                                                 - C99/C++ preprocessor library (default version)                                              
i A libboost-wave1.42-dev                                                             - C99/C++ preprocessor library                                                                
i A libboost-wave1.42.0                                                               - C99/C++ preprocessor library                                                                
i   libboost1.42-all-dev                                                              - Boost C++ Libraries development files (ALL)                                                
p   libboost1.42-dbg                                                                  - Boost C++ Libraries with debug symbols                                                      
i A libboost1.42-dev                                                                  - Boost C++ Libraries development files                                                      
p   libboost1.42-doc                                                                  - Boost.org libraries documentation                                                          
[email protected]:~/Programas/Instalados/marlin-3.1.1$

Eu estou usando o Debian squeeze com os repositórios contrib e non-free ativados.
Alguém tem alguma idéia de como faço para compilar esse programa?

Notebook:
HP Pavilon DV5-1004
Processador: AMD Turion X2 Ultra Dual-Core Moblie ZM-80
Video: ATI Radeon HD 3200, 256Mb
Memória: 4Gb
HD: 320 Gb


LinuxUser #456735
LinuxMachine #364912
[Imagem: belimawr342690.jpg]
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
12/06/2011, 22:28
Resposta: #2
RE: Problema para instalar o marlin-3.1.1
Parece que não estpa encontrando a lib lunit_test_framework, seria uma boa ver se não tem nada no configure que aponte para a lib, pode ser que a localização esteja diferente.
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
16/06/2011, 00:10
Resposta: #3
RE: Problema para instalar o marlin-3.1.1
(12/06/2011 22:28)spikey Escreveu:  Parece que não estpa encontrando a lib lunit_test_framework, seria uma boa ver se não tem nada no configure que aponte para a lib, pode ser que a localização esteja diferente.

É, deve ser algo assim.... Eu procurei no configure e pelo que percebi é que ele está testando se o parâmetro "-lunit_test_framework" funciona no gcc...

Mas pelo que eu vi no site da Boost Test Library (http://www.boost.org/doc/libs/1_34_0/lib...tolinking) não precisa passar nenhum parâmetro para o gcc...

O arquivo configure é muito grande para eu anexar no post (700kb). Assim que eu tiver tempo eu coloco ele em algum servidor e coloco o link aqui.

Notebook:
HP Pavilon DV5-1004
Processador: AMD Turion X2 Ultra Dual-Core Moblie ZM-80
Video: ATI Radeon HD 3200, 256Mb
Memória: 4Gb
HD: 320 Gb


LinuxUser #456735
LinuxMachine #364912
[Imagem: belimawr342690.jpg]
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
16/06/2011, 12:16
Resposta: #4
RE: Problema para instalar o marlin-3.1.1
Para isso você pode usar o paste: http://paste.debian.net/.
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
Responder 


Ir ao Fórum:


Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS