You are not logged in.

#1 2014-11-22 18:07:41

alien333
Member
Registered: 2014-11-22
Posts: 3

Error installing openchange-server

I am trying to install the openchange server package from the aur: https://aur.archlinux.org/packages/openchange-server/
but when creating the package I am getting the following error:

Linking mapiproxy/libmapiproxy.so.2.2
mapiproxy/libmapiproxy/backends/openchangedb_ldb.po: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:785: recipe for target 'mapiproxy/libmapiproxy.so.2.2' failed 
make: *** [mapiproxy/libmapiproxy.so.2.2] Error 1
==> ERROR: a failure occurred in build().
    Aborting... 

Any help would be appreciated

Offline

#2 2014-11-22 19:02:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error installing openchange-server

==> Starting build()...
./autogen.sh: running aclocal
./autogen.sh: running autoheader
./autogen.sh: running autoconf
Now run ./configure and gmake
configure: WARNING: unrecognized options: --with-datadir
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/karol/apps/openchange-server/src/openchange-2.2-NANOPROBE/missing: Unknown `--is-lightweight' option
Try `/home/karol/apps/openchange-server/src/openchange-2.2-NANOPROBE/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for mysql_config... no
configure: WARNING: No version of mysql_config was found!
configure: error: Please install libmysqlclient-dev
==> ERROR: A failure occurred in build().
    Aborting...

After I've installed libmariadbclient I get the same error as you do. https://aur.archlinux.org/packages/openchange/ failed to build in th same way. Both openchangedb_ldb.po files are recognized as

$ file /home/karol/apps/openchange/src/openchange-2.2-NANOPROBE/mapiproxy/libmapiproxy/backends/openchangedb_ldb.po
/home/karol/apps/openchange/src/openchange-2.2-NANOPROBE/mapiproxy/libmapiproxy/backends/openchangedb_ldb.po: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

I'm on a 32-bit system.


Have you read https://wiki.archlinux.org/index.php/OpenChange_Server ?
I've just tried installing the openchange packgaes from the AUR, I'm not interested in setting all this up.

Offline

#3 2014-11-23 12:03:02

alien333
Member
Registered: 2014-11-22
Posts: 3

Re: Error installing openchange-server

Yes, I was following that tutorial but did not get past https://wiki.archlinux.org/index.php/Op … erequsites
because of the above error.
This morning the tutorial and package got updated from 2.2-1 to 2.2-2 by the maintainer.
Now the openchange package is required for openchange-server.
The openchange package however is version 2.2-1 and still throws the above error.
I think it needs to be updated with the 2.2-2(or higher) source.

Offline

#4 2014-11-24 01:52:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error installing openchange-server

Post the error on the AUR page of the package with a link to this thread.

Offline

#5 2014-11-26 07:33:53

DJ_L
Member
Registered: 2014-03-22
Posts: 10

Re: Error installing openchange-server

Not sure if you had seen the comment on the package page or not. The tutorial update in the wiki is complete. The OpenChange package is not complete as is. You'll need to use the openchange-server package if you intend to build the server for now (the openchange package is still fine for the libs if you only need EDS (but broken on i686 as above)). I've got openchange-server package at 2.2-3 right now, but I'm not sure if the proposed fix is enough. I don't have i686 or arm handy to test build changes. I'll need somebody on i686 to test the build by editing the PKGBUILD and just before make, add 'rm mapiproxy/libmapi{proxy,store}/backends/*.po'. That will fix the error above, but there may be another issue (Debian bug mentioned -fPIC on all archs, but not sure if that was Debian specific). If somebody can test i686 with the above change (using the openchange-server package), that would be really helpful.

Offline

#6 2014-11-26 23:51:11

DJ_L
Member
Registered: 2014-03-22
Posts: 10

Re: Error installing openchange-server

Okay, did i686 install in VirtualBox. Fixed in openchange-server-2.2-4.

Offline

#7 2014-11-27 11:59:40

alien333
Member
Registered: 2014-11-22
Posts: 3

Re: Error installing openchange-server

First of all thanks for your response
The last couple of days I haven't had much time to work on this project.
I was able to install the package when i added the two additional "rm mapiproxy/..." lines you also put in 2.2-4
When I have time this weekend I will continue with the tutorial.
I will let you know if I succeed or something goes wrong.

Offline

Board footer

Powered by FluxBB