Re: make install error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Attached is the patch from RH rpm to use a local stylesheet. Needed if
build machine doesn't have net access.

HTH -- Andy

On 08/05/2012 07:26 PM, nia dev wrote:
> OK, I see errors again now ..It looks like the cause is from not being
> able to load some files externally .. direct web access also says :
> Too many requests, please try again later.
> 
> 
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/tgtd.8] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/tgtadm.8] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/tgtimg.8] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/tgt-admin.8] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/targets.conf.5] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: [manpages/tgt-setup-lun.8] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/tgtd.8.html] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/tgtadm.8.html] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/tgtimg.8.html] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/tgt-admin.8.html] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/targets.conf.5.html] Error 4 (ignored)
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
> cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
> make[1]: [htmlpages/tgt-setup-lun.8.html] Error 4 (ignored)
> 
> install: cannot stat `manpages/tgtadm.8': No such file or directory
> install: cannot stat `manpages/tgt-admin.8': No such file or directory
> install: cannot stat `manpages/tgtimg.8': No such file or directory
> install: cannot stat `manpages/tgt-setup-lun.8': No such file or directory
> install: cannot stat `manpages/tgtd.8': No such file or directory
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/var/www/html/mhvtl-gui/stgt.git/doc'
> make: *** [install-doc] Error 2
> 
> 
> 
> 
> On Sun, Aug 5, 2012 at 6:02 PM, nia dev <niadev67@xxxxxxxxx> wrote:
>> I don't recall, I think make wen't fine.. Now, I can't reproduce ????
>> I will try again later with a fresh OS build ..
>>
>>
>> On Sun, Aug 5, 2012 at 3:33 PM,  <frederik.vos@xxxxxxxxxx> wrote:
>>> if you do a make,
>>> do you get some xml or xslt related errors ?
>>>
>>> Quoting nia dev <niadev67@xxxxxxxxx>:
>>>
>>>> install: cannot stat `htmlpages/tgt-setup-lun.8.html': No such file or
>>>> directory
>>>> make[1]: *** [install] Error 1
>>>> make[1]: Leaving directory `/var/www/html/stgt.git/doc'
>>>> make: *** [install-doc] Error 2
>>>>
>>>> I am running Oracle Linux Server release 6.3 or Red Hat Enterprise
>>>> Linux Server release 6.3 (Santiago)
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe stgt" in
>>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>>
>>>
>>>
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

commit ad75a57863efcbf264ef44c5643e64c5bad84cb9
Author: Andy Grover <agrover@xxxxxxxxxx>
Date:   Wed Nov 2 22:15:32 2011 -0700

    remove check for xsltproc
    
    It should always be there, since we added libxslt as a BuildRequires.
    
    Use local stylesheet.
    
    Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>

diff --git a/doc/Makefile b/doc/Makefile
index 4370fb2..54d5a09 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -32,35 +32,38 @@ clean:
 	rm -f $(XMLMAN) $(XMLHTML)
 	rmdir manpages htmlpages
 
+STYLEMAN = /usr/share/sgml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl
+STYLEHTML = /usr/share/sgml/docbook/xsl-stylesheets-1.75.2/html/docbook.xsl
+
 manpages/tgtd.8: tgtd.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEMAN) $<
 
 htmlpages/tgtd.8.html: tgtd.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEHTML) $<
 
 manpages/tgtadm.8: tgtadm.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEMAN) $<
 
 htmlpages/tgtadm.8.html: tgtadm.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEHTML) $<
 
 manpages/tgt-admin.8: tgt-admin.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEMAN) $<
 
 htmlpages/tgt-admin.8.html: tgt-admin.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEHTML) $<
 
 manpages/tgtimg.8: tgtimg.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEMAN) $<
 
 htmlpages/tgtimg.8.html: tgtimg.8.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEHTML) $<
 
 manpages/targets.conf.5: targets.conf.5.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEMAN) $<
 
 htmlpages/targets.conf.5.html: targets.conf.5.xml
-	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	$(XSLTPROC) -o $@ $(STYLEHTML) $<
 
 manpages/tgt-setup-lun.8: tgt-setup-lun.8.xml
 	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux