Je t'avoue que là je n'en ai aucune idée...
3d windows dans compiz-fusion
On dirait une erreur dans le makefile...
"build/3d.lo" ne doit pas être une cible.
Peux-tu poster le contenu du fichier makefile entre balises code ?
"build/3d.lo" ne doit pas être une cible.
Peux-tu poster le contenu du fichier makefile entre balises code ?
Salut.
J'ai libtool et compiz-bcop d'installé.
Tout est OK pour moi :
J'ai libtool et compiz-bcop d'installé.
Tout est OK pour moi :
Concernant compiz, j'ai cela d'installés :$ make
bcop'ing : build/3d.xml -> build/3d_options.h
bcop'ing : build/3d.xml -> build/3d_options.c
schema : build/3d.xml -> build/compiz-3d.schema
compiling : 3d.c -> build/3d.lo
compiling : build/3d_options.c -> build/3d_options.lo
linking : build/lib3d.la
# rpm -qa|grep compiz
compiz-kde-0.6.2-3.fc8
compiz-gnome-0.6.2-3.fc8
compiz-fusion-gnome-0.6.0-12.fc8
compizconfig-python-0.6.0.1-2.fc8
compiz-devel-0.6.2-3.fc8
compiz-fusion-devel-0.6.0-12.fc8
compiz-fusion-extras-gnome-0.6.0-1.fc8
gnome-compiz-manager-0.10.4-3.fc8
compiz-fusion-extras-0.6.0-1.fc8
compiz-manager-0.6.0-4.fc8
libcompizconfig-0.6.0-3.fc8
compiz-0.6.2-3.fc8
compiz-bcop-0.6.0-1.fc8
++Pour Chacual: le contenu du makefile:
##
#
# Compiz plugin Makefile
#
# Copyright : (C) 2007 by Dennis Kasprzyk
# E-mail : onestone@deltatauchi.de
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
##
# plugin.info file contents
#
# PLUGIN = foo
# PKG_DEP = pango
# LDFLAGS_ADD = -lGLU
# CFLAGS_ADD = -I/usr/include/foo
#
#load config file
include plugin.info
ifeq ($(BUILD_GLOBAL),true)
PREFIX = $(shell pkg-config --variable=prefix compiz)
CLIBDIR = $(shell pkg-config --variable=libdir compiz)
CINCDIR = $(shell pkg-config --variable=includedir compiz)
PKGDIR = $(CLIBDIR)/pkgconfig
DESTDIR = $(shell pkg-config --variable=libdir compiz)/compiz
XMLDIR = $(shell pkg-config --variable=prefix compiz)/share/compiz
IMAGEDIR = $(shell pkg-config --variable=prefix compiz)/share/compiz
DATADIR = $(shell pkg-config --variable=prefix compiz)/share/compiz
else
DESTDIR = $(HOME)/.compiz/plugins
XMLDIR = $(HOME)/.compiz/metadata
IMAGEDIR = $(HOME)/.compiz/images
DATADIR = $(HOME)/.compiz/data
endif
BUILDDIR = build
ECHO = `which echo`
CC = gcc
CPP = g++
LIBTOOL = libtool
INSTALL = install
BCOP = `pkg-config --variable=bin bcop`
CFLAGS = -g -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing `pkg-config --cflags $(PKG_DEP) compiz ` $(CFLAGS_ADD)
LDFLAGS = `pkg-config --libs $(PKG_DEP) compiz ` $(LDFLAGS_ADD)
DEFINES = -DIMAGEDIR=$(IMAGEDIR) -DDATADIR=$(DATADIR)
POFILEDIR = $(shell if [ -n "$(PODIR)" ]; then $(ECHO) $(PODIR); else $(ECHO) ./po;fi )
is-bcop-target := $(shell if [ -e $(PLUGIN).xml.in ]; then cat $(PLUGIN).xml.in | grep "useBcop=\"true\""; \
else if [ -e $(PLUGIN).xml ]; then cat $(PLUGIN).xml | grep "useBcop=\"true\""; fi; fi)
trans-target := $(shell if [ -e $(PLUGIN).xml.in -o -e $(PLUGIN).xml ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN).xml;fi )
bcop-target := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN).xml; fi )
bcop-target-src := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN)_options.c; fi )
bcop-target-hdr := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN)_options.h; fi )
gen-schemas := $(shell if [ -e $(PLUGIN).xml.in -o -e $(PLUGIN).xml -a -n "`pkg-config --variable=xsltdir compiz-gconf`" ]; then $(ECHO) true; fi )
schema-target := $(shell if [ -n "$(gen-schemas)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN).xml; fi )
schema-output := $(shell if [ -n "$(gen-schemas)" ]; then $(ECHO) $(BUILDDIR)/compiz-$(PLUGIN).schema; fi )
ifeq ($(BUILD_GLOBAL),true)
pkg-target := $(shell if [ -e compiz-$(PLUGIN).pc.in -a -n "$(PREFIX)" -a -d "$(PREFIX)" ]; then $(ECHO) "$(BUILDDIR)/compiz-$(PLUGIN).pc"; fi )
hdr-install-target := $(shell if [ -e compiz-$(PLUGIN).pc.in -a -n "$(PREFIX)" -a -d "$(PREFIX)" -a -e $(PLUGIN).h ]; then $(ECHO) "$(PLUGIN).h"; fi )
endif
# find all the object files
c-objs := $(patsubst %.c,%.lo,$(shell find -name '*.c' 2> /dev/null | grep -v "$(BUILDDIR)/" | sed -e 's/^.\///'))
c-objs += $(patsubst %.cpp,%.lo,$(shell find -name '*.cpp' 2> /dev/null | grep -v "$(BUILDDIR)/" | sed -e 's/^.\///'))
c-objs += $(patsubst %.cxx,%.lo,$(shell find -name '*.cxx' 2> /dev/null | grep -v "$(BUILDDIR)/" | sed -e 's/^.\///'))
c-objs := $(filter-out $(bcop-target-src:.c=.lo),$(c-objs))
h-files := $(shell find -name '*.h' 2> /dev/null | grep -v "$(BUILDDIR)/" | sed -e 's/^.\///')
h-files += $(bcop-target-hdr)
h-files += $(shell pkg-config --variable=includedir compiz)/compiz/compiz.h
all-c-objs := $(addprefix $(BUILDDIR)/,$(c-objs))
all-c-objs += $(bcop-target-src:.c=.lo)
# additional files
data-files := $(shell find data/ -name '*' -type f 2> /dev/null | sed -e 's/data\///')
image-files := $(shell find images/ -name '*' -type f 2> /dev/null | sed -e 's/images\///')
# system include path parameter, -isystem doesn't work on old gcc's
inc-path-param = $(shell if [ -z "`gcc --version | head -n 1 | grep ' 3'`" ]; then $(ECHO) "-isystem"; else $(ECHO) "-I"; fi)
# default color settings
color := $(shell if [ $$TERM = "dumb" ]; then $(ECHO) "no"; else $(ECHO) "yes"; fi)
#
# Do it.
#
.PHONY: $(BUILDDIR) build-dir trans-target bcop-build pkg-creation schema-creation c-build-objs c-link-plugin
all: $(BUILDDIR) build-dir trans-target bcop-build pkg-creation schema-creation c-build-objs c-link-plugin
trans-build: $(trans-target)
bcop-build: $(bcop-target-hdr) $(bcop-target-src)
schema-creation: $(schema-output)
c-build-objs: $(all-c-objs)
c-link-plugin: $(BUILDDIR)/lib$(PLUGIN).la
pkg-creation: $(pkg-target)
#
# Create build directory
#
$(BUILDDIR) :
@mkdir -p $(BUILDDIR)
$(DESTDIR) :
@mkdir -p $(DESTDIR)
#
# fallback if xml.in doesn't exists
#
$(BUILDDIR)/%.xml: %.xml
@cp $< $@
#
# Translating
#
$(BUILDDIR)/%.xml: %.xml.in
@if [ -d $(POFILEDIR) ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mtranslate \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "translate $< -> $@"; \
fi; \
intltool-merge -x -u $(POFILEDIR) $< $@ > /dev/null; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mtranslate : \033[34m$< -> $@\033[0m"; \
fi; \
else \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mconvert \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "convert $< -> $@"; \
fi; \
cat $< | sed -e 's;<_;<;g' -e 's;</_;</;g' > $@; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mconvert : \033[34m$< -> $@\033[0m"; \
fi; \
fi
#
# BCOP'ing
$(BUILDDIR)/%_options.h: $(BUILDDIR)/%.xml
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mbcop'ing \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "bcop'ing $< -> $@"; \
fi
@$(BCOP) --header=$@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mbcop'ing : \033[34m$< -> $@\033[0m"; \
fi
$(BUILDDIR)/%_options.c: $(BUILDDIR)/%.xml
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mbcop'ing \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "bcop'ing $< -> $@"; \
fi
@$(BCOP) --source=$@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mbcop'ing : \033[34m$< -> $@\033[0m"; \
fi
#
# Schema generation
$(BUILDDIR)/compiz-%.schema: $(BUILDDIR)/%.xml
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mschema'ing\033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "schema'ing $< -> $@"; \
fi
@xsltproc `pkg-config --variable=xsltdir compiz-gconf`/schemas.xslt $< > $@
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mschema : \033[34m$< -> $@\033[0m"; \
fi
#
# pkg config file generation
$(BUILDDIR)/compiz-%.pc: compiz-%.pc.in
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mpkgconfig \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "pkgconfig $< -> $@"; \
fi
@COMPIZREQUIRES=`cat $(PKGDIR)/compiz.pc | grep Requires | sed -e 's;Requires: ;;g'`; \
COMPIZCFLAGS=`cat $(PKGDIR)/compiz.pc | grep Cflags | sed -e 's;Cflags: ;;g'`; \
sed -e 's;@prefix@;$(PREFIX);g' -e 's;\@libdir@;$(CLIBDIR);g' \
-e 's;@includedir@;$(CINCDIR);g' -e 's;\@VERSION@;0.0.1;g' \
-e "s;@COMPIZ_REQUIRES@;$$COMPIZREQUIRES;g" \
-e "s;@COMPIZ_CFLAGS@;$$COMPIZCFLAGS;g" $< > $@;
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mpkgconfig : \033[34m$< -> $@\033[0m"; \
fi
#
# Compiling
#
$(BUILDDIR)/%.lo: %.c $(h-files)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5mcompiling \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "compiling $< -> $@"; \
fi
@$(LIBTOOL) --quiet --mode=compile $(CC) $(CFLAGS) $(DEFINES) -I$(BUILDDIR) -c -o $@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mcompiling : \033[34m$< -> $@\033[0m"; \
fi
$(BUILDDIR)/%.lo: $(BUILDDIR)/%.c $(h-files)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5mcompiling \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "compiling $< -> $@"; \
fi
@$(LIBTOOL) --quiet --mode=compile $(CC) $(CFLAGS) $(DEFINES) -I$(BUILDDIR) -c -o $@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mcompiling : \033[34m$< -> $@\033[0m"; \
fi
$(BUILDDIR)/%.lo: %.cpp $(h-files)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5mcompiling \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "compiling $< -> $@"; \
fi
@$(LIBTOOL) --quiet --mode=compile $(CPP) $(CFLAGS) $(DEFINES) -I$(BUILDDIR) -c -o $@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mcompiling : \033[34m$< -> $@\033[0m"; \
fi
$(BUILDDIR)/%.lo: %.cxx $(h-files)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5mcompiling \033[0m: \033[0;32m$< \033[0m-> \033[0;31m$@\033[0m"; \
else \
$(ECHO) "compiling $< -> $@"; \
fi
@$(LIBTOOL) --quiet --mode=compile $(CPP) $(CFLAGS) $(DEFINES) -I$(BUILDDIR) -c -o $@ $<
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mcompiling : \033[34m$< -> $@\033[0m"; \
fi
#
# Linking
#
cxx-rpath-prefix := -Wl,-rpath,
$(BUILDDIR)/lib$(PLUGIN).la: $(all-c-objs)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mlinking \033[0m: \033[0;31m$@\033[0m"; \
else \
$(ECHO) "linking : $@"; \
fi
@$(LIBTOOL) --quiet --mode=link $(CC) $(LDFLAGS) -rpath $(DESTDIR) -o $@ $(all-c-objs)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mlinking : \033[34m$@\033[0m"; \
fi
clean:
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e -n "\033[0;1;5mremoving \033[0m: \033[0;31m./$(BUILDDIR)\033[0m"; \
else \
$(ECHO) "removing : ./$(BUILDDIR)"; \
fi
@rm -rf $(BUILDDIR)
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0mremoving : \033[34m./$(BUILDDIR)\033[0m"; \
fi
install: $(DESTDIR) all
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(DESTDIR)/lib$(PLUGIN).so\033[0m"; \
else \
$(ECHO) "install : $(DESTDIR)/lib$(PLUGIN).so"; \
fi
@mkdir -p $(DESTDIR)
@$(INSTALL) $(BUILDDIR)/.libs/lib$(PLUGIN).so $(DESTDIR)/lib$(PLUGIN).so
@if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(DESTDIR)/lib$(PLUGIN).so\033[0m"; \
fi
@if [ -e $(BUILDDIR)/$(PLUGIN).xml ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(XMLDIR)/$(PLUGIN).xml\033[0m"; \
else \
$(ECHO) "install : $(XMLDIR)/$(PLUGIN).xml"; \
fi; \
mkdir -p $(XMLDIR); \
cp $(BUILDDIR)/$(PLUGIN).xml $(XMLDIR)/$(PLUGIN).xml; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(XMLDIR)/$(PLUGIN).xml\033[0m"; \
fi; \
fi
@if [ -n "$(hdr-install-target)" ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(CINCDIR)/compiz/$(hdr-install-target)\033[0m"; \
else \
$(ECHO) "install : $(CINCDIR)/compiz/$(hdr-install-target)"; \
fi; \
cp $(hdr-install-target) $(CINCDIR)/compiz/$(hdr-install-target); \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(CINCDIR)/compiz/$(hdr-install-target)\033[0m"; \
fi; \
fi
@if [ -n "$(pkg-target)" ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(PKGDIR)/compiz-$(PLUGIN).pc\033[0m"; \
else \
$(ECHO) "install : $(PKGDIR)/compiz-$(PLUGIN).pc"; \
fi; \
cp $(pkg-target) $(PKGDIR)/compiz-$(PLUGIN).pc; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(PKGDIR)/compiz-$(PLUGIN).pc\033[0m"; \
fi; \
fi
@if [ -n "$(schema-output)" -a -e "$(schema-output)" ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(schema-output)\033[0m"; \
else \
$(ECHO) "install : $(schema-output)"; \
fi; \
gconftool-2 --install-schema-file=$(schema-output) > /dev/null; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(schema-output)\033[0m"; \
fi; \
fi
@if [ -n "$(data-files)" ]; then \
mkdir -p $(DATADIR); \
for FILE in $(data-files); do \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(DATADIR)/$$FILE\033[0m"; \
else \
$(ECHO) "install : $(DATADIR)/$$FILE"; \
fi; \
cp data/$$FILE $(DATADIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(DATADIR)/$$FILE\033[0m"; \
fi; \
done \
fi
@if [ -n "$(image-files)" ]; then \
mkdir -p $(IMAGEDIR); \
for FILE in $(image-files); do \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5minstall \033[0m: \033[0;31m$(IMAGEDIR)/$$FILE\033[0m"; \
else \
$(ECHO) "install : $(IMAGEDIR)/$$FILE"; \
fi; \
cp images/$$FILE $(IMAGEDIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0minstall : \033[34m$(IMAGEDIR)/$$FILE\033[0m"; \
fi; \
done \
fi
uninstall:
@if [ -e $(DESTDIR)/lib$(PLUGIN).so ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(DESTDIR)/lib$(PLUGIN).so\033[0m"; \
else \
$(ECHO) "uninstall : $(DESTDIR)/lib$(PLUGIN).so"; \
fi; \
rm -f $(DESTDIR)/lib$(PLUGIN).so; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(DESTDIR)/lib$(PLUGIN).so\033[0m"; \
fi; \
fi
@if [ -e $(XMLDIR)/$(PLUGIN).xml ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(XMLDIR)/$(PLUGIN).xml\033[0m"; \
else \
$(ECHO) "uninstall : $(XMLDIR)/$(PLUGIN).xml"; \
fi; \
rm -f $(XMLDIR)/$(PLUGIN).xml; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(XMLDIR)/$(PLUGIN).xml\033[0m"; \
fi; \
fi
@if [ -n "$(hdr-install-target)" -a -e $(CINCDIR)/compiz/$(hdr-install-target) ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(CINCDIR)/compiz/$(hdr-install-target)\033[0m"; \
else \
$(ECHO) "uninstall : $(CINCDIR)/compiz/$(hdr-install-target)"; \
fi; \
rm -f $(CINCDIR)/compiz/$(hdr-install-target); \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(CINCDIR)/compiz/$(hdr-install-target)\033[0m"; \
fi; \
fi
@if [ -n "$(pkg-target)" -a -e $(PKGDIR)/compiz-$(PLUGIN).pc ]; then \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(PKGDIR)/compiz-$(PLUGIN).pc\033[0m"; \
else \
$(ECHO) "uninstall : $(PKGDIR)/compiz-$(PLUGIN).pc"; \
fi; \
rm -f $(PKGDIR)/compiz-$(PLUGIN).pc; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(PKGDIR)/compiz-$(PLUGIN).pc\033[0m"; \
fi; \
fi
@if [ -n "$(data-files)" ]; then \
for FILE in $(data-files); do \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(DATADIR)/$$FILE\033[0m"; \
else \
$(ECHO) "uninstall : $(DATADIR)/$$FILE"; \
fi; \
rm -f $(DATADIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(DATADIR)/$$FILE\033[0m"; \
fi; \
done \
fi
@if [ -n "$(image-files)" ]; then \
for FILE in $(image-files); do \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -n -e "\033[0;1;5muninstall \033[0m: \033[0;31m$(IMAGEDIR)/$$FILE\033[0m"; \
else \
$(ECHO) "uninstall : $(IMAGEDIR)/$$FILE"; \
fi; \
rm -f $(IMAGEDIR)/$$FILE; \
if [ '$(color)' != 'no' ]; then \
$(ECHO) -e "\r\033[0muninstall : \033[34m$(IMAGEDIR)/$$FILE\033[0m"; \
fi; \
done \
fi
Pour eddy33 il me manquai deux paquets par rapport aux tiens je les ai installés mais l'erreur persisteUn petit Up...
Personne n'a d'idées?...
Personne n'a d'idées?...
Non, aucune, désolé.
Je ne parle pas le makefile. :-D
Je ne parle pas le makefile. :-D
Personnellement je ne pense pas qu'il s'agisse d'un problème du makefile, vu que j'ai récupérer les sources sur le site d'eddy33 et que cela fonctionne pour d'autre personnes... Il doit y avoir une dépendance (ou dev....) que je n'ai pas mais je ne vois pas ce que c'est... pourtant quand j'ai installé F8 j'ai installé l'option paquets pour dev...
- Modifié
Effectivement, vu que d'autres arrivent à le compiler, le problème ne doit pas venir du makefile :-D
Est-ce que tu as un paquet du type pango* d'installé ??
Au début du makefile, je lis :
EDIT : si tu as un paquet pango et que ça ne fonctionne pas, il faut surement pango-devel...
Est-ce que tu as un paquet du type pango* d'installé ??
Au début du makefile, je lis :
PKG_DEP = pango
Ce que j'interprète (c'est une interprétation personnelle 😃 ) par "Dépend du paquetage : pango"... peut-être une piste !EDIT : si tu as un paquet pango et que ça ne fonctionne pas, il faut surement pango-devel...
Bonne remarque, je pense que tu as raison, probablement un paquet manquant par rapport à ceux chez qui ça marche.chepioq wrote:Personnellement je ne pense pas qu'il s'agisse d'un problème du makefile, vu que j'ai récupérer les sources sur le site d'eddy33 et que cela fonctionne pour d'autre personnes... Il doit y avoir une dépendance (ou dev....) que je n'ai pas mais je ne vois pas ce que c'est... pourtant quand j'ai installé F8 j'ai installé l'option paquets pour dev...
J'ai pango et pango-devel déjà d'installé... C'était une bonne piste mais... non :hammer:
Effectivement.
Il doit manquer un paquetage. Lequel ?
++
Il doit manquer un paquetage. Lequel ?
++
bonsoir eddy33... c'est la question que je me pose depuis hier et franchement je ne vois pas. As tu un lien vers le site qui fournit 3d windows que j'aille un peu voir?...
ici : http://gitweb.compiz-fusion.org/?p=fusion/plugins/3d;a=summary
pour la maintenance du plugin...
Peut-être un essai avec la dernière version...
++
pour la maintenance du plugin...
Peut-être un essai avec la dernière version...
++
avec la dernière version j'ai un autre message d'erreur:
Bon je crois que je vais passer à autre chose (mais je persiste à penser qu'il ne me manque qu'une dépendance...)
Alors que j'ai bien compiz et compiz-fusion d'installé...[dominique@208 3d]$ make
Makefile:48: *** [ERROR] Compiz not installed. Arrêt.
Bon je crois que je vais passer à autre chose (mais je persiste à penser qu'il ne me manque qu'une dépendance...)
Bon en cherchant un peu (beaucoup...) sur google j'ai fini par trouver ce qui semblerai une solution, mais je n'ai pas tester, j'aimerai votre avis avant...
La solution consisterai à installer le dépôt compiz-fusion, à désinstaller tout ce qui à trait à compiz-fusion (installé par le dépôt fedora) et à ré-installer compiz-fusion du dépôt compiz-fusion...
est-ce à votre avis une solution valable?...
La solution consisterai à installer le dépôt compiz-fusion, à désinstaller tout ce qui à trait à compiz-fusion (installé par le dépôt fedora) et à ré-installer compiz-fusion du dépôt compiz-fusion...
est-ce à votre avis une solution valable?...
Bon...suite et pour le moment fin de mes essais...
J'ai désinstallé tout ce qui à trait à compiz et compiz-fusion sur ma Fedora et ensuite j'ai installé les paquets de chez compiz que j'ai trouvé "ICI"
Le problème est toujours le même:
Donc j'ai désinstallé cette version et remis compiz du dépôt fedora
J'ai posté ce problème sur le forum de compiz et apparemment je ne suis pas le seul à avoir ce petit soucis, mais pour le moment il n'y a pas de solution.
J'ai désinstallé tout ce qui à trait à compiz et compiz-fusion sur ma Fedora et ensuite j'ai installé les paquets de chez compiz que j'ai trouvé "ICI"
Le problème est toujours le même:
make: *** Pas de règle pour fabriquer la cible « build/3d.lo », nécessaire pour « c-build-objs ». Arrêt.
De plus avec cette version certain effet ne fonctionne pas, par exemple le skydome, je n'arrive pas pas à mettre un fond, même si cela est spécifié, pareil pour les images de la face supérieure et inférieure du cube, même si les images sont spécifié elles ne s"affichent pas...Donc j'ai désinstallé cette version et remis compiz du dépôt fedora
J'ai posté ce problème sur le forum de compiz et apparemment je ne suis pas le seul à avoir ce petit soucis, mais pour le moment il n'y a pas de solution.
- Modifié
@ Aiolizator : Excuse moi pour le retard de ma réponse ! oui, j'ai installé les librairies que tu as trouvé :-PAiolizator wrote:Quelle lib s'il te plait ? J'ai la même erreur.Manu28 wrote:Résolu ! il me manquait des librairies pour la compilation :hammer:
Merci !!
EDIT : j'ai installé compiz-fusion-devel.x86_64 compiz-devel.x86_64 mais cela ne règle pas mon problème.
EDIT2 : En installant compiz-bcop et libtool, ça marche 🙂
@ Chepioq : je pense que ce lien devrait répondre à ton problème d'installation du cube 3D : http://forum.ubuntu-fr.org/viewtopic.php?pid=1295078#p1295078
A plus tard,
Manu.
mon cube 3D fonctionne très bien avec les paquets de fédora, il ne fonctionnai plus avec ceux de compiz...
Mais je pense avoir trouvé une piste pour mon problème de windows 3D:
Quand je fait (suivant ce que j'ai vu sur un forum anglais)
J'ai bien les paquets libxslt d'installé...
Mais je pense avoir trouvé une piste pour mon problème de windows 3D:
Quand je fait (suivant ce que j'ai vu sur un forum anglais)
libtool --mode=compile gcc -g -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing `pkg-config --cflags compiz` -DIMAGEDIR=$HOME/.compiz/images -DDATADIR=$HOME/.compiz/data -Ibuild -c 3d.c -fPIC -DPIC -o build/.libs/3d.o
j'obtiens comme réponse:
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxslt', required by 'compiz', not found
/usr/bin/libtool: line 1272: build/.libs/3d.loT: No such file or directory
mkdir build/.libs/.libs
mkdir: cannot create directory `build/.libs/.libs': No such file or directory
un problème de PATH mais je ne sais pas trop comment le résoudre...J'ai bien les paquets libxslt d'installé...
5 jours plus tard
Bonjour...je remonte ce topic car j'ai trouvé (avec l'aide du forum compiz) la solution
Le problème était que je n'avais pas d'installé libxslt-devel.x64 mais libxslt-devel.i386.(mais il ne voulais pas s'installer si j'avais la version i386...)
j'ai donc des-installé libxslt-devel.i386 ce qui m'a aussi enlever quelques dépendances
Après redémarrage ce plugin fonctionne très bien sous mon compiz
J'espère que cela servira à d'autre personnes...
Le problème était que je n'avais pas d'installé libxslt-devel.x64 mais libxslt-devel.i386.(mais il ne voulais pas s'installer si j'avais la version i386...)
j'ai donc des-installé libxslt-devel.i386 ce qui m'a aussi enlever quelques dépendances
Removing:
libxslt-devel i386 1.1.22-1.fc8 installed 1.1 M
Removing for dependencies:
compiz-devel x86_64 0.6.2-3.fc8 installed 117 k
compiz-devel i386 0.6.2-3.fc8 installed 117 k
compiz-fusion-devel i386 0.6.0-12.fc8 installed 1.7 k
compiz-fusion-devel x86_64 0.6.0-12.fc8 installed 1.7 k
eel2-devel x86_64 2.20.0-1.fc8 installed 214 k
eel2-devel i386 2.20.0-1.fc8 installed 214 k
evolution-data-server-devel i386 1.12.3-1.fc8 installed 5.9 M
evolution-data-server-devel x86_64 1.12.3-1.fc8 installed 5.9 M
gnome-desktop-devel i386 2.20.2-1.fc8 installed 191 k
gnome-desktop-devel x86_64 2.20.2-1.fc8 installed 191 k
gnome-panel-devel x86_64 2.20.2-1.fc8 installed 177 k
gnome-panel-devel i386 2.20.2-1.fc8 installed 177 k
gnome-pilot-devel i386 2.0.15-10.fc8 installed 164 k
gnome-pilot-devel x86_64 2.0.15-10.fc8 installed 164 k
libbonoboui-devel i386 2.20.0-1.fc8 installed 1.0 M
libbonoboui-devel x86_64 2.20.0-1.fc8 installed 1.0 M
libcompizconfig-devel i386 0.6.0-3.fc8 installed 21 k
libcompizconfig-devel x86_64 0.6.0-3.fc8 installed 21 k
libcroco-devel i386 0.6.1-3.fc8 installed 110 k
libgnome-devel x86_64 2.20.1-2.fc8 installed 537 k
libgnome-devel i386 2.20.1-2.fc8 installed 537 k
libgnomeui-devel i386 2.20.1.1-1.fc8 installed 2.4 M
libgnomeui-devel x86_64 2.20.1.1-1.fc8 installed 2.4 M
librsvg2-devel x86_64 2.18.2-2.fc8 installed 92 k
librsvg2-devel i386 2.18.2-2.fc8 installed 92 k
J'ai installé libxslt.x64 (ce qui m'a aussi réinstallé libxslt.i386...va savoir pourquoi...) j'ai ré-installé les devels qui avaient été enlevé et j'ai pu enfin compilé le plugin 3d-windowsAprès redémarrage ce plugin fonctionne très bien sous mon compiz
J'espère que cela servira à d'autre personnes...
Salut.
Tant mieux que ça marche...
++
Tant mieux que ça marche...
++