Hi,
I'm having trouble building shotwell on my Ubuntu 11.04 box. Any
pointers would be much appreciated. I'm a noob when it comes to linux
dev so I apologize if this is really basic stuff.
After following all the guides I could find and hacking a few bits and
pieces that I couldn't, I've gotten to the point where my build spits
out this:
valac -c -g --enable-checking --thread --fatal-warnings
--vapidir=plugins/ -X -DGETTEXT_PACKAGE='"shotwell"' -X -I.
--pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0
--includedir=plugins --vapi=plugins/shotwell-plugin-dev-1.0.vapi
--header=plugins/shotwell-plugin-dev-1.0.h
src/plugins/SpitInterfaces.vala
src/plugins/TransitionsInterfaces.vala
src/plugins/PublishingInterfaces.vala
`rm SpitInterfaces.vala.o` `rm TransitionsInterfaces.vala.o` `rm
PublishingInterfaces.vala.o`
rm -f plugins/shotwell-plugin-dev-1.0.deps
`echo gobject-2.0 >> plugins/shotwell-plugin-dev-1.0.deps` `echo
glib-2.0 >> plugins/shotwell-plugin-dev-1.0.deps` `echo gdk-2.0
>> plugins/shotwell-plugin-dev-1.0.deps` `echo gtk+-2.0 >>
plugins/shotwell-plugin-dev-1.0.deps`
make[1]: Entering directory `Repository/shotwell/plugins'
make[2]: Entering directory
`Repository/shotwell/plugins/shotwell-transitions'
valac -g --enable-checking --fatal-warnings --save-temps
--compile \
--vapidir=../ --pkg=shotwell-plugin-dev-1.0 --pkg=gobject-2.0
--pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0 \
-X -I../.. -X -fPIC \
-X -D_VERSION='"0.9.3+trunk"' -X -DGETTEXT_PACKAGE='"shotwell"'
\
\
../common/Resources.vala shotwell-transitions.vala
FadeEffect.vala SlideEffect.vala CrumbleEffect.vala
cc -c `pkg-config --print-errors --cflags gobject-2.0 glib-2.0
gdk-2.0 gtk+-2.0 ` -nostdlib -export-dynamic -O2 -g -pipe -fPIC
-D_VERSION='"0.9.3+trunk"' -DGETTEXT_PACKAGE='"shotwell"'
-I../.. Resources.c shotwell-transitions.c FadeEffect.c
SlideEffect.c CrumbleEffect.c
cc `pkg-config --print-errors --cflags gobject-2.0 glib-2.0
gdk-2.0 gtk+-2.0 ` -nostdlib -export-dynamic -O2 -g -pipe -fPIC
`pkg-config --print-errors --libs gobject-2.0 glib-2.0 gdk-2.0
gtk+-2.0 ` Resources.o shotwell-transitions.o FadeEffect.o
SlideEffect.o CrumbleEffect.o -I../.. -shared -o
shotwell-transitions.so
make[2]: Leaving directory
`Repository/shotwell/plugins/shotwell-transitions'
make[2]: Entering directory
`Repository/shotwell/plugins/shotwell-publishing'
valac -g --enable-checking --fatal-warnings --save-temps
--compile \
--vapidir=../ --pkg=shotwell-plugin-dev-1.0 --pkg=gobject-2.0
--pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0 --pkg=gtk+-2.0
--pkg=libsoup-2.4 --pkg=libxml-2.0 --pkg=webkit-1.0 --pkg=gexiv2
--pkg=gee-1.0 \
-X -I../.. -X -fPIC \
-X -D_VERSION='"0.9.3+trunk"' -X -DGETTEXT_PACKAGE='"shotwell"'
\
\
../common/Resources.vala shotwell-publishing.vala
FacebookPublishing.vala PicasaPublishing.vala
FlickrPublishing.vala
YouTubePublishing.vala ../common/RESTSupport.vala
cc -c `pkg-config --print-errors --cflags gobject-2.0 glib-2.0
gdk-2.0 gtk+-2.0 gtk+-2.0 libsoup-2.4 libxml-2.0 webkit-1.0
gexiv2 gee-1.0 ` -nostdlib -export-dynamic -O2 -g -pipe -fPIC
-D_VERSION='"0.9.3+trunk"' -DGETTEXT_PACKAGE='"shotwell"'
-I../.. Resources.c shotwell-publishing.c FacebookPublishing.c
PicasaPublishing.c FlickrPublishing.c YouTubePublishing.c
RESTSupport.c
cc `pkg-config --print-errors --cflags gobject-2.0 glib-2.0
gdk-2.0 gtk+-2.0 gtk+-2.0 libsoup-2.4 libxml-2.0 webkit-1.0
gexiv2 gee-1.0 ` -nostdlib -export-dynamic -O2 -g -pipe -fPIC
`pkg-config --print-errors --libs gobject-2.0 glib-2.0 gdk-2.0
gtk+-2.0 gtk+-2.0 libsoup-2.4 libxml-2.0 webkit-1.0 gexiv2
gee-1.0 ` Resources.o shotwell-publishing.o
FacebookPublishing.o PicasaPublishing.o FlickrPublishing.o
YouTubePublishing.o RESTSupport.o -I../.. -shared -o
shotwell-publishing.so
make[2]: Leaving directory
`/home/kent/Repository/shotwell/plugins/shotwell-publishing'
make[2]: Entering directory
`/home/kent/Repository/shotwell/plugins/shotwell-publishing-extras'
valac -g --enable-checking --fatal-warnings --save-temps
--compile \
--vapidir=../ --pkg=shotwell-plugin-dev-1.0 --pkg=gobject-2.0
--pkg=glib-2.0 --pkg=gdk-2.0 --pkg=gtk+-2.0 --pkg=gtk+-2.0
--pkg=libsoup-2.4 --pkg=libxml-2.0 --pkg=webkit-1.0
--pkg=json-glib-1.0 --pkg=gee-1.0 \
-X -I../.. -X -fPIC \
-X -D_VERSION='"0.9.3+trunk"' -X -DGETTEXT_PACKAGE='"shotwell"'
\
\
../common/Resources.vala shotwell-publishing-extras.vala
YandexPublishing.vala ../common/RESTSupport.vala
cc -c `pkg-config --print-errors --cflags gobject-2.0 glib-2.0
gdk-2.0 gtk+-2.0 gtk+-2.0 libsoup-2.4 libxml-2.0 webkit-1.0
json-glib-1.0 gee-1.0 ` -nostdlib -export-dynamic -O2 -g -pipe
-fPIC -D_VERSION='"0.9.3+trunk"' -DGETTEXT_PACKAGE='"shotwell"'
-I../.. Resources.c shotwell-publishing-extras.c
YandexPublishing.c RESTSupport.c
make[2]: Leaving directory
`/home/kent/Repository/shotwell/plugins/shotwell-publishing-extras'
make[1]: Leaving directory
`/home/kent/Repository/shotwell/plugins'
Repository/shotwell/plugins/shotwell-publishing/FacebookPublishing.c:
In function
‘publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale’:
Repository/shotwell/plugins/shotwell-publishing/FacebookPublishing.c:5258:28:
warning: assignment discards qualifiers from pointer target type
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c: In
function ‘publishing_flickr_flickr_publisher_do_publish’:
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:2551:9:
warning: assignment from incompatible pointer type
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c: In
function ‘publishing_flickr_uploader_preprocess_publishable’:
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:4762:16:
warning: assignment from incompatible pointer type
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:4773:3:
warning: passing argument 3 of ‘gexiv2_metadata_set_tag_multiple’ from
incompatible pointer type
/usr/local/include/gexiv2/gexiv2-metadata.h:137:11: note:
expected ‘const gchar **’ but argument is of type ‘gchar **’
Repository/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:4774:3:
warning: passing argument 3 of ‘gexiv2_metadata_set_tag_multiple’ from
incompatible pointer type
/usr/local/include/gexiv2/gexiv2-metadata.h:137:11: note:
expected ‘const gchar **’ but argument is of type ‘gchar **’
FacebookPublishing.c: In function
‘publishing_facebook_web_authentication_pane_get_system_locale_as_facebook_locale’:
FacebookPublishing.c:5258:28: warning: assignment discards
qualifiers from pointer target type
FlickrPublishing.c: In function
‘publishing_flickr_flickr_publisher_do_publish’:
FlickrPublishing.c:2551:9: warning: assignment from incompatible
pointer type
FlickrPublishing.c: In function
‘publishing_flickr_uploader_preprocess_publishable’:
FlickrPublishing.c:4762:16: warning: assignment from
incompatible pointer type
FlickrPublishing.c:4773:3: warning: passing argument 3 of
‘gexiv2_metadata_set_tag_multiple’ from incompatible pointer
type
/usr/local/include/gexiv2/gexiv2-metadata.h:137:11: note:
expected ‘const gchar **’ but argument is of type ‘gchar **’
FlickrPublishing.c:4774:3: warning: passing argument 3 of
‘gexiv2_metadata_set_tag_multiple’ from incompatible pointer
type
/usr/local/include/gexiv2/gexiv2-metadata.h:137:11: note:
expected ‘const gchar **’ but argument is of type ‘gchar **’
Package json-glib-1.0 was not found in the pkg-config search
path.
Perhaps you should add the directory containing
`json-glib-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'json-glib-1.0' found
Resources.c:10:18: fatal error: glib.h: No such file or
directory
compilation terminated.
shotwell-publishing-extras.c:10:18: fatal error: glib.h: No such
file or directory
compilation terminated.
YandexPublishing.c:10:18: fatal error: glib.h: No such file or
directory
compilation terminated.
RESTSupport.c:10:18: fatal error: glib.h: No such file or
directory
compilation terminated.
make[2]: *** [Resources.o] Error 1
make[1]: *** [shotwell-publishing-extras] Error 2
make: *** [plugins] Error 2
I'm at a loss as to why glib.h cannot be found, since it's
in /usr/include/glib-2.0. I've tried:
USER_VALAFLAGS="--includedir /usr/include/glib-2.0"
But that didn't seem to help.
I'm at a bit of a loss at this point. Any guidance would be much
appreciated.
Thanks,
Kent
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell