All of lore.kernel.org
 help / color / mirror / Atom feed
* sasl plugin compilation failure
@ 2006-08-23 14:48 Guillaume Rousse
  2006-08-24  2:27 ` Ian Kent
  2007-05-03 21:46 ` Jeff Moyer
  0 siblings, 2 replies; 11+ messages in thread
From: Guillaume Rousse @ 2006-08-23 14:48 UTC (permalink / raw)
  To: autofs

gcc -shared -Xlinker -rpath -Xlinker /usr/lib64/autofs -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DDONTSTRIP -D_REENTRANT
-D_REENTRANT -I../include -I../lib -fPIC -D_GNU_SOURCE
-DAUTOFS_LIB_DIR=\"/usr/lib64/autofs\" -DAUTOFS_MAP_DIR=\"/etc/autofs\"
-o mount_nfs.so \
        mount_nfs.c replicated.o ../lib/autofs.a -lnsl
In file included from cyrus-sasl.c:59:
../include/lookup_ldap.h:41: error: expected specifier-qualifier-list
before 'krb5_principal'

I had to disable sasl explicitely. I'm using gcc 4.1.1.
-- 
Guillaume Rousse
Projet Estime, INRIA
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex - France

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2006-08-23 14:48 sasl plugin compilation failure Guillaume Rousse
@ 2006-08-24  2:27 ` Ian Kent
  2006-08-24  6:44   ` Guillaume Rousse
  2007-05-03 21:46 ` Jeff Moyer
  1 sibling, 1 reply; 11+ messages in thread
From: Ian Kent @ 2006-08-24  2:27 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs

On Wed, 23 Aug 2006, Guillaume Rousse wrote:

> gcc -shared -Xlinker -rpath -Xlinker /usr/lib64/autofs -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DDONTSTRIP -D_REENTRANT
> -D_REENTRANT -I../include -I../lib -fPIC -D_GNU_SOURCE
> -DAUTOFS_LIB_DIR=\"/usr/lib64/autofs\" -DAUTOFS_MAP_DIR=\"/etc/autofs\"
> -o mount_nfs.so \
>         mount_nfs.c replicated.o ../lib/autofs.a -lnsl
> In file included from cyrus-sasl.c:59:
> ../include/lookup_ldap.h:41: error: expected specifier-qualifier-list
> before 'krb5_principal'
> 
> I had to disable sasl explicitely. I'm using gcc 4.1.1.

What version and what patches?

Ian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2006-08-24  2:27 ` Ian Kent
@ 2006-08-24  6:44   ` Guillaume Rousse
  2007-05-03 21:32     ` Mike Marion
  0 siblings, 1 reply; 11+ messages in thread
From: Guillaume Rousse @ 2006-08-24  6:44 UTC (permalink / raw)
  Cc: autofs

Ian Kent a écrit :
> On Wed, 23 Aug 2006, Guillaume Rousse wrote:
> 
>> gcc -shared -Xlinker -rpath -Xlinker /usr/lib64/autofs -O2 -g -pipe
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DDONTSTRIP -D_REENTRANT
>> -D_REENTRANT -I../include -I../lib -fPIC -D_GNU_SOURCE
>> -DAUTOFS_LIB_DIR=\"/usr/lib64/autofs\" -DAUTOFS_MAP_DIR=\"/etc/autofs\"
>> -o mount_nfs.so \
>>         mount_nfs.c replicated.o ../lib/autofs.a -lnsl
>> In file included from cyrus-sasl.c:59:
>> ../include/lookup_ldap.h:41: error: expected specifier-qualifier-list
>> before 'krb5_principal'
>>
>> I had to disable sasl explicitely. I'm using gcc 4.1.1.
> 
> What version and what patches?
5.0.1, with all patches applied until autofs-5.0.1-rc1-shutdown-races.patch.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2006-08-24  6:44   ` Guillaume Rousse
@ 2007-05-03 21:32     ` Mike Marion
  0 siblings, 0 replies; 11+ messages in thread
From: Mike Marion @ 2007-05-03 21:32 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs

On Thu, Aug 24, 2006 at 08:44:24AM +0200, Guillaume Rousse wrote:

> >> In file included from cyrus-sasl.c:59:
> >> ../include/lookup_ldap.h:41: error: expected specifier-qualifier-list
> >> before 'krb5_principal'
> >>
> >> I had to disable sasl explicitely. I'm using gcc 4.1.1.
> > 
> > What version and what patches?
> 5.0.1, with all patches applied until autofs-5.0.1-rc1-shutdown-races.patch.

I've run into the same thing on sled10.  Did you figure out a fix for
this?

-- 
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
Sideshow Bob: "I'll be back.  You can't keep the Democrats out of the white 
house forever, and when they get in, I'm back on the street... with all my 
criminal buddies!  Aaah ha ha ha!" ==> Simpsons.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2006-08-23 14:48 sasl plugin compilation failure Guillaume Rousse
  2006-08-24  2:27 ` Ian Kent
@ 2007-05-03 21:46 ` Jeff Moyer
  2007-05-04 21:09   ` Mike Marion
  1 sibling, 1 reply; 11+ messages in thread
From: Jeff Moyer @ 2007-05-03 21:46 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: autofs

==> On Wed, 23 Aug 2006 16:48:34 +0200, Guillaume Rousse <Guillaume.Rousse@inria.fr> said:

Guillaume> gcc -shared -Xlinker -rpath -Xlinker /usr/lib64/autofs -O2
Guillaume> -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -DDONTSTRIP
Guillaume> -D_REENTRANT -D_REENTRANT -I../include -I../lib -fPIC
Guillaume> -D_GNU_SOURCE -DAUTOFS_LIB_DIR=\"/usr/lib64/autofs\"
Guillaume> -DAUTOFS_MAP_DIR=\"/etc/autofs\" -o mount_nfs.so \
Guillaume> mount_nfs.c replicated.o ../lib/autofs.a -lnsl In file
Guillaume> included from cyrus-sasl.c:59: ../include/lookup_ldap.h:41:
Guillaume> error: expected specifier-qualifier-list before
Guillaume> 'krb5_principal'

Guillaume> I had to disable sasl explicitely. I'm using gcc 4.1.1.  --
Guillaume> Guillaume Rousse Projet Estime, INRIA Domaine de Voluceau
Guillaume> Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France

Do you have krb5 development libraries installed?

-Jeff

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-03 21:46 ` Jeff Moyer
@ 2007-05-04 21:09   ` Mike Marion
  2007-05-04 21:19     ` Jeff Moyer
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Marion @ 2007-05-04 21:09 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs

On Thu, May 03, 2007 at 05:46:18PM -0400, Jeff Moyer wrote:

> Guillaume> I had to disable sasl explicitely. I'm using gcc 4.1.1.  --
> Guillaume> Guillaume Rousse Projet Estime, INRIA Domaine de Voluceau
> Guillaume> Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France
> 
> Do you have krb5 development libraries installed?

I know I do... SLED10 install.. all the krb5* rpms are installed (64 and
32bit including -devel*) and all the openssl ones too.  

I was able to disable sasl for now too, which is ok for the short term
because we'd like to use sasl eventually.


-- 
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
There was once a young man who, in his youth, professed his desire
become a great writer. When asked to define "great" he said, "I want to 
write stuff that the whole world will read, stuff that people will react 
to on a truly emotional level, stuff that will make them scream, cry, howl
in pain and anger!" == He now works for Microsoft, writing error messages.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-04 21:09   ` Mike Marion
@ 2007-05-04 21:19     ` Jeff Moyer
  2007-05-05  0:16       ` Mike Marion
  0 siblings, 1 reply; 11+ messages in thread
From: Jeff Moyer @ 2007-05-04 21:19 UTC (permalink / raw)
  To: Mike Marion; +Cc: autofs

==> On Fri, 4 May 2007 14:09:22 -0700, Mike Marion <mmarion@qualcomm.com> said:

Mike> On Thu, May 03, 2007 at 05:46:18PM -0400, Jeff Moyer wrote:
Mike> > Guillaume> I had to disable sasl explicitely. I'm using gcc 4.1.1.  --
Mike> > Guillaume> Guillaume Rousse Projet Estime, INRIA Domaine de Voluceau
Mike> > Guillaume> Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France
Mike> > 
Mike> > Do you have krb5 development libraries installed?

Mike> I know I do... SLED10 install.. all the krb5* rpms are installed (64 and
Mike> 32bit including -devel*) and all the openssl ones too.  

Mike> I was able to disable sasl for now too, which is ok for the short term
Mike> because we'd like to use sasl eventually.

Hmm, can you add a:
#include <krb5.h>

to include/lookup_ldap.h ?

-Jeff

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-04 21:19     ` Jeff Moyer
@ 2007-05-05  0:16       ` Mike Marion
  2007-05-07 12:25         ` jmoyer
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Marion @ 2007-05-05  0:16 UTC (permalink / raw)
  To: Jeff Moyer; +Cc: autofs

On Fri, May 04, 2007 at 05:19:26PM -0400, Jeff Moyer wrote:

> Hmm, can you add a:
> #include <krb5.h>
> 
> to include/lookup_ldap.h ?

Yep.. that did it.   Compiles and links against libsasl2.so now.

-- 
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
SCCS, the source motel!  Programs check in and never check out!  - Ken
Thompson

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-07 12:25         ` jmoyer
@ 2007-05-07 12:23           ` Ian Kent
  2007-05-08  5:47           ` Mike Marion
  1 sibling, 0 replies; 11+ messages in thread
