xenusers
2012-Jul-30 16:03 UTC
Anyone managed to build 4.1.2 from source on Debian Squeeze?
Hi list, It seems a pretty simple goal, but my build hangs forever at: ... make[2]: Leaving directory `/usr/src/xen-4.1.2/stubdom'' sh ./docs/check_pkgs && make -C docs install || true make[2]: Entering directory `/usr/src/xen-4.1.2/docs'' latex src/user.tex >/dev/null I could leave it for weeks and it would never progress past that step. I don''t particularly want the docs on these systems so perhaps I could skip them in the build process, but it''d be nice to determine why it hangs and be able to build everything. This is a fresh, fully updated Squeeze machine (x86_64), just installed three hours ago. Did I miss a dependency for Xen to build the docs here? (and if so, why does the doc build hang forever instead of failing out if a dep is missing?) -------------------------- aptitude install build-essential bridge-utils vlan ethtool ifenslave zlib1g-dev python-dev ncurses-dev libssl-dev uuid-dev pciutils-dev texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended transfig iasl bin86 bcc libx11-dev gettext gawk bridge-utils libcurl3 libcurl4-openssl-dev bzip2 module-init-tools tgif python-twisted libvncserver-dev libsdl1.2-dev libjpeg62-dev libbz2-dev e2fslibs-dev ocaml bison flex ocaml-findlib libtext-template-perl libconfig-inifiles-perl libfile-slurp-perl cd /usr/src wget http://bits.xensource.com/oss-xen/release/4.1.2/xen-4.1.2.tar.gz tar zxf xen-4.1.2.tar.gz cd xen-4.1.2 make world ... the build will run fine for quite some time, before finally hanging on the docs ... -------------------------- It''s possible to build 4.1.2 from source on a stock Squeeze, yes? Regards, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2012-Jul-30 16:10 UTC
Re: Anyone managed to build 4.1.2 from source on Debian Squeeze?
On Mon, 2012-07-30 at 17:03 +0100, xenusers wrote:> Hi list, > > > It seems a pretty simple goal, but my build hangs forever at: > > > ... > make[2]: Leaving directory `/usr/src/xen-4.1.2/stubdom'' > sh ./docs/check_pkgs && make -C docs install || true > make[2]: Entering directory `/usr/src/xen-4.1.2/docs'' > latex src/user.tex >/dev/nullCan you try cd docs latex src/user.tex ? Or edit docs/Makefile to remove that ">/dev/null". If you do that do you get some more information about what is hanging? Does running "ps axf" or perhaps strac()ing the latex process give any hints as to what has blocked?> This is a fresh, fully updated Squeeze machine (x86_64), just > installed three hours ago. Did I miss a dependency for Xen to build > the docs here? (and if so, why does the doc build hang forever > instead of failing out if a dep is missing?)It''s a bug that it does this (either in Xen or elsewhere). However I''ve never heard of such a thing so I think we''ll need your help tracking it down.> It''s possible to build 4.1.2 from source on a stock Squeeze, yes?Normally, yes, for one thing the xen.org automated test system runs Squeeze so all the trees are regularly compiled in that environment. Ian.
Ian Campbell
2012-Jul-31 07:39 UTC
Re: Anyone managed to build 4.1.2 from source on Debian Squeeze?
Please always retain the list CC. I''ve put xen-users back this time. On Mon, 2012-07-30 at 17:44 +0100, xenusers wrote:> root@xen5:/usr/src/xen-4.1.2/docs# latex src/user.tex > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > (./src/user.tex > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax, > dumylang, noh > yphenation, loaded. > (/usr/share/texmf-texlive/tex/latex/base/report.cls > Document Class: report 2007/10/19 v1.4h Standard LaTeX document class > (/usr/share/texmf-texlive/tex/latex/base/size11.clo)) > > > ! LaTeX Error: File `a4.sty'' not found.[...]> > It looks like a4.sty is provided by texlive-latex-recommended. I then > checked and noticed I didn''t have just ''texlive'' in my list of items > to install, so I installed it and removed the ''>/dev/null'' from > docs/Makefile''s ${LATEX} lines.This dependency should have been listed in the README, although given that the tex docs have been removed in xen-unstable I''m not sure it is worth adding them at this stage. Thanks, Ian.
Ian Tobin
2012-Jul-31 08:03 UTC
Re: Anyone managed to build 4.1.2 from source on Debian Squeeze?
We compiled a quick how to in our blog for centos and debian squeeze using kernel 3.4.5 and xen 4.1.2, if you build the server from scratch with minimal server installs then you shoudn''t go wrong. Debian squeeze http://blog.tidyhosts.com/index.php/howto-install-xen-dom0-on-debian-squ eeze-from-source Centos 6 http://blog.tidyhosts.com/index.php/howto-install-xen-dom0-on-centos-6-f rom-source Ian -----Original Message----- From: xen-users-bounces@lists.xen.org [mailto:xen-users-bounces@lists.xen.org] On Behalf Of Ian Campbell Sent: 31 July 2012 08:40 To: xenusers Cc: xen-users Subject: Re: [Xen-users] Anyone managed to build 4.1.2 from source on Debian Squeeze? Please always retain the list CC. I''ve put xen-users back this time. On Mon, 2012-07-30 at 17:44 +0100, xenusers wrote:> root@xen5:/usr/src/xen-4.1.2/docs# latex src/user.tex This is pdfTeX, > Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended > mode (./src/user.tex LaTeX2e <2009/09/24> Babel <v3.8l> and > hyphenation patterns for english, usenglishmax, dumylang, noh > yphenation, loaded. > (/usr/share/texmf-texlive/tex/latex/base/report.cls > Document Class: report 2007/10/19 v1.4h Standard LaTeX document class > (/usr/share/texmf-texlive/tex/latex/base/size11.clo)) > > > ! LaTeX Error: File `a4.sty'' not found.[...]> > It looks like a4.sty is provided by texlive-latex-recommended. I then > checked and noticed I didn''t have just ''texlive'' in my list of items > to install, so I installed it and removed the ''>/dev/null'' from > docs/Makefile''s ${LATEX} lines.This dependency should have been listed in the README, although given that the tex docs have been removed in xen-unstable I''m not sure it is worth adding them at this stage. Thanks, Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users