Ne nadoh paket na linuxpackages pa krenuh iz source i gle belaja (:
make
mkdir ghcsrc
mkdir: cannot create directory `ghcsrc': File exists
make: [ghc] Error 1 (ignored)
make -C src ghcsrc "hc=ghc"
make[1]: Entering directory `/root/download/polyp-2.040907/src'
cp ghc.mk ../ghcsrc/Makefile
cp rules.mk ../ghcsrc/
sed -e "s/\.g_o/\.o/g" -e "s/\.g_hi/\.hi/g" <depends.mk >../ghcsrc/depends.mk
make[1]: Leaving directory `/root/download/polyp-2.040907/src'
make -C ghcsrc "hc=ghc"
make[1]: Entering directory `/root/download/polyp-2.040907/ghcsrc'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/root/download/polyp-2.040907/ghcsrc'
Read the files src/ghc.USAGE and USAGE for details on how to run PolyP
make -C polylib all
make[1]: Entering directory `/root/download/polyp-2.040907/polylib'
../bin/ghcpolyp PolyLib/Base.phs > PolyLib/Base.hs
/bin/sh: line 1: ../bin/ghcpolyp: cannot execute binary file
make[1]: *** [PolyLib/Base.hs] Error 126
make[1]: Leaving directory `/root/download/polyp-2.040907/polylib'
make: *** [ghc] Error 2
S u tom ghc.USAGE se nalazi
[code][This is the file src/ghc.USAGE]
If the installation works out the executable should be in bin/ghcpolyp.
Rename this to polyp and put it on your path
or link to it from your own bin directory (this is tcsh syntax)
setenv POLYPDIR pwd
ln -s $POLYPDIR/bin/ghcpolyp $HOME/bin/polyp
The USAGE file gives more information (and assumes the executable is
called “polyp”).[/code]
Sta mi je ciniti