Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New photo organiser Shotwell & gexiv2 deps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
robinmarlow
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 167

PostPosted: Thu Jul 01, 2010 9:27 pm    Post subject: New photo organiser Shotwell & gexiv2 deps Reply with quote

Hello,
I saw the recent release of shotwell (6.1) and thought it might be good. The most recent ebuild is for 5.1 & renaming it nearly works except they've added gexiv2 http://trac.yorba.org/wiki/gexiv2 as a dependency.
So i couldn't get an ebuild to work so tried compiling it manually to see what was going on.
I got this error:
Code:

robin@myth /tmp/gexiv2 $ ./configure
Configured.  Type 'make' to build, 'make install' to install.
robin@myth /tmp/gexiv2 $ make
libtool --mode=compile g++ -c `pkg-config --cflags gobject-2.0 glib-2.0 exiv2` -O2 -g -pipe -fPIC -nostdlib -I. -o gexiv2/gexiv2-metadata.o gexiv2/gexiv2-metadata.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [gexiv2/gexiv2-metadata.o] Error 1
robin@myth /tmp/gexiv2 $


Any ideas how i can get round this? I've recompiled libtools, run revdep-rebuild & lafilefixer. Everything else compiles just fine.

Thanks,

Robin
Back to top
View user's profile Send private message
grodzik86
n00b
n00b


Joined: 25 Dec 2005
Posts: 38
Location: Wroclaw, Poland

PostPosted: Sat Jul 17, 2010 3:49 pm    Post subject: Reply with quote

Hi,
Something like this should help:
Code:
--- Makefile.orig       2010-07-17 17:24:00.643871029 +0200
+++ Makefile    2010-07-17 17:22:31.121860059 +0200
@@ -163,8 +163,8 @@
 $(EXPANDED_OBJ_FILES): $(BUILD_DIR)/%.o: gexiv2/%.cpp $(EXPANDED_HEADER_FILES) $(CONFIG_IN) Makefile
        @pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS)'
        @mkdir -p $(BUILD_DIR)
-       libtool --mode=compile $(CXX) -c $(EXT_PKGS_CFLAGS) $(CFLAGS) -I. -o $@ $<
+       libtool --tag=CXX --mode=compile $(CXX) -c $(EXT_PKGS_CFLAGS) $(CFLAGS) -I. -o $@ $<
 
 $(LIBRARY_BIN): $(EXPANDED_OBJ_FILES)
-       libtool --mode=link $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN)
+       libtool --tag=CXX --mode=link $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN)


Unfortunately another error apeared...
Code:
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crti.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/crtbeginS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/crtendS.o: No such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crtn.o: No such file or directory


Btw, thanks for showing me that app, I like it ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum