Re: [Samba] reduce the size of samba 3.0 binary

2004-02-22 Thread Patrik Gustavsson

Run strip on the executables to remove
symbol table, debugging information.

That will shrink the size.

/Patrik

On Sat, 2004-02-21 at 01:59, Spam wrote:
   800MB  seem  very  large, or do you calculate size with all possible
   dependencies?  Even  so  it  seem large. I have had Samba on a Linux
   system where the total size is smaller than 800MB.
 
   Another  possibility would be to use Unix services for Windows. It
   is  a package which you can download from microsoft.com. It contains
   many standard GNU utils (even gcc I think!) including NFS support.
 
   Or  simply  use FTP. Windows Explorer can browse FTP servers (though
   not optimally).
   
  I installed samba 3.0.  It works.
  But the only problem is that the whole binary package is  800MB (Solaris 2.8)
  It's a big package to fit in a 2g of / partition.
  Is there way we can reduce the size of the binary by select function/local/etc?
  I don't need all the funcations it supports.  
  Only support UNIX nfs data to PC.
 
  thanks,
  
  Jeffrey
 
-- 
In a world without fences who needs Gates
Patrik Gustavsson, Senior Technical Consultant
[EMAIL PROTECTED] Telephone: +46 60 671540
http://glen.swedenMobile: +46 70 3551040
SUN MICROSYSTEMS  Fax: +46 60 671550
--


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] reduce the size of samba 3.0 binary

2004-02-20 Thread Jeffrey Liu
I installed samba 3.0.  It works.
But the only problem is that the whole binary package is  800MB (Solaris 2.8)
It's a big package to fit in a 2g of / partition.
Is there way we can reduce the size of the binary by select function/local/etc?
I don't need all the funcations it supports.  
Only support UNIX nfs data to PC.
 
thanks,
 
Jeffrey
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] reduce the size of samba 3.0 binary

2004-02-20 Thread Andrew Bartlett
On Sat, 2004-02-21 at 11:51, Jeffrey Liu wrote:
 I installed samba 3.0.  It works.
 But the only problem is that the whole binary package is  800MB (Solaris 2.8)
 It's a big package to fit in a 2g of / partition.
 Is there way we can reduce the size of the binary by select function/local/etc?
 I don't need all the funcations it supports.  
 Only support UNIX nfs data to PC.

Just strip it.

For some reason (one of which is a bug in the 3.0.0 release) you have
compiled with -g, which, depending on the compiler, can do this :-)

You should upgrade to 3.0.2a anyway.

Andrew Barltett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] reduce the size of samba 3.0 binary

2004-02-20 Thread Spam

  800MB  seem  very  large, or do you calculate size with all possible
  dependencies?  Even  so  it  seem large. I have had Samba on a Linux
  system where the total size is smaller than 800MB.

  Another  possibility would be to use Unix services for Windows. It
  is  a package which you can download from microsoft.com. It contains
  many standard GNU utils (even gcc I think!) including NFS support.

  Or  simply  use FTP. Windows Explorer can browse FTP servers (though
  not optimally).
  
 I installed samba 3.0.  It works.
 But the only problem is that the whole binary package is  800MB (Solaris 2.8)
 It's a big package to fit in a 2g of / partition.
 Is there way we can reduce the size of the binary by select function/local/etc?
 I don't need all the funcations it supports.  
 Only support UNIX nfs data to PC.

 thanks,
 
 Jeffrey




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba