You are not logged in.

#1 2014-11-16 17:48:28

dlm1065
Member
Registered: 2014-09-21
Posts: 7

questions about arch directories, environment var and flags for xen

If anyone sees anything wrong or knows anything I should have filled in I would greatly appreciate them pointing it out. I came up with the following depends from previous PKGBUILDs and the dumping of the  xen configure with the --help=recursive.

depends=('xz' 'nss' 'libiscsi' 'libpng' 'bzip2' 'iproute' 'libgl'  'bridge-utils' 'python2' 'sdl' 'zlib' 'urlgrabber' 'e2fsprogs' 'bin86' 'libaio' 'pkgconfig' 'gnutls' 'lzo2' 'glibc' 'yajl' 'inetutils' 'python' 'iasl' 'spice' 'spice-protocol' 'usleep' 'bluez-libs' 'usbredir' 'transfig' 'mingw-w64-binutils')

With the packages installed I exported the environment values the configure dump suggested were inmportant that I understood the answer for

export COMPILER_PATH=/usr/bin             Not listed in configure but reduces warning messages
export EFI_VENDOR=arch                        Not listed in configure but reduces warning messages                                                     
export CMAKE=/usr/bin/cmake                  CMAKE       Path to the cmake program
export FIG2DEV=/usr/bin/fig2dev              FIG2DEV      Path to fig2dev tool
export POD2MAN=usr/bin/core_perl/pod2man     POD2MAN      Path to pod2man tool
export POD2HTML=usr/bin/core_perl/pod2html   POD2HTML     Path to pod2html tool
export POD2TEXT=usr/bin/core_perl/pod2text   POD2TEXT     Path to pod2text tool
export PANDOC=/usr/bin/pandoc                PANDOC       Path to pandoc tool
export MARKDOWN=/usr/bin/markdown            MARKDOWN     Path to markdown tool 
export PYTHON=/usr/bin/python2              PYTHON       Path to the Python parser
export PERL=/usr/bin/perl                   PERL         Path to Perl parser
export BISON=/usr/bin/bison                 BISON        Path to Bison parser generator
export FLEX=/usr/bin/flex                   FLEX         Path to Flex lexical analyser generator
export CURL=/usr/bin/curl-config            CURL         Path to curl-config tool
export XML=/usr/bin/xml2-config             XML          Path to xml2-config tool
export BASH=/usr/bin/bash                   BASH         Path to bash shell
export XGETTEXT=/usr/bin/xgettext           XGETTEXT     Path to xgetttext tool
export AS86=/usr/bin/as86                   AS86         Path to as86 tool
export LD86=/usr/bin/ld86                   LD86         Path to ld86 tool
export BCC=/usr/bin/bcc                     BCC          Path to bcc tool
export IASL=usr/bin/iasl                    IASL         Path to iasl tool 
export PKG_CONFIG=usr/bin/pkg-config            PKG_CONFIG  path to pkg-config utility
export ZLIB_URL=http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
                                            ZLIB_URL     Download url for zlib
export LIBPCI_URL=http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
                                            LIBPCI_URL   Download url for libpci
export NEWLIB_URL=http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
                                            NEWLIB_URL   Download url for newlib  
export LWIP_URL= http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
                                            LWIP_URL     Download url for lwip
export GRUB_URL=http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
                                            GRUB_URL     Download url for grub
export OCAML_URL=http://caml.inria.fr/ocaml/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz
                                            OCAML_URL    Download url for ocaml
export GMP_URL=http://xenbits.xen.org/xen-extfiles/gmp-4.3.2.tar.bz2
                                            GMP_URL      Download url for libgmp
export POLARSSL_URL=http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
                                            POLARSSL_URL Download url for polarssl
export TPMEMU_URL=http://xenbits.xen.org/xen-extfiles/tpm_emulator-0.7.4.tar.gz
                                            TPMEMU_URL   Download url for berlios tpm emulator
  Config directory options 
    --with-sysconfig-leaf-dir=default         Name of subdirectory in /etc to store runtime
                                            options for runlevel scripts and daemons such as
                                            xenstored. This should be either "sysconfig" or
                                            "default". [sysconfig]

I am left with these. Any pointers to finding out the information needed or if I even need to fill these values out would be helpful

  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>
  PREPEND_INCLUDES  List of include folders to prepend to CFLAGS (without -I)
  PREPEND_LIB List of library folders to prepend to LDFLAGS (without -L)
  APPEND_INCLUDES  List of include folders to append to CFLAGS (without -I)
  APPEND_LIB  List of library folders to append to LDFLAGS (without -L)
  PKG_CONFIG_PATH  directories to add to pkg-config's search path
  PKG_CONFIG_LIBDIR  path overriding pkg-config's built-in search path
  glib_CFLAGS C compiler flags for glib, overriding pkg-config
  glib_LIBS   linker flags for glib, overriding pkg-config
  LIBNL3_CFLAGS C compiler flags for LIBNL3, overriding pkg-config
  LIBNL3_LIBS linker flags for LIBNL3, overriding pkg-config
  SYSTEMD_CFLAGS C compiler flags for SYSTEMD, overriding pkg-config
  SYSTEMD_LIBS linker flags for SYSTEMD, overriding pkg-config

Offline

Board footer

Powered by FluxBB