Bug 4474 - Solaris packaging doesn't work
Summary: Solaris packaging doesn't work
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 3.0.24
Hardware: Sparc Solaris
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
: 3541 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-28 09:23 UTC by carlos
Modified: 2016-04-29 01:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carlos 2007-03-28 09:23:49 UTC
Hi there,

There is a problem in the compilation process which yields to a problem packaging the Samba 3.0.24.
1st. The README for the platform points to enter 
# sh makepkg.sh
It should say 
# sh makepkg.sh build
If not, it doesn't generate the Makefile at all and it goes to the make install call.

2nd. After fixing the 1st, the packaging fails because the prototype file for the pkgmk is badly generated. It only includes up to the man section. As we have investigated, the "make install " installs the man pages under opt/samba/share/man and the script that generates the prototype file searches in opt/samba/man.
It is possible to workaround this copying the man directory and its contents to its correct location and then re-execute:
# pkgmk -o -d /tmp -b /tmp/samba-3.0.24-build/opt/samba -f prototype

3rd. But it still doesn't work. The pkgmk fails looking for the following files:
lib/libsmbclient.a
lib/libmsrpc.a
We have taken the following workaround:
a. from the sources directory: ./configure && make
b. copy from sources/bin the two files mentioned above and generated in step a.
c. execute "pkgmk -o -d /tmp -b /tmp/samba-3.0.24-build/opt/samba -f prototype"
After this we have in /tmp the package correctly assembled.

If you need further information don't hesitate to contact me.

Thanks in advance.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2007-04-14 17:33:05 UTC
*** Bug 3541 has been marked as a duplicate of this bug. ***
Comment 2 Björn Jacke 2016-04-29 01:32:40 UTC
that package built is not supported anymore