Do the following:
1. Open register.sh file in the /usr/lib/libghc6-hgl-dev directory, for example in terminal
"sudo nano /usr/lib/libghc6-hgl-dev/register.sh"
2. Look for the line
"depends: base-3.0.1.0 array-0.1.0.0 X11-1.3.0"
and simply change the X11-1.3.0 to your version of X11 bindings for haskell (you can get this by writing in terminal "ghc-pkg list X11")
3. Save the file and execute it in terminal: "sudo bash regsiter.sh"
This should fix the problem.
Sorry for not using my Polish :) Perhaps some english speaking users encountered same problem.
Do the following:
1. Open register.sh file in the /usr/lib/ libghc6- hgl-dev directory, for example in terminal
"sudo nano /usr/lib/ libghc6- hgl-dev/ register. sh"
2. Look for the line
"depends: base-3.0.1.0 array-0.1.0.0 X11-1.3.0"
and simply change the X11-1.3.0 to your version of X11 bindings for haskell (you can get this by writing in terminal "ghc-pkg list X11")
3. Save the file and execute it in terminal: "sudo bash regsiter.sh"
This should fix the problem.
Sorry for not using my Polish :) Perhaps some english speaking users encountered same problem.