Re: [Shotwell] Building shotwell on EL7



But you should not use it for publishing because all versions prior 0.23.0 do not verify SSL certificates!

For anyone who has the same question and finds this thread, the
resolution is this:  the best version to use on SL/CentOS/RHEL 7 (if
you want something later than their default 0.14) appears to be 0.22.1
 .  At that point the vala syntax errors have been fixed, and starting
with version 0.23 there are new dependencies that are not easy to
satisfy on SL7.

I also installed vala 0.32.1 to do the compile.

Thanks for your help Jens and Andreas!

Boris

On Mon, Jul 18, 2016 at 7:08 AM, Jens Georg <mail jensge org> wrote:

Hi,

this was a bug in vala which caused this to work despite being
wrong.


https://git.gnome.org/browse/shotwell/commit/?id=8a18a1db584ecb0312583b6a219d5ba31187d963

fixes this

Thanks for the suggestion!   Can you point me to a version of vala
that ought to work?

WIth Vala 0.32.1 I get a different error, but shotwell still doesn't
compile:

[...cut...]

valac --target-glib=2.30.0 -g --enable-checking --fatal-warnings
--save-temps --compile --enable-deprecated \

--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-0.8
--pkg=gtk+-3.0 --pkg=libsoup-2.4 --pkg=libxml-2.0
--pkg=webkitgtk-3.0
--pkg=gexiv2 --pkg=rest-0.7 --pkg=gee-0.8 --pkg=json-glib-1.0  \

-X -I../.. -X -fPIC \

-X -D_VERSION='"0.15.1"' -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/RESTSUPPORT.VALA:466.5-466.22: ERROR: destructor and
parent

symbol name do not match

~RESTXmlDocument() {

^^^^^^^^^^^^^^^^^^

Compilation failed: 1 error(s), 0 warning(s)

Boris

On Sun, Jul 17, 2016 at 4:46 PM, Andreas Brauchli
<a brauchli elementarea net> wrote:

Hi Boris

This is just a guess, but it looks like your valac version is rather
old too (26.1 from a quick search of what's shipped on centos 7),
you could try updating vala first and then try compiling shotwell
again with the more recent valac.

Cheers
Andreas

On Jul 17, 2016 21:15, "Boris Goldowsky" <boris alum mit edu> wrote:

I'm having trouble building any recent version of Shotwell on
Scientific Linux 7 (which, for these purposes, is the same as
Redhat Enterprise or CentOS 7).  Shotwell 0.14.1 ships with this
OS, but I'd like to use a more recent version (the main reason is
that my existing photo library was created with 0.15 and won't
load with an earlier version).

I've tried the 0.15, 0.18, 0.23, and latest from Git but had no
success with any of them.

If anyone has advice or is willing to help me get this to work,
I'd very much appreciate it.

For 0.15, here's the result of attempting to build:

./configure && make
Detected libGPhoto 2.5.x - using 2.5-aware code path.
Configured.  Type 'make' to build, 'make install' to install.
[many lines deleted]
valac --target-glib=2.30.0 -g --enable-checking --fatal-warnings
--save-temps --compile --enable-deprecated \
--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-0.8
--pkg=gtk+-3.0 --pkg=libsoup-2.4 --pkg=libxml-2.0
--pkg=webkitgtk-3.0 --pkg=gexiv2 --pkg=rest-0.7 --pkg=gee-0.8
--pkg=json-glib-1.0  \
-X -I../.. -X -fPIC \
-X -D_VERSION='"0.15.1"' -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
FacebookPublishing.vala:1496.25-1497.108: error: Too many
arguments for specified format
FlickrPublishing.vala:399.33-400.85: error: Too few arguments for
specified format
FlickrPublishing.vala:409.29-410.81 [1]: error: Too few arguments
for
specified format
Compilation failed: 3 error(s), 0 warning(s)

I tried common-sense fixes for the vala errors, but it still
didn't work.

Any ideas?

Thanks -

Boris

_______________________________________________
shotwell-list mailing list
shotwell-list gnome org
https://mail.gnome.org/mailman/listinfo/shotwell-list
 _______________________________________________
shotwell-list mailing list
shotwell-list gnome org
https://mail.gnome.org/mailman/listinfo/shotwell-list

 _______________________________________________
shotwell-list mailing list
shotwell-list gnome org
https://mail.gnome.org/mailman/listinfo/shotwell-list



Links:
------
[1] tel:409.29-410.81


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]