View previous topic :: View next topic |
Author |
Message |
humbletech99 Veteran


Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Thu Feb 02, 2006 8:59 am Post subject: [SOLVED] Samba won't emerge |
|
|
Hi,
I'm trying to set up active directory authentication so I've emerged openldap and mit-krb5, but now I'm trying to emerge samba with the USE="kerberos winbind ldap" in make.conf.
It compiles for some time, then gives:
Code: | Compiling torture/rpctorture.c
torture/rpctorture.c:27: error: `global_myname' redeclared as different kind of symbol
include/proto.h:1019: error: previous declaration of `global_myname'
torture/rpctorture.c:57: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c:57: warning: its scope is only this definition or declaration, which is probably not what you want
torture/rpctorture.c: In function `rpcclient_connect':
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
torture/rpctorture.c:63: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:90: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `run_enums_test':
torture/rpctorture.c:96: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:134: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `run_ntlogin_test':
torture/rpctorture.c:140: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
torture/rpctorture.c: At top level:
torture/rpctorture.c:167: warning: `struct client_info' declared inside parameter list
torture/rpctorture.c: In function `main':
torture/rpctorture.c:233: error: storage size of `cli_info' isn't known
torture/rpctorture.c:377: error: `scope' undeclared (first use in this function)
torture/rpctorture.c:377: error: (Each undeclared identifier is reported only once
torture/rpctorture.c:377: error: for each function it appears in.)
torture/rpctorture.c:535: warning: passing arg 5 of `create_procs' from incompatible pointer type
torture/rpctorture.c:539: warning: passing arg 5 of `create_procs' from incompatible pointer type
make: *** [torture/rpctorture.o] Error 1
* rpctorture didn't build
running build
running build_py
running build_ext
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-fs_-_samba-3.0.14a-r2-7442.log"
access_wr: /etc/krb5.conf
-------------------------------------------------------------------------------- |
How do I fix this?
Last edited by humbletech99 on Thu Feb 02, 2006 5:41 pm; edited 1 time in total |
|
Back to top |
|
 |
crudh l33t


Joined: 12 May 2005 Posts: 696 Location: Sundbyberg, Sweden
|
Posted: Thu Feb 02, 2006 5:09 pm Post subject: |
|
|
Something is wrong in the ebuild. It tries to access a file outside the sandbox that the build is done in. You should file a bug report.
You could also try disabling the sandbox, by placing:
Code: | FEATURES="-sandbox" |
in /etc/make.conf and try to emerge it again. But you do this at your own risk since the sanbox function is there to protect the system from changes until it is made sure that the app is built ok and can be installed. |
|
Back to top |
|
 |
humbletech99 Veteran


Joined: 26 May 2005 Posts: 1229 Location: London
|
Posted: Thu Feb 02, 2006 5:40 pm Post subject: |
|
|
good ideas, however I believe that neither will help here.
The actual problem is the sandbox itself and this had been officially bug reported and fixed in the latest version.
Upgrading to the latest version has solved this for me and all is well now, I have emerged samba with kerberos!
(much better ideas than some I've heard though - 1 guy said to take the kerberos flag out - duh - I'm only doing it to connect to Active Directory!) |
|
Back to top |
|
 |
|