Can't compile Samba-4.0.0 on FreeBSD 9.1R/8.3R

Alexander Bokovoy ab at samba.org
Thu Dec 20 03:36:06 MST 2012


On Thu, Dec 20, 2012 at 9:29 AM, Samba-JP oota <ribbon at samba.gr.jp> wrote:
> When I compile Samba-4.0.0 on FreeBSD 9.1R/8.3R , error happen like this.
>
> -------------------------------------------------------------------------------------
> % ./configure;make
>
> WAF_MAKE=1 python ./buildtools/bin/waf distclean
> 'distclean' finished successfully (23.549s)
> Checking for program gcc or cc           : /usr/bin/gcc
> Checking for program cpp                 : /usr/bin/cpp
> Checking for program ar                  : /usr/bin/ar
> Checking for program ranlib              : /usr/bin/ranlib
> Checking for gcc                         : ok
> Checking for program git                 : not found
> Check for -MD                            : yes
> Checking for program gdb                 : /usr/bin/gdb
> Checking build system                    : FreeBSD freebsd9x 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>
> ....(snip)....
>
> [3785/3867] Generating man/nmblookup4.1
> Note: Writing nmblookup4.1
> [3786/3867] Generating manpages/smb.conf.5
> I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> compilation error: file /home/ribbon/samba4/samba-4.0.0/docs-xml/xslt/man.xsl line 7 element import
> xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> Waf: Leaving directory `/home/ribbon/samba4/samba-4.0.0/bin'
> Build failed:  -> task failed (err #5):
>         {task: manpages/smb.conf.5 smb.conf.5.xml -> smb.conf.5}
> *** [all] Error code 1
> --------------------------------------------------------------------------------
>
> ofcourse, manually access to  http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> is no probrem.
>
> I guess this error caused from xsltproc command. But, xsltproc is up-to-date .
> (libxslt-1.1.26_3    The XSLT C library for GNOME)
>
> Does anyone know the reason?
install docbook xsl stylesheets locally. I think they are available in ports.

-- 
/ Alexander Bokovoy


More information about the samba-technical mailing list