wiki:TipAndDoc/VM/Xen/log/4.0.1lucid

Version 9 (modified by mitty, 13 years ago) (diff)

--

gcc

  • ~/xen-4.0.1$ make world
    (snip)
    
    /bin/sh: gcc: not found
    
    (snip)
    make[5]: gcc: Command not found
    make[5]: *** [figlet] Error 127
    make[5]: Leaving directory `/home/mitty/xen-4.0.1/xen/tools/figlet'
    make[4]: *** [default] Error 2
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/xen/tools'
    make[3]: *** [/home/mitty/xen-4.0.1/xen/xen] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/xen'
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/xen'
    make[1]: *** [install-xen] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

zlib

  • ~/xen-4.0.1$ make world
    (snip)
     __  __            _  _    ___   _
     \ \/ /___ _ __   | || |  / _ \ / |
      \  // _ \ '_ \  | || |_| | | || |
      /  \  __/ | | | |__   _| |_| || |
     /_/\_\___|_| |_|    |_|(_)___(_)_|
    
    (snip)
    
    + git clone -o xen -n git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.g
    it linux-2.6-pvops.git.tmp
    Initialized empty Git repository in /home/mitty/xen-4.0.1/linux-2.6-pvops.git.tm
    p/.git/
    remote: Counting objects: 1861794, done.
    remote: Compressing objects: 100% (311315/311315), done.
    remote: Total 1861794 (delta 1547213), reused 1843744 (delta 1533593)
    Receiving objects: 100% (1861794/1861794), 381.76 MiB | 793 KiB/s, done.
    Resolving deltas: 100% (1547213/1547213), done.
    + cd linux-2.6-pvops.git.tmp
    + git checkout -b xen/stable-2.6.32.x xen/xen/stable-2.6.32.x
    Checking out files: 100% (30571/30571), done.
    
    (snip)
    
    *
    * Restart config...
    *
    *
    * Paravirtualized guest support
    *
    Paravirtualized guest support (PARAVIRT_GUEST) [Y/n/?] y
      Xen guest support (XEN) [Y/n/?] y
        Enable Xen debug and tuning parameters in debugfs (XEN_DEBUG_FS) [Y/n/?] y
      Enable Xen privileged domain support (XEN_DOM0) [Y/n/?] y
      Enable support for Xen PCI passthrough devices (XEN_PCI_PASSTHROUGH) [N/y/?] (NEW)
    
    (snip)...
    
    xen platform pci device driver (XEN_PLATFORM_PCI) [M/n/y/?] (NEW)
    #
    # configuration written to .config
    #
    
    (snip)
    
    make -C /home/mitty/xen-4.0.1/linux-2.6-pvops.git O=/home/mitty/xen-4.0.1/build-linux-2.6-pvops_x86_32/. bzImage
      Using /home/mitty/xen-4.0.1/linux-2.6-pvops.git as source for kernel
      GEN     /home/mitty/xen-4.0.1/build-linux-2.6-pvops_x86_32/Makefile
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
      CALL    /home/mitty/xen-4.0.1/linux-2.6-pvops.git/scripts/checksyscalls.sh
      CC      init/main.o
    
    (snip)
    
    Error: zlib check failed
    Make sure to have the zlib libs and headers installed.
    
    sed: can't read config-host.h: No such file or directory
    make[2]: *** [ioemu-dir-find] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [tools/ioemu-dir] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

something wrong

  • ~/xen-4.0.1$ make world
    make[3]: Entering directory `/home/mitty/xen-4.0.1/tools/ioemu-qemu-xen'
    xen-hooks.mak:56: === pciutils-dev package not found - missing /usr/include/pci
    xen-hooks.mak:57: === PCI passthrough capability has been disabled
    Makefile:4: /rules.mak: No such file or directory
    make[3]: *** No rule to make target `/rules.mak'.  Stop.
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools/ioemu-qemu-xen'
    make[2]: *** [subdir-clean-ioemu-dir] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [subdirs-clean] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make: *** [clean] Error 2
    

openssl/x11

  • ~/xen-4.0.1$ make world
    Xen CHECK-BUILD  Wed Jan 19 23:05:28 JST 2011
    Checking check_crypto_lib: OK
    Checking check_curl: unused, OK
    Checking check_openssl_devel:
     *** check_openssl_devel FAILED: missing openssl headers
    Checking check_python: OK
    Checking check_python_devel: OK
    Checking check_uuid_devel: OK
    Checking check_x11_devel:
     *** check_x11_devel FAILED: can't find X11 headers
    OK
    Checking check_xgettext: OK
    Checking check_xml2: unused, OK
    Checking check_zlib_devel: OK
    Checking check_zlib_lib: OK
    make[4]: *** [check-build] Error 1
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/tools/check'
    make[3]: *** [subdir-install-check] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[2]: *** [subdirs-install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [install-tools] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

sdl/ncurses

  • ~/xen-4.0.1$ make world
    (snip)
    
    The error log from compiling the libSDL test is:
    /tmp/qemu-conf--3332-.c:1:17: error: SDL.h: No such file or directory
    /tmp/qemu-conf--3332-.c: In function ‘main’:
    /tmp/qemu-conf--3332-.c:3: error: ‘SDL_INIT_VIDEO’ undeclared (first use in this function)
    /tmp/qemu-conf--3332-.c:3: error: (Each undeclared identifier is reported only once
    /tmp/qemu-conf--3332-.c:3: error: for each function it appears in.)
    
    (snip)
    
    gtraceview.c:34:21: error: ncurses.h: No such file or directory
    cc1: warnings being treated as errors
    gtraceview.c: In function ‘main’:
    
    (snip)
    
    make[4]: *** [gtraceview.o] Error 1
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/tools/misc'
    make[3]: *** [subdir-install-misc] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[2]: *** [subdirs-install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [install-tools] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    

python

  • ~/xen-4.0.1$ make world
    xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory
    In file included from ../../tools/libxc/xc_dom.h:1,
                     from xen/lowlevel/xc/xc.c:23:
    ../../tools/include/xen/libelf/libelf.h:102: error: expected specifier-qualifier-list before ‘FILE’
    
    (snip)
    
    error: command 'gcc' failed with exit status 1
    make[4]: *** [buildpy] Error 1
    make[4]: Leaving directory `/home/mitty/xen-4.0.1/tools/python'
    make[3]: *** [subdir-install-python] Error 2
    make[3]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[2]: *** [subdirs-install] Error 2
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/tools'
    make[1]: *** [install-tools] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    
    • $ apt-file search Python.h | grep "\bPython.h\b"
      python2.6-dbg: /usr/include/python2.6_d/Python.h
      python2.6-dev: /usr/include/python2.6/Python.h
      python3.1-dbg: /usr/include/python3.1_d/Python.h
      python3.1-dev: /usr/include/python3.1/Python.h
      

patch

  • ~/xen-4.0.1$ make world
    patch -d lwip-x86_32 -p0 < lwip.patch-cvs
    /bin/sh: patch: not found
    make[2]: *** [lwip-x86_32] Error 127
    make[2]: Leaving directory `/home/mitty/xen-4.0.1/stubdom'
    make[1]: *** [install-stubdom] Error 2
    make[1]: Leaving directory `/home/mitty/xen-4.0.1'
    make: *** [world] Error 2
    
  • ~/xen-4.0.1$ make dist
    • 上記と同じ

latex

  • ~/xen-4.0.1$ make dist
    sh ./docs/check_pkgs && make -C docs install || true
    =================================================
    =================================================
    = WARNING: Package 'latex' is required
    =          to build Xen documentation
    =================================================
    =================================================
    install -d -m0755 -p /home/mitty/xen-4.0.1/dist/check
    install -m0644 -p ./COPYING /home/mitty/xen-4.0.1/dist
    install -m0644 -p ./README /home/mitty/xen-4.0.1/dist
    install -m0755 -p ./install.sh /home/mitty/xen-4.0.1/dist
    install -m0755 -p tools/check/chk tools/check/check_* tools/check/funcs.sh /home/mitty/xen-4.0.1/dist/check
    
    • less xen-4.0.1/docs/check_pkgs
      silent_which latex      || exit 1
      silent_which dvips      || exit 1
      silent_which ps2pdf     || exit 1
      silent_which fig2dev    || exit 1
      
      • latex => texlive-latex-base
      • dvips => texlive-binaries | dvipsk-ja
      • ps2pdf => ghostscript
      • fig2dev => transfig

a4.sty

  • ~/xen-4.0.1$ make dist
    (snip)
    
    sh ./docs/check_pkgs && make -C docs install || true
    make[1]: Entering directory `/home/mitty/xen-4.0.1/docs'
    latex src/user.tex >/dev/null
    
    • (Xen-users) Instalation freeze at "latex src/user.tex >/dev/null - Xen Source
    • ~/xen-4.0.1/docs$ latex src/user.tex
      This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
       restricted \write18 enabled.
      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.
      
      Type X to quit or <RETURN> to proceed,
      or enter new name. (Default extension: sty)
      
      Enter file name:
      
      • $ apt-file search a4.sty
        jlatex209-base: /usr/share/texmf/jtex/latex209/misc/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc-de/latex/kopka/uebungen/kapitel2/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc-de/latex/kopka/uebungen/kapitel3/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc-de/latex/kopka/uebungen/kapitel4/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc-de/latex/kopka/uebungen/kapitel5/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc-de/latex/kopka/uebungen/kapitel6/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc/latex/kopka/uebungen/kapitel2/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc/latex/kopka/uebungen/kapitel3/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc/latex/kopka/uebungen/kapitel4/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc/latex/kopka/uebungen/kapitel5/a4.sty
        texlive-doc-de: /usr/share/doc/texlive-doc/latex/kopka/uebungen/kapitel6/a4.sty
        texlive-latex-recommended: /usr/share/texmf-texlive/tex/latex/ntgclass/a4.sty
        texlive-latex-recommended: /usr/share/texmf-texlive/tex/latex/seminar/sem-a4.sty
        

ptmr7t

  • ~/xen-4.0.1/docs$ latex src/user.tex
    (snip)
    
    kpathsea: Running mktextfm ptmr7t
    /usr/share/texmf/web2c/mktexnam: Could not map source abbreviation  for ptmr7t.
    /usr/share/texmf/web2c/mktexnam: Need to update ?
    mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t
    This is METAFONT, Version 2.718281 (TeX Live 2009/Debian)
    
    
    kpathsea: Running mktexmf ptmr7t
    ! I can't find file `ptmr7t'.
    
    (snip)
    
  • $ apt-file search ptmr7t
    tex4ht-common: /usr/share/texmf/tex4ht/ht-fonts/alias/times/ptmr7t.htf
    texlive-fonts-recommended: /usr/share/texmf-texlive/fonts/tfm/adobe/times/ptmr7t.tfm
    texlive-fonts-recommended: /usr/share/texmf-texlive/fonts/vf/adobe/times/ptmr7t.vf