Comment by: a1russell on Fri, 08 Oct 2010 00:46:11 +0000
Someone had flagged the samba4 package out of date. If someone wants the latest samba4 for some reason or another, I don't want to deny it to them. I'd be more apt to improve the samba4 PKGBUILD to work with anything else that would depend on it than to keep it coupled with openchange. Do you think this is wrong?
Comment by: ngoonee on Sun, 17 Oct 2010 22:52:30 +0000
Considering samba4 is alpha software (and the only desktop-facing reason I can think of for using it is for evo-mapi, see ubuntu repos for example) I wouldn't expect any other software to depend on it, nor people to use it directly. If that's the case though, then this package should depend on samba4-openchange.
Comment by: kiwisauce on Tue, 19 Oct 2010 09:16:26 +0000
It does not compile:
libmapi/mapidump.c: In function ‘mapidump_Recipients’:
libmapi/mapidump.c:216:3: warning: case value ‘0’ not in enumerated type ‘enum MAPITAGS’
libmapi/mapidump.c:219:3: warning: case value ‘1’ not in enumerated type ‘enum MAPITAGS’
libmapi/mapidump.c:222:3: warning: case value ‘2’ not in enumerated type ‘enum MAPITAGS’
Compiling libmapi/mapicode.c with -fPIC
Compiling libmapi/codepage_lcid.c with -fPIC
Compiling libmapi/mapi_nameid.c with -fPIC
Compiling libmapi/nspi.c with -fPIC
Compiling libmapi/simple_mapi.c with -fPIC
Compiling libmapi/freebusy.c with -fPIC
Compiling libmapi/x500.c with -fPIC
Compiling ndr_mapi.c with -fPIC
Compiling gen_ndr/ndr_exchange.c with -fPIC
Compiling gen_ndr/ndr_exchange_c.c with -fPIC
Compiling gen_ndr/ndr_property.c with -fPIC
Compiling libmapi/socket/interface.c with -fPIC
Compiling libmapi/socket/netif.c with -fPIC
Linking libmapi.so.0.10
/usr/bin/ld: cannot find -lldb
collect2: ld returned 1 exit status
make: *** [libmapi.so.0.10] Error 1
Aborting...
== ERROR: Makepkg was unable to build openchange.
== Restart building openchange ? [y/N]
== -----------------------------------
==
Comment by: a1russell on Wed, 20 Oct 2010 07:14:39 +0000
@kiwisauce Try it now and let me know if you have any problems. You'll have to upgrade samba4, as well.
Comment by: kiwisauce on Thu, 21 Oct 2010 10:26:17 +0000
I already have the same problem :(
Comment by: a1russell on Thu, 21 Oct 2010 14:21:50 +0000
@kiwisauce: I'm not sure what could be wrong. If you figure it out and have some improvements to make to the PKGBUILD, let me know. If you want, put in a pastebin the whole log for trying to install openchange and email it to me. Also include the output of ls -l /opt/samba4/lib/ .
First Submitted: Fri, 20 Aug 2010 16:19:47 +0000
openchange 0.10-2 : Library for MAPI connectivity with Microsoft Exchange. This package was SPECIFICALLY created to support evolution-mapi and may not work for any other purpose.
( Unsupported package: Potentially dangerous ! )
- samba4=4.0.0A13 (already installed)
- popt (already installed)
- libical (already installed)
- sqlite3 (already installed)
- file (already installed)
- boost (already installed)
- zlib (already installed)
- ccache (already installed)
- python2 (already installed)
- subversion (already installed)
- git (already installed)
- docbook-xsl (already installed)
- libxslt (already installed)
./autogen.sh: running aclocal
configure.ac:404: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:404: the top level
./autogen.sh: running autoheader
configure.ac:404: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:404: the top level
./autogen.sh: running autoconf
configure.ac:404: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:404: the top level
Now run ./configure and gmake
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for samba 4... /opt/samba4
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for string.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for strcasestr... yes
checking for comparison_fn_t... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether we are really using the Sun C compiler... no
checking whether we are really using the Intel C compiler... no
checking for perl... /usr/bin/perl
checking for pidl... /opt/samba4/bin/pidl
checking for python... /tmp/yaourt-tmp-root/aur-openchange/src/bin/python
checking for python-config... /tmp/yaourt-tmp-root/aur-openchange/src/bin/python-config
checking python library directory... ${prefix}/lib/python2.7/site-packages
checking for TALLOC... yes
checking for SAMBA... yes
checking for TDB... yes
checking for LDB... yes
checking samba/version.h usability... yes
checking samba/version.h presence... yes
checking for samba/version.h... yes
checking for pthread_mutex_init in -lpthread... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking C++ compiler availability... yes
checking for boost_thread-mt library... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking for SAMR... yes
checking for ICAL... yes
checking for poptFreeContext in -lpopt... yes
checking for smbtorture... /opt/samba4/bin/smbtorture
checking for magic_open in -lmagic... yes
checking for gzopen in -lz... yes
checking for SQLITE... yes
checking for doxygen... no
configure: WARNING: doxygen
checking for SUBUNIT... no
configure: creating ./config.status
config.status: creating config.mk
config.status: creating libmapi.pc
config.status: creating libmapiadmin.pc
config.status: creating libocpf.pc
config.status: creating mapiproxy/libmapiproxy.pc
config.status: creating mapiproxy/libmapiserver.pc
config.status: creating mapiproxy/libmapistore.pc
config.status: creating libmapi++.pc
config.status: creating Doxyfile
config.status: creating libmapi++/Doxyfile
config.status: creating libocpf/Doxyfile
config.status: creating libmapiadmin/Doxyfile
config.status: creating libmapi/Doxyfile
config.status: creating mapiproxy/Doxyfile
config.status: creating utils/mapitest/Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
===============================================================
OpenChange Configuration (Please review)
* Install:
- prefix: /opt/samba4
* OpenChange MAPI library: yes
Thread support: yes (pthread)
* OpenChange Libraries:
- libmapi++: yes
- libmapiadmin: yes
- libocpf: yes
* OpenChange Server:
- mapiproxy: yes
* OpenChange mapistore backends:
- sqlite3: yes
* OpenChange Tools:
- openchangeclient: yes
- mapiprofile: yes
- openchangepfadmin: yes
- exchange2mbox: yes
- exchange2ical: yes
- mapitest: yes
- openchangemapidump: yes
- schemaIDGUID: yes
* OpenChange Torture Suite: yes
* subunit format (mapitest): no
* OpenChange Documentation: no
* Coverage Tests: no
* OpenChange Bindings:
- Perl: no
- Python: no
- Qt4: no
===============================================================
Creating the gen_ndr directory
mkdir -p gen_ndr
Generating exchange.h
Compiling exchange.idl
exchange.idl:1258: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1365: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1431: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1457: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1722: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2121: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2131: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2216: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2232: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2336: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2342: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2385: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2774: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3267: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3387: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3814: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3815: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:4242: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3812: warning: [out] argument `size' not a pointer
exchange.idl:3813: warning: [out] argument `offset' not a pointer
Generating gen_ndr/ndr_exchange.h
Compiling exchange.idl
exchange.idl:1258: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1365: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1431: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1457: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1722: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2121: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2131: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2216: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2232: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2336: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2342: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2385: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2774: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3267: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3387: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3814: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3815: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:4242: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3812: warning: [out] argument `size' not a pointer
exchange.idl:3813: warning: [out] argument `offset' not a pointer
Generating property.h
Compiling property.idl
Generating gen_ndr/ndr_property.h
Compiling property.idl
./script/mkversion.sh: 'libmapi/version.h' created for OpenChange libmapi("0.10 (Nomad)")
Generating gen_ndr/ndr_exchange_c.h
Compiling exchange.idl
exchange.idl:1258: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1365: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1431: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1457: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:1722: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2121: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2131: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2216: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2232: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2336: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2342: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2385: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:2774: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3267: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3387: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3814: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3815: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:4242: warning: subcontext() is deprecated. Use represent_as() or transmit_as() instead
exchange.idl:3812: warning: [out] argument `size' not a pointer
exchange.idl:3813: warning: [out] argument `offset' not a pointer
exchange.idl:3812: error: EcDoRpc: [out] argument 'size' is not a pointer or array, skip client functions
Compiling libmapi/emsmdb.c with -fPIC
Compiling libmapi/IABContainer.c with -fPIC
Compiling libmapi/IProfAdmin.c with -fPIC
Compiling libmapi/IMAPIContainer.c with -fPIC
Compiling libmapi/IMAPIFolder.c with -fPIC
Compiling libmapi/IMAPIProp.c with -fPIC
Compiling libmapi/IMAPISession.c with -fPIC
Compiling libmapi/IMAPISupport.c with -fPIC
Compiling libmapi/IStream.c with -fPIC
Compiling libmapi/IMAPITable.c with -fPIC
Compiling libmapi/IMessage.c with -fPIC
Compiling libmapi/IMsgStore.c with -fPIC
Compiling libmapi/IStoreFolder.c with -fPIC
Compiling libmapi/IUnknown.c with -fPIC
Compiling libmapi/IMSProvider.c with -fPIC
Compiling libmapi/IXPLogon.c with -fPIC
Compiling libmapi/FXICS.c with -fPIC
Compiling libmapi/utils.c with -fPIC
Compiling libmapi/property.c with -fPIC
Compiling libmapi/cdo_mapi.c with -fPIC
Compiling libmapi/lzfu.c with -fPIC
Compiling libmapi/mapi_object.c with -fPIC
Compiling libmapi/mapi_id_array.c with -fPIC
Compiling libmapi/mapitags.c with -fPIC
Compiling libmapi/mapidump.c with -fPIC
libmapi/mapidump.c: In function ‘mapidump_Recipients’:
libmapi/mapidump.c:216:3: warning: case value ‘0’ not in enumerated type ‘enum MAPITAGS’
libmapi/mapidump.c:219:3: warning: case value ‘1’ not in enumerated type ‘enum MAPITAGS’
libmapi/mapidump.c:222:3: warning: case value ‘2’ not in enumerated type ‘enum MAPITAGS’
Compiling libmapi/mapicode.c with -fPIC
Compiling libmapi/codepage_lcid.c with -fPIC
Compiling libmapi/mapi_nameid.c with -fPIC
Compiling libmapi/nspi.c with -fPIC
Compiling libmapi/simple_mapi.c with -fPIC
Compiling libmapi/freebusy.c with -fPIC
Compiling libmapi/x500.c with -fPIC
Compiling ndr_mapi.c with -fPIC
Compiling gen_ndr/ndr_exchange.c with -fPIC
Compiling gen_ndr/ndr_exchange_c.c with -fPIC
Compiling gen_ndr/ndr_property.c with -fPIC
Compiling libmapi/socket/interface.c with -fPIC
Compiling libmapi/socket/netif.c with -fPIC
Linking libmapi.so.0.10
/usr/bin/ld: cannot find -lldb
collect2: ld returned 1 exit status
make: *** [libmapi.so.0.10] Error 1
openchange