LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-03-2019, 01:49 PM   #1
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85
Blog Entries: 3

Rep: Reputation: 17
FYI:8.4 BLFS Non-Systemd Xfce Build Glib


This is not a question but a comment for your information. I have a PC that I am building BLFS, specifically, Xfce. X-Org7 build is fine and tested well.

When I attempted to build glib, I get:
Code:
Script started on 2019-08-03 14:01:04-04:00 [TERM="linux" TTY="/dev/tty1" COLUMNS="240" LINES="67"]
bash-5.0$ pwd
/home/rick/xfce/glib-2.58.3/build-glib
bash-5.0$ meson --prefix=/usr \
> -Dman=true \
> -Dselinux=flase \
> .. &&
> ninja
The Meson build system
Version: 0.49.2
Source dir: /home/rick/xfce/glib-2.58.3
Build dir: /home/rick/xfce/glib-2.58.3/build-glib

[980/1007] Generating gtester-man with a custom command.
FAILED: docs/reference/glib/gtester.1 
/usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/reference/glib/gtester.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../docs/reference/glib/gtester.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

ninja: build stopped: subcommand failed.
bash-5.0$ exit
exit

Script done on 2019-08-03 14:05:09-04:00 [COMMAND_EXIT_CODE="1"]
The log has been shortened and the control codes removed. As you can see, during the ninja build, an attempt is make to download an XSL file from Sourceforge. I don't know by what mechanism (eg: wget, curl etc), it does not say. I tested the URL listed (using wget) and it is good. The two recommended dependencies of glib are in place, the three other, runtime dependencies are not yet in place.

I solved (actually, not a solution, more of a kludge) this by realizing this is part of the documentation, not part of the package binaries so I disabled the generation of the documentation by changing '-Dman=true' to '-Dman=false'

Rick
 
Old 08-03-2019, 06:37 PM   #2
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
I assume you don't have docbook-xsl-stylesheets installed? Anyway, good to know. My rule is to never build software when i'm online - an easy rule to follow when you only have intermittent internet access. That's why I don't build rustc, libreoffice, handbrake, or the latest firefox (i'm using 60.8.0esr) - cbindgen wants network access and i don't see any way around it.
 
  


Reply



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] [BLFS-8.2, ch.9, Glib-2.54.3] failed. with ANSI_X3.4-1968 whjeon Linux From Scratch 5 03-29-2018 02:15 AM
[SOLVED] BLFS 8.1: glib-2.52.3 make install error joakim12 Linux From Scratch 6 10-02-2017 01:23 AM
[SOLVED] BLFS-SVN: glib-2.46.0 re_nelson Linux From Scratch 2 10-14-2015 12:57 PM
FYI: two network-related things Debian Live (XFCE) lacks newbiesforever Debian 2 06-13-2012 05:07 PM
[SOLVED] blfs - glib compile error idnotcrae Linux From Scratch 2 05-17-2012 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration