[Eppnicbr] Erro ao compilar libepp-nicbr-1.0 no FreeBSD 6.1

Giancarlo Rubio giancarlo.rubio at pucpr.br
Thu Jul 6 13:07:58 BRT 2006


Foi criado um port para freebsd ontem mesmo pelo nosso commiter do freebsd
jean Milanez Mello.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libepp-nicbr/

Giancarlo Rubio

Bruno Luchin disse:
> Ola lista
>
> Estou tentando compilar o sheep no FreeBSD 6.1, ao efetuar o primeiro
> passo (./configure) que procura as dependencias nao recebo erro algum
> --------------------------------------------------------------------------------------------------------
> # ./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... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> 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 for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> 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 ranlib... ranlib
> checking for egrep... grep -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 xercesc/dom/DOM.hpp usability... yes
> checking xercesc/dom/DOM.hpp presence... yes
> checking for xercesc/dom/DOM.hpp... yes
> checking openssl/bio.h usability... yes
> checking openssl/bio.h presence... yes
> checking for openssl/bio.h... yes
> checking for BIO_new_connect in -lssl... yes
> checking cppunit/TestRunner.h usability... yes
> checking cppunit/TestRunner.h presence... yes
> checking for cppunit/TestRunner.h... yes
> checking for srandomdev... yes
> checking /usr/include/readline/readline.h usability... yes
> checking /usr/include/readline/readline.h presence... yes
> checking for /usr/include/readline/readline.h... yes
> checking /usr/include/readline/history.h usability... yes
> checking /usr/include/readline/history.h presence... yes
> checking for /usr/include/readline/history.h... yes
> checking for tgetnum in -lncurses... yes
> checking for readline in -lreadline... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating src/shepp/Makefile
> config.status: creating unit_test/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing schemasdir commands
> config.status: executing templatesdir commands
> config.status: executing sslcertdir commands
> --------------------------------------------------------------------------------------------------------------------
>
>
> porem ao executar o passo seguinte (make) recebo os erros listados
> abaixo, ao que indica o arquivo MemBufFormatTarget.hpp da dependencia
> Xerces-C nao foi encontrado, ao listar o conteudo do diretorio
> /usr/local/include/xercesc/framework obtenho o seguinte resultado
>
>
> ------------------------------------------------------------------------------------------------------------------------------------
> # ls
> LocalFileInputSource.hpp        XMLBufferMgr.hpp
> XMLFormatter.hpp
> MemBufInputSource.hpp           XMLContentModel.hpp
> XMLNotationDecl.hpp
> StdInInputSource.hpp            XMLDocumentHandler.hpp
> XMLPScanToken.hpp
> URLInputSource.hpp              XMLElementDecl.hpp
> XMLRecognizer.hpp
> XMLAttDef.hpp                   XMLEntityDecl.hpp
> XMLRefInfo.hpp
> XMLAttDefList.hpp               XMLEntityHandler.hpp
> XMLValidator.hpp
> XMLAttr.hpp                     XMLErrorCodes.hpp
> XMLValidityCodes.hpp
> XMLBuffer.hpp                   XMLErrorReporter.hpp
> ------------------------------------------------------------------------------------------------------------------------------------
>
>
> Poderiam me ajudar a identificar o erro ou informar se esta faltando
> algumadependencia?
>
> Agradeco desde ja
>
> Bruno Luchin - Rede Networks
>
>
>
> abaixo, erros do passo make
> ---------------------------------------------------------------------------------------------------------------------
> make  all-recursive
> Making all in lib
> if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../include -I
> /usr/local/include  -O -pipe -MT libepp_nicbr_1_0_a-StrUtil.o -MD -MP
> -MF ".deps/libepp_nicbr_1_0_a-StrUtil.Tpo" -c -o
> libepp_nicbr_1_0_a-StrUtil.o `test -f '../src/lib/StrUtil.cpp' || echo
> './'`../src/lib/StrUtil.cpp;  then mv -f
> ".deps/libepp_nicbr_1_0_a-StrUtil.Tpo"
> ".deps/libepp_nicbr_1_0_a-StrUtil.Po"; else rm -f
> ".deps/libepp_nicbr_1_0_a-StrUtil.Tpo"; exit 1; fi
> In file included from ../src/lib/StrUtil.cpp:32:
> ../include/StrUtil.H:38:52: xercesc/framework/MemBufFormatTarget.hpp: No
> such file or directory
> In file included from ../src/lib/StrUtil.cpp:33:
> ../include/BeautifierHandlers.H:46: error: expected constructor,
> destructor, or type conversion before "namespace"
> ../include/BeautifierHandlers.H:46: error: expected `,' or `;' before
> "namespace"
> ../src/lib/StrUtil.cpp:38: error: expected constructor, destructor, or
> type conversion before "namespace"
> ../src/lib/StrUtil.cpp:38: error: expected `,' or `;' before "namespace"
> *** Error code 1
>
> Stop in /usr/local/libepp-nicbr-1.0/lib.
> *** Error code 1
>
> Stop in /usr/local/libepp-nicbr-1.0.
> *** Error code 1
>
> Stop in /usr/local/libepp-nicbr-1.0.
> ------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> eppnicbr mailing list
> eppnicbr at eng.registro.br
> https://eng.registro.br/mailman/listinfo/eppnicbr
>




More information about the eppnicbr mailing list