Logo Hardware.com.br
gus-uli-com
gus-uli-com Membro Junior Registrado
104 Mensagens 0 Curtidas

problema com instalação de arquivos .tar.gz

#1 Por gus-uli-com 31/03/2005 - 12:16
Galera, sempre que eu tento instalar arquivos tar.gz aqui não dá certo... eu tentei instalar o arquivo xmms_lyrics_plugin que é um plugin pra ver letras de músicas no xmms e não deu certo... mas sempre dá uma mensagem parecida de erro, bom lá vai o meu log, se alguem puder me ajudar sou muito grato! valeu (a parte importante de erro tá no finalzinho). Ah, antes que eu me esqueçca meus compiladores tão todos em dia e uso fc3! valeu

[root@localhost xmms_lyrics_plugin]# ls
about.c ChangeLog configure install-sh lyrics.c NEWS
ABOUT-NLS conf.c configure.in intl lyrics.h po
acconfig.h conf.h COPYING list.c Makefile.am README
acinclude.m4 config.guess creator.c list.h Makefile.in stamp-h.in
aclocal.m4 config.h.in creator.h ltconfig missing support.h
AUTHORS config.sub INSTALL ltmain.sh mkinstalldirs
[root@localhost xmms_lyrics_plugin]# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... yes
checking for xmms-config... /usr/bin/xmms-config
checking for awk... awk
checking for XMMS - version >= 1.0.0... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... 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... pl
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
[root@localhost xmms_lyrics_plugin]# make
make all-recursive
make[1]: Entering directory `/home/gu/Files/xmms_lyrics_plugin'
Making all in intl
make[2]: Entering directory `/home/gu/Files/xmms_lyrics_plugin/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin/intl'
Making all in po
make[2]: Entering directory `/home/gu/Files/xmms_lyrics_plugin/po'
make[2]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin/po'
make[2]: Entering directory `/home/gu/Files/xmms_lyrics_plugin'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -c lyrics.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -Wp,-MD,.deps/lyrics.pp -c -fPIC -DPIC lyrics.c -o lyrics.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -c list.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -Wp,-MD,.deps/list.pp -c -fPIC -DPIC list.c -o list.lo
list.c: In function `extract_title':
list.c:520: warning: use of cast expressions as lvalues is deprecated
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -c conf.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -Wp,-MD,.deps/conf.pp -c -fPIC -DPIC conf.c -o conf.lo
In file included from conf.c:21:
creator.h:6:7: warning: no newline at end of file
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -c about.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -Wp,-MD,.deps/about.pp -c -fPIC -DPIC about.c -o about.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -c creator.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -Wp,-MD,.deps/creator.pp -c -fPIC -DPIC creator.c -o creator.lo
/bin/sh ./libtool --mode=link gcc -O2 -I. -I. -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DLOCALEDIR=\"/usr/local/share/locale\" -o liblyrics.la -rpath /usr/lib/xmms/General/ -module -avoid-version lyrics.lo list.lo conf.lo about.lo creator.lo -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
mkdir .libs
ln -s lyrics.lo lyrics.o
ln -s list.lo list.o
ln -s conf.lo conf.o
ln -s about.lo about.o
ln -s creator.lo creator.o
gcc -shared lyrics.lo list.lo conf.lo about.lo creator.lo -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lc -Wl,-soname -Wl,liblyrics.so -o .libs/liblyrics.so
creating liblyrics.la
(cd .libs && rm -f liblyrics.la && ln -s ../liblyrics.la liblyrics.la)
make[2]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin'
make[1]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin'
[root@localhost xmms_lyrics_plugin]# make install
Making install in intl
make[1]: Entering directory `/home/gu/Files/xmms_lyrics_plugin/intl'
if test "lyrics" = "gettext" \
&& test '' = 'intl-compat.o'; then \
if test -r ./mkinstalldirs; then \
./mkinstalldirs /usr/local/lib /usr/local/include; \
else \
../mkinstalldirs /usr/local/lib /usr/local/include; \
fi; \
/usr/bin/install -c -m 644 intlh.inst /usr/local/include/libintl.h; \
/usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
else \
: ; \
fi
if test "lyrics" = "gettext"; then \
if test -r ./mkinstalldirs; then \
./mkinstalldirs /usr/local/share/gettext/intl; \
else \
../mkinstalldirs /usr/local/share/gettext/intl; \
fi; \
/usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \
for file in $dists; do \
/usr/bin/install -c -m 644 ./$file /usr/local/share/gettext/intl/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin/intl'
Making install in po
make[1]: Entering directory `/home/gu/Files/xmms_lyrics_plugin/po'
if test -r ".././mkinstalldirs"; then \
.././mkinstalldirs /usr/local/share; \
else \
/bin/sh ../mkinstalldirs /usr/local/share; \
fi
/bin/sh: .././mkinstalldirs: Permission denied
make[1]: *** [install-data-yes] Error 126
make[1]: Leaving directory `/home/gu/Files/xmms_lyrics_plugin/po'
make: *** [install-recursive] Error 1
[root@localhost xmms_lyrics_plugin]#
Responder
gus-uli-com
gus-uli-com Membro Junior Registrado
104 Mensagens 0 Curtidas
#4 Por gus-uli-com
31/03/2005 - 13:12
Tá aih meu mkinstalldirs, tá errada mesmo a configuração? como devo prosseguir?
valeuuu

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman
# Created: 1993-05-16
# Public domain

