Quantcast

autoconf build system procedure needed

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

autoconf build system procedure needed

Samba - samba-technical mailing list
Hi Team,

  I have compiled samba-4.5.5 with waf.
  But, there were 93 shared libraries required by 'smbd'
  The size of the shared libraries occupy around 35 MB.

  Now, I cannot use 'waf' build system as it creates executables and shared
libraries with huge size.  I need to use the 'autoconf' build system in
order to reduce the size of the executable and the number of shared
libraries.

  My requirement is that I want a samba server only for "File Sharing" with
basic authentication using 'smbpasswd' (encrypted). Other features like
print sharing, AD domain controller, NT4 domain controller, local domain
master are not needed.

 I refer the below link and came to know about 'autoconf' build system to
be used in samba-4.5.5 to create small size executable and shared
libraries.

https://wiki.samba.org/index.php/BuildsystemUseAndWhy


  Kindly reply with the procedure to use 'autoconf' build and provide your
valuable feedback.


Thanks & Regards,

Jawath Muckdhar



--

be inspired ! be happy! be urself!

~ jawath ~
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: autoconf build system procedure needed

Samba - samba-technical mailing list
On Wed, 12 Apr 2017 17:30:35 +0530
Jawath Muckdhar via samba-technical <[hidden email]>
wrote:

> Hi Team,
>
>   I have compiled samba-4.5.5 with waf.
>   But, there were 93 shared libraries required by 'smbd'
>   The size of the shared libraries occupy around 35 MB.
>
>   Now, I cannot use 'waf' build system as it creates executables and
> shared libraries with huge size.  I need to use the 'autoconf' build
> system in order to reduce the size of the executable and the number
> of shared libraries.
>
>   My requirement is that I want a samba server only for "File
> Sharing" with basic authentication using 'smbpasswd' (encrypted).
> Other features like print sharing, AD domain controller, NT4 domain
> controller, local domain master are not needed.
>
>  I refer the below link and came to know about 'autoconf' build
> system to be used in samba-4.5.5 to create small size executable and
> shared libraries.
>
> https://wiki.samba.org/index.php/BuildsystemUseAndWhy
>
>
>   Kindly reply with the procedure to use 'autoconf' build and provide
> your valuable feedback.
>

The Autoconf build system was removed when 4.1.0 came out, so, as far as
I am aware, you can only build Samba using waf now.

Rowland


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: autoconf build system procedure needed

Samba - samba-technical mailing list
Thanks Rowland.

Hi Team,

I need to build samba with autoconf build system
could you please tell me which was the last version that supported autoconf
build .

Thanks & Regards,
Jawath Muckdhar
--

On Wed, Apr 12, 2017 at 6:41 PM, Rowland Penny <[hidden email]> wrote:

> On Wed, 12 Apr 2017 17:30:35 +0530
> Jawath Muckdhar via samba-technical <[hidden email]>
> wrote:
>
> > Hi Team,
> >
> >   I have compiled samba-4.5.5 with waf.
> >   But, there were 93 shared libraries required by 'smbd'
> >   The size of the shared libraries occupy around 35 MB.
> >
> >   Now, I cannot use 'waf' build system as it creates executables and
> > shared libraries with huge size.  I need to use the 'autoconf' build
> > system in order to reduce the size of the executable and the number
> > of shared libraries.
> >
> >   My requirement is that I want a samba server only for "File
> > Sharing" with basic authentication using 'smbpasswd' (encrypted).
> > Other features like print sharing, AD domain controller, NT4 domain
> > controller, local domain master are not needed.
> >
> >  I refer the below link and came to know about 'autoconf' build
> > system to be used in samba-4.5.5 to create small size executable and
> > shared libraries.
> >
> > https://wiki.samba.org/index.php/BuildsystemUseAndWhy
> >
> >
> >   Kindly reply with the procedure to use 'autoconf' build and provide
> > your valuable feedback.
> >
>
> The Autoconf build system was removed when 4.1.0 came out, so, as far as
> I am aware, you can only build Samba using waf now.
>
> Rowland
>
>


--

be inspired ! be happy! be urself!

~ jawath ~
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: autoconf build system procedure needed

Samba - samba-technical mailing list
In reply to this post by Samba - samba-technical mailing list
On Wed, 2017-04-12 at 17:30 +0530, Jawath Muckdhar via samba-technical
wrote:

> Hi Team,
>
>   I have compiled samba-4.5.5 with waf.
>   But, there were 93 shared libraries required by 'smbd'
>   The size of the shared libraries occupy around 35 MB.
>
>   Now, I cannot use 'waf' build system as it creates executables and
> shared
> libraries with huge size.  I need to use the 'autoconf' build system
> in
> order to reduce the size of the executable and the number of shared
> libraries.
>
>   My requirement is that I want a samba server only for "File
> Sharing" with
> basic authentication using 'smbpasswd' (encrypted). Other features
> like
> print sharing, AD domain controller, NT4 domain controller, local
> domain
> master are not needed.
>
>  I refer the below link and came to know about 'autoconf' build
> system to
> be used in samba-4.5.5 to create small size executable and shared
> libraries.
>
> https://wiki.samba.org/index.php/BuildsystemUseAndWhy
>
>
>   Kindly reply with the procedure to use 'autoconf' build and provide
> your
> valuable feedback.

I'm not sure why you feel the need to start three threads on this
topic, but I will again indicate that I've built a much smaller smbd
than this (13MB).

https://lists.samba.org/archive/samba-technical/2017-January/118470.html

I suggest you test the approach I suggest there, then work with us and
prepare patches to improve the waf build to make this a fully supported
feature.

Just as we have a --without-ad-dc, we could certainly have options to
remove other features, as long as we don't get too complex.

Finally, how small do you need smbd to be?

Thanks,

Andrew Bartlett

--
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba


Loading...