From: Ian Kent @ 2007-05-07 12:23 UTC (permalink / raw)
  To: jmoyer; +Cc: autofs, Mike Marion

On Mon, 2007-05-07 at 08:25 -0400, jmoyer@redhat.com wrote:
> ==> Regarding Re: [autofs] sasl plugin compilation failure; Mike Marion <mmarion@qualcomm.com> adds:
> 
> mmarion> On Fri, May 04, 2007 at 05:19:26PM -0400, Jeff Moyer wrote:
> >> Hmm, can you add a: #include <krb5.h>
> >> 
> >> to include/lookup_ldap.h ?
> 
> mmarion> Yep.. that did it.  Compiles and links against libsasl2.so now.
> 
> Ian, it seems we need this patch.  I have no idea how things build without
> it!  Additionally, we should add some configure magic to check for the krb5
> development libraries.

Strange.
I'll get onto it.

Ian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-05  0:16       ` Mike Marion
@ 2007-05-07 12:25         ` jmoyer
  2007-05-07 12:23           ` Ian Kent
  2007-05-08  5:47           ` Mike Marion
  0 siblings, 2 replies; 11+ messages in thread
From: jmoyer @ 2007-05-07 12:25 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs, Mike Marion

==> Regarding Re: [autofs] sasl plugin compilation failure; Mike Marion <mmarion@qualcomm.com> adds:

mmarion> On Fri, May 04, 2007 at 05:19:26PM -0400, Jeff Moyer wrote:
>> Hmm, can you add a: #include <krb5.h>
>> 
>> to include/lookup_ldap.h ?

mmarion> Yep.. that did it.  Compiles and links against libsasl2.so now.

Ian, it seems we need this patch.  I have no idea how things build without
it!  Additionally, we should add some configure magic to check for the krb5
development libraries.

-Jeff

diff --git a/include/lookup_ldap.h b/include/lookup_ldap.h
index d33bda9..571c8fe 100644
--- a/include/lookup_ldap.h
+++ b/include/lookup_ldap.h
@@ -5,6 +5,7 @@
 #include <openssl/ssl.h>
 #include <openssl/evp.h>
 #include <openssl/err.h>
+#include <krb5.h>
 #include <sasl/sasl.h>
 #include <libxml/tree.h>
 #endif

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: sasl plugin compilation failure
  2007-05-07 12:25         ` jmoyer
  2007-05-07 12:23           ` Ian Kent
@ 2007-05-08  5:47           ` Mike Marion
  1 sibling, 0 replies; 11+ messages in thread
From: Mike Marion @ 2007-05-08  5:47 UTC (permalink / raw)
  To: jmoyer; +Cc: autofs, Ian Kent

On Mon, May 07, 2007 at 08:25:36AM -0400, jmoyer@redhat.com wrote:

> Ian, it seems we need this patch.  I have no idea how things build without
> it!  Additionally, we should add some configure magic to check for the krb5
> development libraries.

The builds on our sles9-sp3 hosts all worked fine... they appeared to
not even bother trying sasl.  I'm guessing that's what's happening for
most people, it's not seeing something and just not even trying sasl.  

The builds that failed for me were on sles/sled10 vs sles9-sp3.

-- 
Mike Marion-Unix SysAdmin/Staff Engineer-http://www.qualcomm.com
Ralph: "Oh yes, Larry Benson... the x1000.  Worked out better then you dreamed, 
didn't they?" 
Larry: "Actually there was a little bit of a problem."
Ralph: "Then it's with your software!" -- Small Soldiers.. sounds like most
Chip and OS companies though. :)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-05-08  5:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 14:48 sasl plugin compilation failure Guillaume Rousse
2006-08-24  2:27 ` Ian Kent
2006-08-24  6:44   ` Guillaume Rousse
2007-05-03 21:32     ` Mike Marion
2007-05-03 21:46 ` Jeff Moyer
2007-05-04 21:09   ` Mike Marion
2007-05-04 21:19     ` Jeff Moyer
2007-05-05  0:16       ` Mike Marion
2007-05-07 12:25         ` jmoyer
2007-05-07 12:23           ` Ian Kent
2007-05-08  5:47           ` Mike Marion

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.