On Fri, Aug 16, 2013 at 07:06:41AM -0700, Albert Simenon wrote:

> Installed Vim7.3 without any problems on Solaris 9.
> 
> However when i try to install Vim7.4 on Solaris 9 i run into issues. With 
> default configure options i get an error on 
> 
> checking for sys/acl.h... (cached) yes
> [ ... ]
> checking --disable-acl argument... no
> checking for acl_get_file in -lposix1e... (cached) no
> checking for acl_get_file in -lacl... (cached) no
> checking for POSIX ACL support... no
> checking for acl_get in -lsec... (cached) yes
> checking for AIX ACL support... no
> [ ... ]
> os_unix.c: In function 'mch_get_acl':
> os_unix.c:2805:5: error: 'acl_t' undeclared (first use in this function)
> os_unix.c:2805:5: note: each undeclared identifier is reported only once for 
> each function it appears in
> os_unix.c:2805:12: error: 'aclent' undeclared (first use in this function)
> os_unix.c: In function 'mch_set_acl':
> os_unix.c:2875:29: error: 'acl_t' undeclared (first use in this function)
> os_unix.c:2875:36: error: expected expression before ')' token
> os_unix.c: In function 'mch_free_acl':
> os_unix.c:2899:15: error: 'acl_t' undeclared (first use in this function)
> os_unix.c:2899:22: error: expected expression before ')' token
> *** Error code 1
> make: Fatal error: Command failed for target `objects/os_unix.o'
> Current working directory /home/inhuur1/vim/vim74/src
> *** Error code 1
> make: Fatal error: Command failed for target `first'

This was introduced in 7.3.432.  The test does a very simple test for
whether the ACL functions are in libsec, but doesn't try compiling a more
thorough test that would also check that the types are defined.

What I don't understand, though, is why the link succeeds.  The function
acl_get() shouldn't be found in Solaris 9, as far as I can tell.  Perhaps
you built this workspace on S10 or S11 before, and that's why the value is
cached?  If that test properly fails, then it should revert to the older
UFS ACL functions on Solaris, which is probably fine, since that S9 box
won't have any ZFS or NFSv4 filesystems.

Danek

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui