Am Mittwoch, den 30.04.2008, 12:40 +0200 schrieb Pantano Angelo:
> I tried point 2) because i already had all the libraries from point 1)
> 
> but no luck, it complains on the libmapi ./configure
> 
> 
> checking for SAMBA... configure: error: Package requirements (dcerpc ndr 
> samba-hostconfig) were not met:
> 
> No package 'samba-hostconfig' found
> 
> --prefix is correct, it's weird it finds dcerpc but not samba-hostconfig, 
> moreover i cant find any package named this way, I only have samba-config and 
> i know the compiler looked for samba-config some days ago, you changed it due 
> to a typo, so i edited the configure and renamed hostconfig to config and it 
> worked
> 
> after that the compiler complained again for a lot of *h samba files he didnt 
> find (i'm not pasting the error because there were at least 10 of them), 
> anyway i just copied them from the /usr/local/samba libraries where the 
> headers wanted them and it compiled succesfully.
What version of Samba are you compiling against? OpenChange trunk needs
a recent version of Samba from git.

Cheers,

Jelmer

> 
> 
> ________________________________________
> From: Jelmer Vernooij [EMAIL PROTECTED]
> Sent: Monday, April 28, 2008 12:16 PM
> To: [EMAIL PROTECTED]
> Cc: Pantano Angelo; [email protected]
> Subject: Re: [openchange][devel] IProfAdmin.c compile problem
> 
> Am Montag, den 28.04.2008, 12:02 +0200 schrieb Julien Kerihuel:
> > 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?
> > 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).
> I would recommend this option. Samba 4 and OpenChange have both come a
> long way since the 0.7 release.
> 
> > 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.
> Unfortunately these .debs are quite old. I'm working with bubbulle on
>   updating them and uploading to debian experimental, but that may take
>  a couple of weeks in total.
> 
> Cheers,
> 
> Jelmer
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to