My apologies. In the course of posting the full error below, I noticed
the problem was the line:
/home/fraser/src/shotwell/plugins/shotwell-publishing/PicasaPublishing.c:23:33:
fatal error: json-glib/json-glib.h: No such file or directory
I'd originally installed all the dependencies and removed the Debian
version with:
apt-get build-dep shotwell
apt-get remove shotwell
I guess it missed a dependency, or a new one is required. Doing this
got it to build fine:
apt-get install libjson-glib-dev
Once again, my apologies for posting something I should have noticed
myself. FWIW it does seem to build OK with GCC 4.7.2.
----
fraser@teuchter:~/src/shotwell$ make
make[1]: Entering directory `/home/fraser/src/shotwell/plugins'
make[2]: Entering directory
`/home/fraser/src/shotwell/plugins/shotwell-transitions'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/fraser/src/shotwell/plugins/shotwell-transitions'
make[2]: Entering directory
`/home/fraser/src/shotwell/plugins/shotwell-publishing'
valac --target-glib=2.30.0 -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-3.0 --pkg=gtk+-3.0 --pkg=gee-1.0
--pkg=gtk+-3.0 --pkg=libsoup-2.4 --pkg=libxml-2.0 --pkg=webkitgtk-3.0
--pkg=gexiv2 --pkg=rest-0.7 --pkg=gee-1.0 --pkg=json-glib-1.0 \
-X -I../.. -X -fPIC \
-X -D_VERSION='"0.12.3+trunk"' -X
-DGETTEXT_PACKAGE='"shotwell"' \
\
--vapidir=../../vapi \
../common/Resources.vala shotwell-publishing.vala
FacebookPublishing.vala PicasaPublishing.vala FlickrPublishing.vala
YouTubePublishing.vala PiwigoPublishing.vala
../../src/util/string.vala ../common/RESTSupport.vala
../common/ui.vala
/home/fraser/src/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala:
In function ‘publishing_facebook_facebook_rest_transaction_check_response’:
/home/fraser/src/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala:1053:10:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
/home/fraser/src/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala:1053:11:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
/home/fraser/src/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala:
In function ‘publishing_facebook_facebook_rest_transaction_get_response’:
/home/fraser/src/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala:1135:9:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
/home/fraser/src/shotwell/plugins/shotwell-publishing/PicasaPublishing.c:23:33:
fatal error: json-glib/json-glib.h: No such file or directory
compilation terminated.
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:
In function ‘publishing_flickr_flickr_publisher_do_publish’:
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:625:10:
warning: assignment from incompatible pointer type [enabled by
default]
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:
In function ‘publishing_flickr_uploader_preprocess_publishable’:
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:1321:16:
warning: assignment from incompatible pointer type [enabled by
default]
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:1335:3:
warning: passing argument 3 of ‘gexiv2_metadata_set_tag_multiple’ from
incompatible pointer type [enabled by default]
In file included from /usr/include/gexiv2/gexiv2.h:13:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:24:
/usr/include/gexiv2/gexiv2-metadata.h:137:11: note: expected ‘const
gchar **’ but argument is of type ‘gchar **’
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.vala:1336:3:
warning: passing argument 3 of ‘gexiv2_metadata_set_tag_multiple’ from
incompatible pointer type [enabled by default]
In file included from /usr/include/gexiv2/gexiv2.h:13:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/FlickrPublishing.c:24:
/usr/include/gexiv2/gexiv2-metadata.h:137:11: note: expected ‘const
gchar **’ but argument is of type ‘gchar **’
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi: In function ‘string_chomp’:
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi:1044:2: warning: passing
argument 1 of ‘g_strchomp’ discards ‘const’ qualifier from pointer
target type [enabled by default]
In file included from /usr/include/glib-2.0/glib.h:81:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/YouTubePublishing.c:10:
/usr/include/glib-2.0/glib/gstrfuncs.h:156:23: note: expected ‘gchar
*’ but argument is of type ‘const gchar *’
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi: In function ‘string_strip’:
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi:1060:2: warning: passing
argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer
target type [enabled by default]
In file included from /usr/include/glib-2.0/glib.h:81:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/PiwigoPublishing.c:10:
/usr/include/glib-2.0/glib/gstrfuncs.h:154:23: note: expected ‘gchar
*’ but argument is of type ‘const gchar *’
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi: In function ‘string_strip’:
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi:1060:2: warning: passing
argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer
target type [enabled by default]
In file included from /usr/include/glib-2.0/glib.h:81:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/string.c:10:
/usr/include/glib-2.0/glib/gstrfuncs.h:154:23: note: expected ‘gchar
*’ but argument is of type ‘const gchar *’
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi: In function ‘string_delimit’:
/usr/local/share/vala-0.18/vapi/glib-2.0.vapi:1068:2: warning: passing
argument 1 of ‘g_strdelimit’ discards ‘const’ qualifier from pointer
target type [enabled by default]
In file included from /usr/include/glib-2.0/glib.h:81:0,
from
/home/fraser/src/shotwell/plugins/shotwell-publishing/string.c:10:
/usr/include/glib-2.0/glib/gstrfuncs.h:100:22: note: expected ‘gchar
*’ but argument is of type ‘const gchar *’
/home/fraser/src/shotwell/src/util/string.vala: In function
‘string_collated_compare’:
/home/fraser/src/shotwell/src/util/string.vala:224:11: warning:
assignment from incompatible pointer type [enabled by default]
/home/fraser/src/shotwell/src/util/string.vala: In function
‘string_precollated_compare’:
/home/fraser/src/shotwell/src/util/string.vala:229:9: warning:
assignment from incompatible pointer type [enabled by default]
/home/fraser/src/shotwell/src/util/string.vala:231:10: warning:
assignment from incompatible pointer type [enabled by default]
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala: In function
‘publishing_rest_support_argument_compare’:
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala:110:9:
warning: assignment from incompatible pointer type [enabled by
default]
RESTSupport.c: In function
‘_publishing_rest_support_argument_compare_gcompare_func’:
RESTSupport.c:1038:2: warning: passing argument 1 of
‘publishing_rest_support_argument_compare’ discards ‘const’ qualifier
from pointer target type [enabled by default]
RESTSupport.c:1002:6: note: expected ‘void *’ but argument is of type
‘gconstpointer’
RESTSupport.c:1038:2: warning: passing argument 2 of
‘publishing_rest_support_argument_compare’ discards ‘const’ qualifier
from pointer target type [enabled by default]
RESTSupport.c:1002:6: note: expected ‘void *’ but argument is of type
‘gconstpointer’
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala: In function
‘publishing_rest_support_argument_sort’:
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala:119:9:
warning: assignment from incompatible pointer type [enabled by
default]
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala: In function
‘publishing_rest_support_transaction_check_response’:
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala:202:10:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala:202:11:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala: In function
‘publishing_rest_support_transaction_get_response’:
/home/fraser/src/shotwell/plugins/common/RESTSupport.vala:336:9:
warning: assignment discards ‘const’ qualifier from pointer target
type [enabled by default]
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [.stamp] Error 1
make[2]: Leaving directory
`/home/fraser/src/shotwell/plugins/shotwell-publishing'
make[1]: *** [shotwell-publishing] Error 2
make[1]: Leaving directory `/home/fraser/src/shotwell/plugins'
make: *** [plugins] Error 2
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell