Bug 209 - Build error on library bin/libsmbclient.a
Build error on library bin/libsmbclient.a
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
All Solaris
: P2 normal
: none
Assigned To: Tim Potter
Depends on:
  Show dependency treegraph
Reported: 2003-07-08 14:34 UTC by Shawn holahan
Modified: 2005-11-14 09:28 UTC (History)
0 users

See Also:

Build ouput (21.88 KB, text/plain)
2003-07-08 14:38 UTC, Shawn holahan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn holahan 2003-07-08 14:34:20 UTC
I am trying to build the SAMBA3.0.0Beta2 Solaris 9.  Now the build looks 
completes with one error, which is:

Compiling libads/kerberos.c with -fPIC
Linking libsmbclient non-shared library bin/libsmbclient.a
sh: ar: not found
*** Error code 1 (ignored)
Linking libsmbclient shared library bin/libsmbclient.so
Compiling modules/vfs_recycle.c with -fPIC
Building plugin bin/recycle.so
Compiling modules/vfs_audit.c with -fPIC
Building plugin bin/audit.so
Compiling modules/vfs_extd_audit.c with -fPIC
Building plugin bin/extd_audit.so
Compiling modules/vfs_netatalk.c with -fPIC
Building plugin bin/netatalk.so
Compiling modules/vfs_fake_perms.c with -fPIC
Building plugin bin/fake_perms.so

Then I try to package it and I get this:

# sh makepkg.sh
Assuming Samba distribution is rooted at /u01/XIP/Samba/samba-3.0.0beta2..
Could not find /u01/XIP/Samba/samba-3.0.0beta2/source/bin/make_smbcodepage to 
generate codepages.
     Please create the binaries before packaging.
## Building pkgmap from package prototype file.
ERROR in prototype:
    no object for <checkinstall> found in search path
    no object for <docs/NT4_PlainPassword.reg> found in root directory
    no object for <docs/Win95_PlainPassword.reg> found in root directory
    no object for <docs/Win98_PlainPassword.reg> found in root directory
    no object for <docs/Win2000_PlainPassword.reg> found in root directory
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.
The samba package is in /tmp

It looks like the make_smbcodepage never gets build.  Is this because of the 
error I got at build time?

Comment 1 Shawn holahan 2003-07-08 14:38:06 UTC
Created attachment 46 [details]
Build ouput
Comment 2 Tim Potter 2003-07-10 20:40:59 UTC
The packaging problem is a separate problem which I have broken out in to bug 209.
Comment 3 Tim Potter 2003-07-10 20:41:36 UTC
One day I will learn to type properly.  The packaging bug is bug 218.
Comment 4 Tim Potter 2003-07-10 21:10:48 UTC
Are you sure your development environment is installed properly?  I just rebuilt
samba 3.0 CVS and had no trouble running ar on libsmbclient.a

sun1:/export/home/tpot/samba-3.0/source$ which ar
Comment 5 Shawn holahan 2003-07-11 06:16:56 UTC
You are correct the development environment was incorrect.  I can build it now. 
Comment 6 Tim Potter 2003-07-11 16:29:25 UTC
OK, thanks for pointing out the packaging bug anyhow.
Comment 7 Gerald (Jerry) Carter 2005-02-07 08:40:46 UTC
originally reported against 3.0.0beta2.  CLeaning out 
non-production release versions.
Comment 8 Gerald (Jerry) Carter 2005-11-14 09:28:30 UTC
database cleanup