The Samba-Bugzilla – Bug 4474
Solaris packaging doesn't work
Last modified: 2016-04-29 01:32:40 UTC
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:
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.
*** Bug 3541 has been marked as a duplicate of this bug. ***
that package built is not supported anymore