Hello,

> I then go to configure and make ...
> root@ganeti06-24:/opt/ganeti-2.15.0# *pwd*
> /opt/ganeti-2.15.0
> root@ganeti06-24:/opt/ganeti-2.15.0# *./configure --localstatedir=/var
> --sysconfdir=/etc*
> [ . . . ]
> root@ganeti06-24:/opt/ganeti-2.15.0# *make*
> [ . . . ]
> for p in src/htools test/hs/hpc-htools test/hs/hpc-mon-collector
> src/ganeti-kvmd src/ganeti-wconfd src/hconfd src/hluxid src/hs2py
> src/rpc-test src/ganeti-mond src/ganeti-metad ; do \
>           echo                                   >> ganeti.cabal; \
>           echo "executable `basename $p`"       >> ganeti.cabal; \
>           echo "  hs-source-dirs: apps"          >> ganeti.cabal; \
>           echo "  main-is: `basename $p`.hs"    >> ganeti.cabal; \
>           echo "  default-language: Haskell2010" >> ganeti.cabal; \
>           echo "  build-depends:"                >> ganeti.cabal; \
>           echo "      base"                      >> ganeti.cabal; \
>           echo "    , ganeti"                    >> ganeti.cabal; \
>           if [ $p == test/hs/htest ]; then \
>             echo "    , hslogger"                  >> ganeti.cabal; \
>             echo "    , test-framework"            >> ganeti.cabal; \
>           elif [ $p == src/rpc-test ]; then \
>             echo "    , json"                      >> ganeti.cabal; \
>           fi \
>         done
> touch empty-cabal-config
> /usr/bin/cabal --config-file=empty-cabal-config configure --user \
>           -f`test True == True && echo "mond" || echo "-mond"` \
>           -f`test True == True && echo "metad" || echo "-metad"`
> Warning: No remote package servers have been specified. Usually you would
> have
> one specified in the config file.
> Resolving dependencies...
> Configuring ganeti-2.15...
> cabal: At least the following dependencies are missing:
> QuickCheck >=2.4.2 && <2.8,
> temporary >=1.1.2.3 && <1.3,
> test-framework >=0.6 && <0.9,
> test-framework-hunit >=0.2.7 && <0.4,
> test-framework-quickcheck2 >=0.2.12.1 && <0.4
> make: *** [cabal_macros.h] Error 1

indeed, it seems that our build process always checks for all dependencies, 
including
the ones needed for testing etc. We'll see that we fix this. For the time being,
the easiest way to proceed is to do what the message told you and install the 
dependencies
needed for development, as per the developper guide
http://docs.ganeti.org/ganeti/master/html/devnotes.html

Actually, it suffices to install the additional haskell dependencies mentioned 
there.

Sorry for the inconvenience and best regards,
Klaus

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to