Find the answer to your Linux question:
Results 1 to 5 of 5
Linux mirage 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:10:27 EDT 2009 i686 i686 i386 GNU/Linux I'm trying to compile tinyproxy for two days now on Redhat and can't seem to ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    3

    make error during compilation of tinyproxy 1.8.1 missing packages?

    Linux mirage 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:10:27 EDT 2009 i686 i686 i386 GNU/Linux

    I'm trying to compile tinyproxy for two days now on Redhat and can't seem to figure out whats missing here. The make bombs at:

    Code:
    make[3]: Entering directory
      GEN    tinyproxy.conf.5
    a2x: ERROR: xmllint --nonet --noout --valid /backup/builds/tinyproxy-1.8.1/docs/man5/tinyproxy.conf.xml returned non-zero exit status 4
    make: *** [all] Error 2
    It seems to be failing to load oasis-open site for docbookx dot dtd, which I can display in a browser fine.

    Code:
    #  xmllint --nonet --noout --valid /backup/builds/tinyproxy-1.8.1/docs/man5/tinyproxy.conf dot xml
    I/O error : Attempt to load network entity  www dot oasis-open dot org slash docbook slash xml slash 4.5 slash docbookx.dtd
    /backup/builds/tinyproxy-1.8.1/docs/man5/tinyproxy.conf dot xml:2: warning: failed to load external entity "www dot oasis-open dot org slash docbook slash xml slash 4.5 slash docbookx dot dtd"
    D DocBook XML V4.5//EN" " www dot oasis-open dot org slash docbook slash xml slash 4.5 slash docbookx.dtd"
                                                                                   ^
    /backup/builds/tinyproxy-1.8.1/docs/man5/tinyproxy dot conf dot xml:5: validity error : Validation failed: no DTD found !
    <ref entry lang="en">
                       ^
    Am I missing an rpm package of some kind?

    Thanks!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The rpm package manager doesn't deal with missing dependencies. I suggest using yum instead since it will download and install dependencies as required. You can install RPM files with yum as well as with rpm.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    3
    Quote Originally Posted by Rubberman View Post
    The rpm package manager doesn't deal with missing dependencies. I suggest using yum instead since it will download and install dependencies as required. You can install RPM files with yum as well as with rpm.
    I'm using Yum to install all my packages. However, there is not a 1.8.1 package for tinyproxy, therefore I'm having to compile it from source.

    ./configure
    make
    make install

    The make is bombing as shown above. I think its due to missing xml libraries of some kind. No one sees this?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You are missing an XML DTD (Document Type Definition) file, or the URI that it is shown to be located at is either invalid or down. That would be "www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" at a guess.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Apr 2008
    Posts
    3
    Thanks Rubberman for the pointers. Whats strange is that the docbookx.dtd file via url does exist and is accessible.

    [root@mirage ~]# a2x --version
    a2x 8.5.2

    [root@mirage ~]# xsltproc -version
    Using libxml 20626, libxslt 10117 and libexslt 813
    xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
    libxslt 10117 was compiled against libxml 20626
    libexslt 813 was compiled against libxml 20626

    [root@mirage ~]# uname -a

    Linux mirage.totus.us 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:10:27 EDT 2009 i686 i686 i386 GNU/Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...