[OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Schweiss, Chip
Is anyone aware of zlib and zlib-devel packages available anywhere for
OmniOS?

These are needed for building any Samba version 4.2.0 or greater.

Thanks!
-Chip
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Dan McDonald
Probably not useful now for you on LTS, but Nexenta's SMB2 is available for 
r151016 and later.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Peter Tribble
On Wed, Jan 20, 2016 at 6:40 PM, Schweiss, Chip  wrote:

> Is anyone aware of zlib and zlib-devel packages available anywhere for
> OmniOS?
>

Installed in OmniOS by default, and cannot be uninstalled.


> These are needed for building any Samba version 4.2.0 or greater.
>

We build samba (4.3.x) on OmniOS without any issues. We haven't done
anything
beyond install the basic build tools. What sort of error are you getting?

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Dan McDonald

> On Jan 20, 2016, at 1:40 PM, Schweiss, Chip  wrote:
> 
> Is anyone aware of zlib and zlib-devel packages available anywhere for OmniOS?

r151014(~)[0]% pkg list zlib
NAME (PUBLISHER)  VERSIONIFO
library/zlib  1.2.8-0.151014 i--
r151014(~)[0]% pkg contents zlib
PATH
usr/include
usr/include/zconf.h
usr/include/zlib.h
usr/lib/amd64
usr/lib/amd64/libz.a
usr/lib/amd64/libz.so
usr/lib/amd64/libz.so.1
usr/lib/amd64/libz.so.1.2.8
usr/lib/amd64/llib-lz.ln
usr/lib/amd64/pkgconfig
usr/lib/amd64/pkgconfig/zlib.pc
usr/lib/libz.a
usr/lib/libz.so
usr/lib/libz.so.1
usr/lib/libz.so.1.2.8
usr/lib/llib-lz.ln
usr/lib/pkgconfig
usr/lib/pkgconfig/zlib.pc
usr/share/man/man3
usr/share/man/man3/zlib.3
r151014(~)[0]% 

Is this sufficient?  You probably want the headers for maximum fun, though.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Schweiss, Chip
I ended up downloading and building zlib separately and got it to build.

The problem only occurs when selecting --with-ads during configure.  It
fails on checking gnutls, which needs zlib-devel.

My build will not join the domain, but that's out of the scope of this
list..

Thanks!
-Chip



On Wed, Jan 20, 2016 at 1:02 PM, Peter Tribble 
wrote:

> On Wed, Jan 20, 2016 at 6:40 PM, Schweiss, Chip 
> wrote:
>
>> Is anyone aware of zlib and zlib-devel packages available anywhere for
>> OmniOS?
>>
>
> Installed in OmniOS by default, and cannot be uninstalled.
>
>
>> These are needed for building any Samba version 4.2.0 or greater.
>>
>
> We build samba (4.3.x) on OmniOS without any issues. We haven't done
> anything
> beyond install the basic build tools. What sort of error are you getting?
>
> --
> -Peter Tribble
> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Schweiss, Chip
On Wed, Jan 20, 2016 at 2:03 PM, Dan McDonald  wrote:

> Probably not useful now for you on LTS, but Nexenta's SMB2 is available
> for r151016 and later.
>

My biggest challenge is I have to support multiple domains on one server.
That's forcing me to build from source because several paths get compiled
in and break things.

-Chip

>
> Dan
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Schweiss, Chip
I'll definitely be trying your build config.

Is that joined to an Active Directory domain?   If so I'm confused on how
that works with the '--without-ad-dc' flag.

Thanks!
-Chip



On Wed, Jan 20, 2016 at 2:29 PM, Michael Talbott  wrote:

> I have samba 4.2.3 working with all the bells and whistles (including
> winbind). Also I have netatalk working along side it ;)
>
> Hope this helps:
>
> Here's what I installed as prereqs before compiling them:
>
> pkg install \
>   library/security/openssl \
>   naming/ldap \
>   system/library/iconv/unicode \
>   system/library/dbus \
>   system/library/libdbus \
>   system/library/libdbus-glib \
>   developer/gnu-binutils \
>   developer/build/libtool \
>   developer/build/autoconf \
>   system/library/math/header-math \
>   /system/library/dbus \
>   /system/library/libdbus-glib \
>   /omniti/database/bdb \
>   /text/gnu-gettext \
>   /service/network/dns/mdns \
>   /developer/build/gnu-make \
>   /developer/build/automake \
>   /developer/build/libtool \
>   /developer/macro/gnu-m4 \
>   /developer/build/gnu-make \
>   /developer/gnu-binutils \
>   developer/build/autoconf \
>   developer/build/automake \
>   developer/lexer/flex \
>   developer/parser/bison \
>   developer/object-file \
>   developer/linker \
>   developer/library/lint \
>   developer/build/gnu-make \
>   library/idnkit \
>   library/idnkit/header-idnkit \
>   system/header \
>   system/library/math/header-math \
>   gcc44 \
>   gcc48
>
> pkg install /omniti/perl/dbd-mysql \
> /omniti/database/mysql-55/library
>
> pkg install libgcrypt
>
> And, this is what I use for building samba (I force 32 bit so winbind
> plays nicely with other 32 bit only tools like the "id" command):
>
> export ISALIST=i386
> CFLAGS=-m32 CXXFLAGS=-m32 CPPFLAGS=-m32 LDFLAGS=-m32 \
> ./configure \
>   --prefix=/usr/local \
>   --bindir=/usr/local/bin \
>   --sbindir=/usr/local/sbin \
>   --libdir=/usr/local/lib/ \
>   --mandir=/usr/local/man \
>   --infodir=/usr/local/info \
>   --sysconfdir=/etc/samba \
>   --with-configdir=/etc/samba \
>   --with-privatedir=/etc/samba/private \
>   --localstatedir=/var \
>   --sharedstatedir=/var \
>   --bundled-libraries=ALL \
>   --with-winbind \
>   --with-ads \
>   --with-ldap \
>   --with-pam \
>   --with-iconv \
>   --with-acl-support \
>   --with-syslog \
>   --with-aio-support \
>   --enable-fhs \
>   --without-ad-dc \
>
> --with-shared-modules=idmap_ad,vfs_zfsacl,vfs_audit,vfs_catia,vfs_full_audit,vfs_readahead,vfs_streams_xattr,time_audit,vfs_fruit
> \
>   --enable-gnutls
>
> gmake
> gmake install
>
> Good luck!
>
> Michael
>
>
> On Jan 20, 2016, at 11:48 AM, Schweiss, Chip  wrote:
>
> I ended up downloading and building zlib separately and got it to build.
>
> The problem only occurs when selecting --with-ads during configure.  It
> fails on checking gnutls, which needs zlib-devel.
>
> My build will not join the domain, but that's out of the scope of this
> list..
>
> Thanks!
> -Chip
>
>
>
> On Wed, Jan 20, 2016 at 1:02 PM, Peter Tribble 
> wrote:
>
>> On Wed, Jan 20, 2016 at 6:40 PM, Schweiss, Chip 
>> wrote:
>>
>>> Is anyone aware of zlib and zlib-devel packages available anywhere for
>>> OmniOS?
>>>
>>
>> Installed in OmniOS by default, and cannot be uninstalled.
>>
>>
>>> These are needed for building any Samba version 4.2.0 or greater.
>>>
>>
>> We build samba (4.3.x) on OmniOS without any issues. We haven't done
>> anything
>> beyond install the basic build tools. What sort of error are you getting?
>>
>> --
>> -Peter Tribble
>> http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
>>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Michael Talbott
I have samba 4.2.3 working with all the bells and whistles (including winbind). 
Also I have netatalk working along side it ;)

