Erro ao executar o MAKE

1. Erro ao executar o MAKE

Carlos Eduardo
cadunh

(usa Fedora)

Enviado em 24/10/2012 - 22:23h

Pessoal, boa noite!

Pesquisei mas não consegui resolver com nenhuma das alternativas que encontrei e então resolvi criar este tópico.
Estou tentando instalar Fox Toolkit uma GUI para Ruby e estou tendo o seguinte problema:


make[1]: Entrando no diretório `/home/carlos/Documentos/fox-1.6.46/utils'
source='reswrap.cpp' object='reswrap.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
g++ -DPACKAGE_NAME=\"fox\" -DPACKAGE_TARNAME=\"fox\" -DPACKAGE_VERSION=\"1.6.46\" -DPACKAGE_STRING=\"fox\ 1.6.46\" -DPACKAGE_BUGREPORT=\"jeroen@fox-toolkit.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.46\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DLT_OBJDIR=\".libs/\" -DX_DISPLAY_MISSING=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -I. -DHAVE_XFT_H=1 -I/usr/include/freetype2 -DNO_XIM -c -o reswrap.o reswrap.cpp
../depcomp: line 611: exec: g++: not found
make[1]: ** [reswrap.o] Erro 127
make[1]: Saindo do diretório `/home/carlos/Documentos/fox-1.6.46/utils'
make: ** [all-recursive] Erro 1



alguém sabe o que pode ser ? Tentei instalar o pacote 'build-essentials' mas não encontrei o mesmo para Fedora que é minha atual distro.

Obrigado.


  


2. Re: Erro ao executar o MAKE

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 24/10/2012 - 22:34h

digita no terminal

#yum groupinstall 'Development Tools'


3. Re: Erro ao executar o MAKE

Carlos Eduardo
cadunh

(usa Fedora)

Enviado em 24/10/2012 - 22:59h

danniel-lara escreveu:

digita no terminal

#yum groupinstall 'Development Tools'


Daniel, instalei o 'Develoment Tools' mas continuo com erros quando executo o make, veja:


make[1]: Entrando no diretório `/home/carlos/Documentos/fox-1.6.46/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"fox\" -DPACKAGE_TARNAME=\"fox\" -DPACKAGE_VERSION=\"1.6.46\" -DPACKAGE_STRING=\"fox\ 1.6.46\" -DPACKAGE_BUGREPORT=\"jeroen@fox-toolkit.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.46\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DX_DISPLAY_MISSING=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBRT=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_VSSCANF=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_ZLIB_H=1 -I. -I../include -I../include -Wall -Wformat -Woverloaded-virtual -Wshadow -DHAVE_ZLIB_H=1 -DHAVE_XFT_H=1 -I/usr/include/freetype2 -DNO_XIM -MT FX88591Codec.lo -MD -MP -MF .deps/FX88591Codec.Tpo -c -o FX88591Codec.lo FX88591Codec.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"fox\" -DPACKAGE_TARNAME=\"fox\" -DPACKAGE_VERSION=\"1.6.46\" "-DPACKAGE_STRING=\"fox 1.6.46\"" -DPACKAGE_BUGREPORT=\"jeroen@fox-toolkit.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fox\" -DVERSION=\"1.6.46\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DX_DISPLAY_MISSING=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBRT=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_VSSCANF=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_ZLIB_H=1 -I. -I../include -I../include -Wall -Wformat -Woverloaded-virtual -Wshadow -DHAVE_ZLIB_H=1 -DHAVE_XFT_H=1 -I/usr/include/freetype2 -DNO_XIM -MT FX88591Codec.lo -MD -MP -MF .deps/FX88591Codec.Tpo -c FX88591Codec.cpp -fPIC -DPIC -o .libs/FX88591Codec.o
In file included from FX88591Codec.cpp:1:0:
../include/xincs.h:188:19: fatal error: X11/X.h: No such file or directory
compilation terminated.
make[1]: ** [FX88591Codec.lo] Erro 1
make[1]: Saindo do diretório `/home/carlos/Documentos/fox-1.6.46/src'
make: ** [all-recursive] Erro 1






Agora o erro parece que tem a ver com X11, quando executo o CONFIGURE tenho alguns erros, acho que tem a ver com esse erro que aparece agora, veja esse trecho da saída do CONFIGURE:

checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no

checking png.h usability... no
checking png.h presence... no
checking for png.h... no

checking tiff.h usability... no
checking tiff.h presence... no
checking for tiff.h... no

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes

checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for Xft support...

checking for X11/extensions/XShm.h... no

checking for X11/extensions/shape.h... no

checking for X11/Xcursor/Xcursor.h... no

checking for X11/extensions/Xrender.h... no

checking for X11/extensions/Xrandr.h... no

checking for X11/extensions/Xfixes.h... no

checking for X11/extensions/XInput.h... no

checking for OpenGL support...
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no



4. Re: Erro ao executar o MAKE

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 24/10/2012 - 23:15h

posta ai o final do ./configure




5. Re: Erro ao executar o MAKE

Carlos Eduardo
cadunh

(usa Fedora)

Enviado em 24/10/2012 - 23:35h

Segue todo o resultado do configure:


[root@localhost fox-1.6.46]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking major version... 1
checking minor version... 6
checking patch level... 46
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... 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 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 whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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
checking how to run the C++ preprocessor... g++ -E
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for X... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether byte ordering is bigendian... no
checking for clock_gettime in -lrt... yes
checking for pthread_exit in -lpthread... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for vsscanf... yes
checking for vsnprintf... yes
checking for strtoll... yes
checking for strtoull... yes
checking for debugging...
checking for release build...
checking for profiling...

checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no

checking png.h usability... no
checking png.h presence... no
checking for png.h... no

checking tiff.h usability... no
checking tiff.h presence... no
checking for tiff.h... no

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes

checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for Xft support...

checking for X11/extensions/XShm.h... no

checking for X11/extensions/shape.h... no

checking for X11/Xcursor/Xcursor.h... no

checking for X11/extensions/Xrender.h... no

checking for X11/extensions/Xrandr.h... no

checking for X11/extensions/Xfixes.h... no

checking for X11/extensions/XInput.h... no

checking for OpenGL support...
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/Makefile
config.status: creating include/Makefile
config.status: creating include/fxver.h
config.status: creating src/Makefile
config.status: creating src/version.rc
config.status: creating chart/Makefile
config.status: creating doc/Makefile
config.status: creating doc/art/Makefile
config.status: creating doc/screenshots/Makefile
config.status: creating tests/Makefile
config.status: creating adie/Makefile
config.status: creating shutterbug/Makefile
config.status: creating pathfinder/Makefile
config.status: creating calculator/Makefile
config.status: creating windows/Makefile
config.status: creating fox.spec
config.status: creating fox-config
config.status: creating fox.pc
config.status: executing depfiles commands
config.status: executing libtool commands



6. Re: Erro ao executar o MAKE

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 26/10/2012 - 07:44h

Se após o ./configure, continue a ter erros,
me parece estar faltando pacotes no seu Fedora,tipo suporte a
compilação g++, libtiff,lipng etc...
sobre esses pacotes não existirem para o fedora, deve existir sim.
devem estar em repositorios não oficiais, de terceiros,outros repos etc..
como minha distro não é Fedora, não sei qual seriam esses repositórios
mas seria a caso de procurar na rede quais os bons repositórios para Fedora e
colocar no YUM ou na irterface gráfica dele.
Creio que o Danniel possa ajudar, pq o Danniel usa Fedora como Distro principal






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts