Re: [gamin] Building gamin on Solaris



On Sun, Apr 15, 2007 at 04:44:25PM +0700, Doug Scott wrote:
> Hi,
>    I needed to build gamin for xfce on Open Solaris (using Sun Studio). 
>  From this I have a some patches if anybody is interested.
> 
> Doug
> 
> A summary of the changes are -
> 
>     * configure.in: needs to test for -lsocket and -lnsl
>     * libgamin/gam_api.c and server/gam_channel.c: ported to use 
> getpeerucred
>        Also updated configure.in to test for ucred.h and getpeerucred in 
> libc.so
>     * server/gam_fs.c: Change to use /etc/mnttab on Solaris rather than 
> /etc/mtab
>        Also updated configure.in to test for sys/mnttab.h
>        Added gam_fs_set for ufs,zfs,vxfs filesystems if on Solaris
>     * server/gam_server.c: Change function call from 
> gam_poll_generic_init to gam_poll_basic_init
>     * libgamin/gamin_sym.version: needed to remove FAMDebugLevel and 
> FAMDebug as ld complained
>        that they did not exist.
>     * several configure related files: Solaris ld used -Mmapfile rather 
> than --version-script=mapfile

  Send them as an attachment to the list. In any way it's better to
keep them archived, even if they end up not being applied as is.

   thanks,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]