Hope this helps:

Here's what I installed as prereqs before compiling them:

pkg install \
  library/security/openssl \
  naming/ldap \
  system/library/iconv/unicode \
  system/library/dbus \
  system/library/libdbus \
  system/library/libdbus-glib \
  developer/gnu-binutils \
  developer/build/libtool \
  developer/build/autoconf \
  system/library/math/header-math \
  /system/library/dbus \
  /system/library/libdbus-glib \
  /omniti/database/bdb \
  /text/gnu-gettext \
  /service/network/dns/mdns \
  /developer/build/gnu-make \
  /developer/build/automake \
  /developer/build/libtool \
  /developer/macro/gnu-m4 \
  /developer/build/gnu-make \
  /developer/gnu-binutils \
  developer/build/autoconf \
  developer/build/automake \
  developer/lexer/flex \
  developer/parser/bison \
  developer/object-file \
  developer/linker \
  developer/library/lint \
  developer/build/gnu-make \
  library/idnkit \
  library/idnkit/header-idnkit \
  system/header \
  system/library/math/header-math \
  gcc44 \
  gcc48

pkg install /omniti/perl/dbd-mysql \
/omniti/database/mysql-55/library

pkg install libgcrypt

And, this is what I use for building samba (I force 32 bit so winbind plays 
nicely with other 32 bit only tools like the "id" command):

export ISALIST=i386
CFLAGS=-m32 CXXFLAGS=-m32 CPPFLAGS=-m32 LDFLAGS=-m32 \
./configure \
  --prefix=/usr/local \
  --bindir=/usr/local/bin \
  --sbindir=/usr/local/sbin \
  --libdir=/usr/local/lib/ \
  --mandir=/usr/local/man \
  --infodir=/usr/local/info \
  --sysconfdir=/etc/samba \
  --with-configdir=/etc/samba \
  --with-privatedir=/etc/samba/private \
  --localstatedir=/var \
  --sharedstatedir=/var \
  --bundled-libraries=ALL \
  --with-winbind \
  --with-ads \
  --with-ldap \
  --with-pam \
  --with-iconv \
  --with-acl-support \
  --with-syslog \
  --with-aio-support \
  --enable-fhs \
  --without-ad-dc \
  
--with-shared-modules=idmap_ad,vfs_zfsacl,vfs_audit,vfs_catia,vfs_full_audit,vfs_readahead,vfs_streams_xattr,time_audit,vfs_fruit
 \
  --enable-gnutls

gmake
gmake install

Good luck!

Michael


> On Jan 20, 2016, at 11:48 AM, Schweiss, Chip  wrote:
> 
> I ended up downloading and building zlib separately and got it to build. 
> 
> The problem only occurs when selecting --with-ads during configure.  It fails 
> on checking gnutls, which needs zlib-devel.   
> 
> My build will not join the domain, but that's out of the scope of this list.. 
>  
> 
> Thanks!
> -Chip
> 
> 
> 
> On Wed, Jan 20, 2016 at 1:02 PM, Peter Tribble  > wrote:
> On Wed, Jan 20, 2016 at 6:40 PM, Schweiss, Chip  > wrote:
> Is anyone aware of zlib and zlib-devel packages available anywhere for OmniOS?
> 
> Installed in OmniOS by default, and cannot be uninstalled.
>  
> These are needed for building any Samba version 4.2.0 or greater.
> 
> We build samba (4.3.x) on OmniOS without any issues. We haven't done anything
> beyond install the basic build tools. What sort of error are you getting?
> 
> -- 
> -Peter Tribble
> http://www.petertribble.co.uk/  - 
> http://ptribble.blogspot.com/ 
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Jacob Vosmaer
Dan, you mean to say that SMB2 is in bloody, right?

Cheers, Jacob

2016-01-20 21:03 GMT+01:00 Dan McDonald :

> Probably not useful now for you on LTS, but Nexenta's SMB2 is available
> for r151016 and later.
>
> Dan
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] zlib/zlib-devel packages

2016-01-20 Thread Dan McDonald

> On Jan 20, 2016, at 4:40 PM, Jacob Vosmaer  wrote:
> 
> Dan, you mean to say that SMB2 is in bloody, right?

Dammit!  That's TWICE I've flubbed that.

Yes, SMB2 is in bloody.  SMB-server-in-a-zone is in 016.  SMB2 was too late 
upstream for the 016 cutoff.

Sorry again, folks,
Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss