You are not logged in.

#1 2015-07-21 11:56:06

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

evolution-mapi: unable to build 3.16.2-1

Trying to build current evolution-mapi from AUR:

(...)
Making all in libexchangemapi
make[3]: Entering directory '/tmp/yaourt-tmp-alex/aur-evolution-mapi/src/evolution-mapi-3.16.2/src/libexchangemapi'
  CC       camel-mapi-settings.lo
  CC       e-mapi-fast-transfer.lo
  CC       e-mapi-folder.lo
  CC       e-mapi-connection.lo
  CC       e-mapi-utils.lo
  CC       e-mapi-cal-utils.lo
  CC       e-mapi-book-utils.lo
  CC       e-mapi-debug.lo
e-mapi-connection.c: In function 'foreach_tablerow':
e-mapi-connection.c:1526:50: error: incompatible type for argument 4 of 'QueryRows'
   ms = QueryRows (obj_table, count, TBL_ADVANCE, &SRowSet);
                                                  ^
In file included from e-mapi-connection.h:32:0,
                 from e-mapi-connection.c:35:
/usr/include/libmapi/libmapi.h:391:18: note: expected 'enum ForwardRead' but argument is of type 'struct SRowSet *'
 enum MAPISTATUS  QueryRows(mapi_object_t *, uint16_t, enum QueryRowsFlags, enum ForwardRead, struct SRowSet *);
                  ^
e-mapi-connection.c:1526:8: error: too few arguments to function 'QueryRows'
   ms = QueryRows (obj_table, count, TBL_ADVANCE, &SRowSet);
        ^
In file included from e-mapi-connection.h:32:0,
                 from e-mapi-connection.c:35:
/usr/include/libmapi/libmapi.h:391:18: note: declared here
 enum MAPISTATUS  QueryRows(mapi_object_t *, uint16_t, enum QueryRowsFlags, enum ForwardRead, struct SRowSet *);
                  ^
  CC       e-mapi-cal-recur-utils.lo
  CC       e-mapi-mail-utils.lo
  CC       e-mapi-cal-tz-utils.lo
  CC       e-mapi-operation-queue.lo
Makefile:587: recipe for target 'e-mapi-connection.lo' failed
make[3]: *** [e-mapi-connection.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/yaourt-tmp-alex/aur-evolution-mapi/src/evolution-mapi-3.16.2/src/libexchangemapi'
Makefile:411: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-alex/aur-evolution-mapi/src/evolution-mapi-3.16.2/src'
Makefile:537: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-alex/aur-evolution-mapi/src/evolution-mapi-3.16.2'
Makefile:447: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions?

Dependencies (openchange, etc.) were built successfully.


Thanks

lynix

Offline

#2 2015-07-21 12:20:34

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: evolution-mapi: unable to build 3.16.2-1

Use the -git package.

Offline

#3 2015-07-21 12:37:51

corossig
Member
Registered: 2010-10-02
Posts: 6

Re: evolution-mapi: unable to build 3.16.2-1

Version 3.16.3 fixes the API change.
I update the aur PKGBUILD, it should compile.

Offline

#4 2015-07-21 12:57:44

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: evolution-mapi: unable to build 3.16.2-1

Awebb wrote:

Use the -git package.

Tried that, did not build either:

checking for EVOLUTION_DATA_SERVER... yes
checking for LIBEDATASERVER... yes
checking for LIBEBACKEND... yes
checking for LIBECAL... yes
checking for LIBEDATACAL... yes
checking for LIBBOOK... yes
checking for LIBEDATABOOK... yes
checking for CAMEL... no
configure: error: Package requirements (camel-provider-1.2 >= 2.31.6) were not met:

No package 'camel-provider-1.2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CAMEL_CFLAGS
and CAMEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Offline

#5 2015-07-21 12:58:17

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: evolution-mapi: unable to build 3.16.2-1

corossig wrote:

Version 3.16.3 fixes the API change.
I update the aur PKGBUILD, it should compile.

Thanks, I'll try it smile

Offline

#6 2015-07-21 13:51:43

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: evolution-mapi: unable to build 3.16.2-1

Package builds now, thanks!

Unfortunately Evolution discards the newly create MAPI account each time I complete the account wizard, strange...

Offline

Board footer

Powered by FluxBB