Instalação da Glib-2.9.6.tar.bz2

1. Instalação da Glib-2.9.6.tar.bz2

Fernando Souza
souzarte

(usa Ubuntu)

Enviado em 04/05/2014 - 23:43h

Boa noite à todos,


estou precisando muito da ajuda de vocês. Ocorre que algum tempo atrás tive o mesmo problema e desisti, porém dessa vez quero resolver para poder aprender.


O que acontece é que preciso instalar no meu Linux Mint 16 o DockManager ( https://meocloud.pt/link/75b7ea4c-a28d-4f65-ad42-83fbb9321a8a/dockmanager-0.1.0.tar.gz/ ) do Docky 2.2.0 e para isso ele requer que seja instalado esta biblioteca glib-2.9.6 ( https://meocloud.pt/link/50fa9778-3fce-4f51-a7ab-15cbc5cfea3c/glib-2.9.6.tar.bz2/), contudo, essa mesma biblioteca já tive maior problema com outro aplicativo a ponto de desistir de instalar o app, entretanto, desta vez quero saber como resolver, ou seja, como instalar a biblioteca e posteriormente esse app, afinal ambos estão como código fonte.
Agradeço se alguém souber onde encontrar o .deb, mas ficaria mais contente em resolver aprendendo como instalar esses dois arquivos.


Pesquisei bastante, fui à uma FãnPage do UbuntuDesktop https://www.facebook.com/groups/ubuntudesktop/395351353939178/?notif_t=group_comment), lá tentamos várias forma, inclusive a conversão do pacote por meio do App Package Converter, que faz a mesma coisa que o alien, o que tb tentei sem sucesso.


Tentei, sem sucesso, o apt-get install glib.

Li este tutorial, que antes dava erro logo quando rodava o ./configure, agora consegui rodar o mesmo, mas apresentou outro erro. O tutorial é este

http://www.hardware.com.br/comunidade/biblioteca-glib/54102/

Que manda fazer basicamente isso aqui:

voce pode reinstalar tudo da seguinte forma:
./configure --prefix=/usr --sysconfdir=/etc

(a diretiva --prefix define o diretório onde serão instalados todos os arquivos, se o --sysconfdir também estiver presente, os arquivos de configuração serão direcionados para o diretório definido)

make
make install

quando rodo o sudo make dá este erro aqui:


fernando@nandoMintPetra ~/Área de Trabalho/glib-2.9.6 $ sudo make
[sudo] password for fernando:
make all-recursive
make[1]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6'
Making all in .
make[2]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6'
make[2]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6'
Making all in m4macros
make[2]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/m4macros'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/m4macros'
Making all in glib
make[2]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
make all-recursive
make[3]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
Making all in libcharset
make[4]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib/libcharset'
make[4]: Nada a ser feito para `all'.
make[4]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib/libcharset'
make[4]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
make[4]: Nada a ser feito para `all-am'.
make[4]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
make[3]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
make[2]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/glib'
Making all in gobject
make[2]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/gobject'
make glib-genmarshal
make[3]: Entrando no diretório `/home/fernando/Área de Trabalho/glib-2.9.6/gobject'
make[3]: `glib-genmarshal' está atualizado.
make[3]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
./glib-genmarshal: linha 87: cd: /home/fernando/Área: Arquivo ou diretório não encontrado
gcc: error: de: Arquivo ou diretório não encontrado
gcc: error: Trabalho/glib-2.9.6/gobject/.libs/13326-lt-glib-genmarshal: Arquivo ou diretório não encontrado
make[2]: ** [stamp-gmarshal.h] Erro 1
make[2]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6/gobject'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/fernando/Área de Trabalho/glib-2.9.6'
make: ** [all] Erro 2


então pesquisei mais um pouco e encontrei essa documentação da própria Gnome

https://developer.gnome.org/gtk3/unstable/gtk-building.html e daí deu este erro aqui:

fernando@nandoMintPetra ~/glib-2.9.6 $ sudo ./configure --prefix=/usr --with-pcre=system && make
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 whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for the BeOS... no
checking for Win32... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
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 for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... /usr/bin/pkg-config
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... perl
checking for indent... no
checking for perl... /usr/bin/perl
checking for iconv_open... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether we are using the GNU C Library 2.1 or newer... yes
checking Whether to cache iconv descriptors... no
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... am ar az be bg bn bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko ku lt lv mk ml mn ms nb ne nl nn no or pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sr@ije sv ta te th tl tr tt uk vi wa xh yi zh_CN zh_HK zh_TW
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -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 -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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /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 c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ 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
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for valloc... yes
checking for atexit... yes
checking for on_exit... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 8
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for format to printf and scanf a guint64... %llu
checking for an ANSI C-conforming const... yes
checking if malloc() and friends prototypes are gmem.h compatible... no
checking for growing stack pointer... yes
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking if inline functions in headers work... yes
checking for working do while(0) macros... yes
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... yes
checking for GNUC varargs macros... yes
checking for GNUC visibility attribute... yes
checking whether byte ordering is bigendian... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... (cached) 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 setlocale... yes
checking for size_t... yes
checking size of size_t... 8
checking for the appropriate definition for size_t... unsigned long
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for mkstemp... yes
checking for vsnprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for getcwd... yes
checking for nanosleep... yes
checking for vasprintf... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getc_unlocked... yes
checking for readlink... yes
checking for symlink... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for C99 vsnprintf... yes
checking whether printf supports positional parameters... yes
checking for signed... yes
checking for long long... (cached) yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for size_t... (cached) yes
checking for ptrdiff_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for snprintf... yes
checking for C99 snprintf... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking whether realloc (NULL,) will work... yes
checking for nl_langinfo (CODESET)... yes
checking for a compliant posix_memalign() implementation... yes
checking for OpenBSD strlcpy/strlcat... no
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... no
checking for dlopen... no
checking for NSLinkModule... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for the suffix of shared libraries... .so
checking for gspawn implementation... gspawn.lo
checking for GIOChannel implementation... giounix.lo
checking for platform-dependent source...
checking whether to compile timeloop... yes
checking if building for some Win32 platform... no
checking for thread implementation... posix
checking thread related cflags... -pthread
checking for sched_get_priority_min... yes
checking thread related libraries... -pthread
checking for localtime_r... yes
checking for posix getpwuid_r... yes
checking size of pthread_t... 8
checking for pthread_attr_setstacksize... yes
checking for minimal/maximal thread priority... sched_get_priority_min(SCHED_OTHER)/sched_get_priority_max(SCHED_OTHER)
checking for pthread_setschedparam... yes
checking for posix yield function... sched_yield
checking size of pthread_mutex_t... 40
checking byte contents of PTHREAD_MUTEX_INITIALIZER... 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking whether to use assembler code for atomic operations... x86_64
checking value of POLLIN... 1
checking value of POLLOUT... 4
checking value of POLLPRI... 2
checking value of POLLERR... 8
checking value of POLLHUP... 16
checking value of POLLNVAL... 32
checking for EILSEQ... yes
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating glib-2.0-uninstalled.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-export-2.0.pc
config.status: creating gmodule-no-export-2.0.pc
config.status: creating gmodule-2.0-uninstalled.pc
config.status: creating gmodule-no-export-2.0-uninstalled.pc
config.status: creating gthread-2.0.pc
config.status: creating gthread-2.0-uninstalled.pc
config.status: creating gobject-2.0.pc
config.status: creating gobject-2.0-uninstalled.pc
config.status: creating glib-zip
config.status: creating glib-gettextize
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating build/win32/vs8/Makefile
config.status: creating glib/Makefile
config.status: creating glib/libcharset/Makefile
config.status: creating glib/gnulib/Makefile
config.status: creating gmodule/Makefile
config.status: creating gmodule/gmoduleconf.h
config.status: creating gobject/Makefile
config.status: creating gobject/glib-mkenums
config.status: creating gthread/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/glib/Makefile
config.status: creating docs/reference/glib/version.xml
config.status: creating docs/reference/gobject/Makefile
config.status: creating docs/reference/gobject/version.xml
config.status: creating tests/Makefile
config.status: creating tests/gobject/Makefile
config.status: creating tests/refcount/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing glibconfig.h commands
config.status: executing chmod-scripts commands
cd . && /bin/bash ./config.status glibconfig.h
./config.status: line 253: config.log: Permission denied
make: ** [stamp-gc-h] Erro 1


Também segui este documento, mas nada!

Sei poderia e deveria ser mais sucinto, porém quis descrever todo o passo-a-passo porque assim vocês podem ver onde errei e tb perceber que até aqui no fórum fiz uma varredura e não encontrei material suficiente para que eu conseguisse, então por favor, me ajudem!


  


2. Re: Instalação da Glib-2.9.6.tar.bz2

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 05/05/2014 - 10:12h

primeira coisa, GLIB, da distro, é mais antigo ou mais novo que essa versão que quer colocar?

porque GLIB e GLIBC são Bibliotecas críticas, se vc "reverter" seu GLIB, outros pacotes de seu Linux, poderão não funcionar mais.

No linux que uso (tipo gentoo, que é modular), podem co-existir versões diferentes de pacotes,mas não sei se isso pode ser feito nos Linux baseados em debian.

na compilação, vc não está conseguindo,dá permission denied, provável pq seu sistema está usando GLIB, o ambiente gráfico etc....

responda se é mais antigo ou mais novo, pq acho, tem outros jeitos, ex. compilar via boot de cd e chroot, fazer link simbólico, mudar a compilação para fazer ele depender de outra versão de glib etc....


3. Re: Instalação da Glib-2.9.6.tar.bz2

Fernando Souza
souzarte

(usa Ubuntu)

Enviado em 06/05/2014 - 23:38h

A versão que estou tentando instalar do Glib é a mais recente 2.9.6 e a que está instalada é a versão 2.12.10 e por isso quando estou instalando aplicativo Dokcy Manager está pendido uma mais atual.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts