Am 21.02.2016 um 19:32 schrieb Miguel Medalha:> I didn't change the source in any way. tar xf to the /root directory > is all I did. I did "make clean" a number of times. The catalog file > is in the expected place./root/bin/default/docs-xml/build/catalog.xml in your case.> The documentation build always fails with "failed to load external > entity "http://www.samba.org/samba/DTD/samba-doc" and other messages > with similar content. It complains about being unable to reach > external resources and having no fallback.The machine has normal , > functioning access to the Internet. > > I just tried the same on a CentOS 6.7 machine and stumbled upon the > exact same obstacle. I have no problem whatsoever with building and > installing Samba. Only the documentation fails.Can you check if you're having the following 3 packages installed? $ rpm -aq | egrep "xml-common|libxslt|docbook-style-xsl" libxslt-1.1.28-5.el7.x86_64 docbook-style-xsl-1.78.1-3.el7.noarch xml-common-0.6.3-39.el7.noarch Regards, Marc
hange the source in any way. tar xf to the /root directory is all I did. I did "make clean" a number of times. The catalog file is in the expected place.> /root/bin/default/docs-xml/build/catalog.xml > in your case. >Since I did "tar xf" inside /root the Samba files are in /root/samba-4.3.4. So yes, the catalog resides in /root/samba-4.3.4/bin/default/docs-xml/build/catalog.xml I suppose that the "make" for the documentation must be done inside the /root/samba-4.3.4/docs-xml directory, where the makefile is located. Am I wrong? (By the way, you answered to the wrong thread.)
On 21/02/16 19:24, Marc Muehlfeld wrote:> Am 21.02.2016 um 19:32 schrieb Miguel Medalha: >> I didn't change the source in any way. tar xf to the /root directory >> is all I did. I did "make clean" a number of times. The catalog file >> is in the expected place. > /root/bin/default/docs-xml/build/catalog.xml > in your case. > > > > >> The documentation build always fails with "failed to load external >> entity "http://www.samba.org/samba/DTD/samba-doc" and other messages >> with similar content. It complains about being unable to reach >> external resources and having no fallback.The machine has normal , >> functioning access to the Internet. >> >> I just tried the same on a CentOS 6.7 machine and stumbled upon the >> exact same obstacle. I have no problem whatsoever with building and >> installing Samba. Only the documentation fails. > > Can you check if you're having the following 3 packages installed? > > $ rpm -aq | egrep "xml-common|libxslt|docbook-style-xsl" > libxslt-1.1.28-5.el7.x86_64 > docbook-style-xsl-1.78.1-3.el7.noarch > xml-common-0.6.3-39.el7.noarch > > > Regards, > Marc >Hi Marc, I think you just replied to the wrong thread, I think you should have replied to '[Samba] Problems building Samba documentation' Rowland
Am 21.02.2016 um 20:36 schrieb Miguel Medalha:> hange the source in any way. tar xf to the /root directory > is all I did. I did "make clean" a number of times. The catalog file > is in the expected place. > >> /root/bin/default/docs-xml/build/catalog.xml >> in your case. >> > > Since I did "tar xf" inside /root the Samba files are in > /root/samba-4.3.4. So yes, the catalog resides in > /root/samba-4.3.4/bin/default/docs-xml/build/catalog.xmlSorry. You're right. /root/samba-4.3.4/bin/... of course, not /root/bin/...> I suppose that the "make" for the documentation must be done inside the > /root/samba-4.3.4/docs-xml directory, where the makefile is located. Am > I wrong?You don't built the documentation separately. Check if you have the three packages installed I asked you in my previous post. The just # cd /root/samba-4.3.4/ # ./configure ..... # make # make install The man pages are automatically built and installed. Regards, Marc
On 21/02/16 19:36, Miguel Medalha wrote:> > hange the source in any way. tar xf to the /root directory > is all I did. I did "make clean" a number of times. The catalog file > is in the expected place. > >> /root/bin/default/docs-xml/build/catalog.xml >> in your case. >> > > Since I did "tar xf" inside /root the Samba files are in > /root/samba-4.3.4. So yes, the catalog resides in > /root/samba-4.3.4/bin/default/docs-xml/build/catalog.xml > > I suppose that the "make" for the documentation must be done inside > the /root/samba-4.3.4/docs-xml directory, where the makefile is > located. Am I wrong?Yes, the manpages are created when you compile samba4, you should just unpack the tarball, cd into the directory created and run './configure', then 'make', finally 'make install' Rowland> > (By the way, you answered to the wrong thread.) > > >