# $Id: mkinstalldirs,v 1.2 2000/08/02 18:38:26 kbryd Exp $

errstatus=0

for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift

pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac

if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"

mkdir "$pathcomp" || lasterr=$?

if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi

pathcomp="$pathcomp/"
done
done

exit $errstatus

# mkinstalldirs ends here
jqueiroz
jqueiroz Cyber Highlander Registrado
104K Mensagens 5.7K Curtidas
#8 Por jqueiroz
31/03/2005 - 23:07
Eu não me expressei direito. Eu quis dizer que a [falta de] permissão de execução, seja ela em que nível for, é a única que o root respeita. Olha só:

[jqueiroz@ithilien jqueiroz]$ echo > teste
[jqueiroz@ithilien jqueiroz]$ chmod 0 teste
[jqueiroz@ithilien jqueiroz]$ l teste
---------- 1 jqueiroz jqueiroz 1 2005-03-31 23:05 teste
[jqueiroz@ithilien jqueiroz]$ cat teste
cat: teste: Permissão negada
[jqueiroz@ithilien jqueiroz]$ echo > teste
-bash: teste: Permissão negada
[jqueiroz@ithilien jqueiroz]$ su
Password:
[root@ithilien jqueiroz]# cat teste

[root@ithilien jqueiroz]# echo teste > teste
[root@ithilien jqueiroz]# cat teste
teste
[root@ithilien jqueiroz]# echo outro teste >> teste
[root@ithilien jqueiroz]# cat teste
teste
outro teste
[root@ithilien jqueiroz]# ./teste
bash: ./teste: Permissão negada
[root@ithilien jqueiroz]#
"chmod 777 nunca ajudou ninguém" (c) 2002-2021 JQueiroz/FGdH
Conheça o Blog do Zekke
jqueiroz
jqueiroz Cyber Highlander Registrado
104K Mensagens 5.7K Curtidas
#10 Por jqueiroz
01/04/2005 - 01:07
Sabe o que eu estou vendo (revendo) ??? O script dele parece que funcionou parcialmente... teve uma hora em que esse mesmo "mkinstalldirs" funcionou, pelo que eu entendi.

Só que o este que ele faz pra saber se pode executar, pra mim, tá errado... ele testa se pode ler ( "if [ -r ".././mkinstalldirs" ] ; then" ) , e não se pode executar ( "if [ -x ".././mkinstalldirs" ] ; then" )!!! (*)
make[1]: Entering directory `/home/gu/Files/xmms_lyrics_plugin/po'
if test -r ".././mkinstalldirs"; then \
.././mkinstalldirs /usr/local/share; \
else \





(*) interessante outra coisa, essa questão me fez lembrar uma característica curiosa do shell script, comparado com os executáveis binários. Para um arquivo executável binário, basta vc ter acesso de execução sobre ele (--x------), para vc poder executálo. Já para um shell script, vc pode executá-lo sem permissão de execução (mas sempre vai precisar da permissão de leitura), bastando chamar o shell: "sh -c arquivo.sh"
"chmod 777 nunca ajudou ninguém" (c) 2002-2021 JQueiroz/FGdH
Conheça o Blog do Zekke
Responder Tópico
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal