LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 02-16-2013, 07:48 AM   #1
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Rep: Reputation: 60
problem with udisks2


I have some problems building udisks-2.0.1. I have LFS-7.2. I have installed all required dependencies (but not gobject-introspection and GTK-Doc). The error I get is:
Code:
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/po'
Making all in doc
make[2]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
Making all in man
make[3]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisksctl.xml
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"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[3]: *** [udisksctl.1] Error 4
make[3]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
make: *** [all] Error 2
 
Old 02-16-2013, 08:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lennie
I have installed all required dependencies (but not gobject-introspection and GTK-Doc)
From the book:
Quote:
--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.
You haven't used --enable-gtk-doc by any chance?

If that isn't the problem try using --disable-gtk-doc-html (do remove the source first).
 
Old 02-16-2013, 08:37 AM   #3
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Original Poster
Rep: Reputation: 60
Quote:
Originally Posted by druuna View Post
From the book: You haven't used --enable-gtk-doc by any chance?
No.
Quote:
Originally Posted by druuna View Post
If that isn't the problem try using --disable-gtk-doc-html (do remove the source first).
What source? The book only says to download the source for the package, no extra download.

I tried with --disable-gtk-doc-html, but no difference...
 
Old 02-16-2013, 08:55 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lennie View Post
What source? The book only says to download the source for the package, no extra download.
Code:
cd /path/to/sources
rm -rf udisks-2.0.1
tar xf udisks-2.0.1.tar.bz2
cd udisks-2.0.1
 and start again
This to make sure the source tree is clean.
 
Old 02-16-2013, 09:02 AM   #5
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Original Poster
Rep: Reputation: 60
Quote:
Originally Posted by druuna View Post
Code:
cd /path/to/sources
rm -rf udisks-2.0.1
tar xf udisks-2.0.1.tar.bz2
cd udisks-2.0.1
 and start again
This to make sure the source tree is clean.
Aha, yes I always do.

I solved it by installing docbook-xsl, then it compiled. Is docbook-xsl required although the book didn't say so?
 
Old 02-16-2013, 09:09 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lennie View Post
I solved it by installing docbook-xsl, then it compiled. Is docbook-xsl required although the book didn't say so?
Not that I know of.

You might want to have a detailed look at ./configure --help.

I did notice [[default=yes]] for --enable-gtk-doc-html (hence the --disable-gtk-doc-html suggestion).
 
Old 02-16-2013, 09:25 AM   #7
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Original Poster
Rep: Reputation: 60
I just found a lot of errors in the build log. Will this cause problems later? There were no test for this package, how can I know if it is okay?
Code:
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/po'
Making all in doc
make[2]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
Making all in man
make[3]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisksctl.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisksctl.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisksd.8.
Note: Writing udisksctl.1
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisksd.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisksd.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisksctl.1.
Note: Writing udisksd.8
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisks.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisks.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisks-polkit-actions.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Drive.Id.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintSystem.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintIgnore.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintAuto.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintName.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintIconName.
Error: no ID for constraint linkend: udisksctl.1.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisksctl.1.
Note: Writing udisks.8
make[3]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
make[3]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[2]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
make[1]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
 
Old 02-16-2013, 09:50 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Lennie View Post
I just found a lot of errors in the build log. Will this cause problems later?
To be honest: I don't know.

Quote:
There were no test for this package, how can I know if it is okay?
Code:
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/po'
Making all in doc
make[2]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
Making all in man
make[3]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisksctl.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisksctl.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisksd.8.
Note: Writing udisksctl.1
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisksd.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisksd.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisks.8.
Error: no ID for constraint linkend: udisksctl.1.
Note: Writing udisksd.8
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisks.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
udisks.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[<!ENTITY version SYSTEM "../version.xml">]>
                                            ^
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisks-polkit-actions.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Drive.Id.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintSystem.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintIgnore.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintAuto.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintName.
Error: no ID for constraint linkend: gdbus-property-org-freedesktop-UDisks2-Block.HintIconName.
Error: no ID for constraint linkend: udisksctl.1.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisksd.8.
Error: no ID for constraint linkend: udisksctl.1.
Note: Writing udisks.8
make[3]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc/man'
make[3]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1/doc'
make[2]: Entering directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
make[2]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
make[1]: Leaving directory `/home/packages/pkgbuilds/udisks2/src/udisks-2.0.1'
All the errors/warnings seem to be docbook (documentation) related. I doubt if this will have a negative effect on the executables.
 
Old 02-16-2013, 09:56 AM   #9
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 301

Original Poster
Rep: Reputation: 60
Okay. Thank you for taking the time and answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware udev/udisks2 tuxbg Slackware 2 01-31-2013 06:37 AM
Udisks2: Another Loss For Linux Pixxt Slackware 33 08-01-2012 10:34 AM
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM


All times are GMT -5. The time now is 10:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration