SourceForge has been redesigned. Learn more.
Close

#44 Registering wxHaskell error.

closed-fixed
nobody
None
5
2010-05-20
2009-05-21
Dani
No

I get this error when registering wxhaskell (I have installed myng and cygwin)

I cant register anyway... clicking by explorer in windows... running in
cmd and adding the path of the folder, and everything that i could do.

and i always get this error:
El sistema no puede hallar el archivo especificado.
"C:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2" no se reconoce como un comando
interno o externo, programa o archivo por lotes ejecutable.
error:
Unable to find the wxHaskell packages (bin\wx.pkg)
Maybe the installation directory is not properly specified?

usage:
wxhaskell-register [installdir]

(or just double click on the batch file from the explorer)

the file wx.pkg is in that folder (the same that the .bat)

and if i run by CMD I get this error

C:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin>wxhaskell-register.bat c:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin\ 1 archivos copiados.
1 archivos copiados.
- register packages
Reading package info from
"c:\\ghc\\ghc-6.10.3\\wxhaskell-0.11.1.2\\bin\\\\bin\\wxcore.pkg" ... done.
wxcore-0.11.1.2: import-dirs:
"c:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin\\\lib\\imports" doesn't exist or isn't a directory (use --force to override)
wxcore-0.11.1.2: library-dirs:
"c:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin\\\lib"doesn't exist or isn't a directory (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore.hi is missing (use --force tooverride)

wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcClasses.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcClassInfo.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcDefs.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Types.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Defines.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\DragAndDrop.hi is missing (use--force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Draw.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Events.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Frame.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Layout.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Process.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Print.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Dialogs.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Image.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Controls.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\Db.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\OpenGL.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcObject.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcClassTypes.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcTypes.hi is missing (use --force tooverride)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcClassesAL.hi is missing (use --force to override)
wxcore-0.11.1.2: file Graphics\UI\WXCore\WxcClassesMZ.hi is missing (use --force to override)
wxcore-0.11.1.2: cannot find libwxcore.a on library path (use --force to override)
wxcore-0.11.1.2: cannot find libwxcore0.a on library path (use --force to override)
wxcore-0.11.1.2: cannot find libwxcore1.a on library path (use --force to override)
wxcore-0.11.1.2: cannot find libwxcore2.a on library path (use --force to override)

Reading package info from
"c:\\ghc\\ghc-6.10.3\\wxhaskell-0.11.1.2\\bin\\\\bin\\ wx.pkg" ... done.
wx-0.11.1.2: dependency wxcore-0.11.1.2 doesn't exist (use --force tooverride)
wx-0.11.1.2: import-dirs:
"c:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin\\\lib\\imports" doesn't exist or isn't a directory (use --force to override)
wx-0.11.1.2: library-dirs:
"c:\ghc\ghc-6.10.3\wxhaskell-0.11.1.2\bin\\\lib" doesn't exist or isn't a directory (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Types.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Attributes.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Layout.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Classes.hi is missing (use --force to override)

wx-0.11.1.2: file Graphics\UI\WX\Variable.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Events.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Window.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\TopLevelWindow.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Frame.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Media.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Menu.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Timer.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Draw.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Controls.hi is missing (use --force to override)
wx-0.11.1.2: file Graphics\UI\WX\Dialogs.hi is missing (use --force to override)

wx-0.11.1.2: cannot find libwx.a on library path (use --force to override)
error:
Unable to register the package using "ghc-pkg".
Maybe you have an incompatible version of ghc installed?

Presione una tecla para continuar . . .

Discussion

  • Jeremy O\'Donoghue

    Fixed with move to cabalized build system (revisions > 0.12)

     
  • Jeremy O\'Donoghue

    • status: open --> closed-fixed
     

Log in to post a comment.