On Mon, 2008-04-28 at 09:31 +0200, Pantano Angelo wrote: > Hi Bill, i've installed all krb5 packages but my libmapi make still fails > here: > > > Generating libmapi/proto.h > Compiling libmapi/IProfAdmin.c with -fPIC > In file included from /usr/local/samba/include/credentials.h:132, > from libmapi/IProfAdmin.c:23: > /usr/local/samba/include/credentials/proto.h:410: error: expected ‘=’, ‘,’, > ‘;’, ‘asm’ or ‘__attribute__’ before ‘principal_from_credentials’ > make: *** [libmapi/IProfAdmin.po] Error 1 > > does anyone have some hints?
Hi Angelo,
Below are different options you have to fix this issue:
1. Install libgssapi-devel and krb5-devel, krb5-libs
2. Use the latest openchange trunk revision rather than the 0.7 release.
The samba4 version we use in trunk gets ride of this limitation. (make
samba4 && ./autogen.sh && ./configure --prefix=/usr/local/samba && make
&& sudo make install && sudo ldconfig).
3. There are probably .deb packages (while not most up to date, would be
enough I guess) available at the following location:
* http://samba.org/~jelmer/debian/
* http://samba.org/~jelmer/debian/experimental/
Jelmer, can you confirm? I think it would also be worthwhile to update
libmapi page with links where people can find .deb packages and possibly
add rpm ones as well. I'll just need to gather some URLs.
4. More radical, but also working: remove problematic references from
samba4 headers - This won't impact your samba4 installation and make
openchange compile fine.
Cheers,
Julien.
> regards
> Pantano Angelo
> ________________________________________
> From: Edmunds, Bill [EMAIL PROTECTED]
> Sent: Friday, April 25, 2008 12:51 AM
> To: Pantano Angelo
> Subject: RE: [openchange][devel] IProfAdmin.c compile problem
>
> You probably also need to install the krb5-devel package by the sounds
> of it. Proto.h relies on definitions within. I assume you already have
> krb5-libs.
>
> Sorry, I'm not familiar with packages in Ubuntu.
>
> Bill
>
> -----Original Message-----
> From: Pantano Angelo [mailto:[EMAIL PROTECTED]
> Sent: 24 April 2008 15:42
> To: Edmunds, Bill
> Subject: RE: [openchange][devel] IProfAdmin.c compile problem
>
> True, I've installed gssapi and now I'm past that point and currently
> stuck here:
>
> Compiling libmapi/IProfAdmin.c with -fPIC In file included from
> /usr/local/samba/include/credentials.h:132,
> from libmapi/IProfAdmin.c:23:
> /usr/local/samba/include/credentials/proto.h:410: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'principal_from_credentials'
> make: *** [libmapi/IProfAdmin.po] Error 1
>
>
> should I have patched proto.h before compiling samba4?
>
> regards
>
> Pantano Angelo
>
> ________________________________________
> From: Edmunds, Bill [EMAIL PROTECTED]
> Sent: Thursday, April 24, 2008 2:59 PM
> To: Pantano Angelo
> Subject: RE: [openchange][devel] IProfAdmin.c compile problem
>
> GSSAPI isn't part of Samba. You will need to download and install it
> separately.
>
> Bill
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Pantano Angelo
> Sent: 24 April 2008 13:04
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Subject: Re: [openchange][devel] IProfAdmin.c compile problem
>
> no luck, it simply seems that gssapi module was not installed along with
> samba4
>
> it looks like i won't be able to compile it from source, I guess i'll
> try to migrate rpms with alien to deb packages and try to install them
>
> thanks anyway!
>
>
> Pantano Angelo
>
>
> ________________________________________
> From: Julien Kerihuel [EMAIL PROTECTED]
> Sent: Wednesday, April 23, 2008 6:41 PM
> To: Pantano Angelo
> Cc: [email protected]
> Subject: Re: [openchange][devel] IProfAdmin.c compile problem
>
> Hi Angelo,
>
> Sounds like the following explanations may be helpful:
>
> http://mailman.openchange.org/pipermail/devel/2008-April/000625.html
>
> Cheers,
> Julien.
>
> On Wed, 2008-04-23 at 18:23 +0200, Pantano Angelo wrote:
> > Hi folks, I'm trying to build libmapi 0.7 against evolution 2.22.1
> >
> > I'm running ubuntu hardy heron 8.04
> >
> > I successfully compiled samba4 and ./configure works, but when I run
> > "make" I get the following error when it tries to compile IProfAdmin.c
> >
> >
> > *****************
> > Compiling libmapi/IProfAdmin.c with -fPIC In file included from
> /usr/local/samba/include/credentials.h:131,
> > from libmapi/IProfAdmin.c:23:
> > /usr/local/samba/include/credentials/krb5.h:26:27: error:
> > gssapi/gssapi.h: No such file or directory
> > /usr/local/samba/include/credentials/krb5.h:27:18: error: krb5.h: No
> such file or directory In file included from
> /usr/local/samba/include/credentials.h:131,
> > from libmapi/IProfAdmin.c:23:
> > /usr/local/samba/include/credentials/krb5.h:32: error: expected
> specifier-qualifier-list before 'gss_cred_id_t'
> > In file included from /usr/local/samba/include/credentials.h:132,
> > from libmapi/IProfAdmin.c:23:
> > /usr/local/samba/include/credentials/proto.h:379: error: expected
> declaration specifiers or '...' before 'gss_cred_id_t'
> > /usr/local/samba/include/credentials/proto.h:410: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'principal_from_credentials'
> > make: *** [libmapi/IProfAdmin.po] Error 1
> > *****************
> >
> > am I missing something? I'd love to try openchange, my organization
> just switched to exchange 2007..
> >
> > Regards
> >
> >
> > Pantano Angelo
> >
> > GA VAS
> > [EMAIL PROTECTED]
> > 331/6820374
> >
> > _______________________________________________
> > devel mailing list
> > [email protected]
> > http://mailman.openchange.org/listinfo/devel
> --
> Julien Kerihuel
> [EMAIL PROTECTED]
> OpenChange Project Manager
>
> GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
--
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager
GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
