Hmm, I think I got it fixed.

I did a clean-out of cabal files, reloaded them all, and made sure that I only 
had wx-config 2.6 anywhere on my path, and it seems to build properly now!

I think that although I was seeing a new (2.6) wx-config, there was still an 
old (2.1) around on which was getting found somehow, and this was goofing 
things up. I deleted it, made sure only 2.6 versions were areound, and now it 
all seems to build.

Next to try in in Haskell!

Thanks for the help and hints.
-------------------------------------------
> -----Original Message-----
> From: Gregory Guthrie [mailto:guth...@mum.edu]
> Sent: Thursday, June 14, 2012 7:52 PM
> To: Fabian Binz; wxhaskell-users@lists.sourceforge.net
> Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows
> 
> C:\Users\guthrie>cabal --version
> cabal-install version 0.14.0
> using version 1.14.0 of the Cabal library
> 
> C:\Users\guthrie>ghc-pkg list
> E:/Plang/Haskell Platform\lib\package.conf.d:
>     Cabal-1.10.1.0
>     Cabal-1.10.2.0
>     Cabal-1.14.0
>    ...
> 
> C:\Users\guthrie>cabal install wxc
> Resolving dependencies...
> [1 of 1] Compiling Main             ( 
> C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-
> 12076\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData
> \Local\Temp\wxc-0.90.0.3-12076\wxc-0.90.0.3\dist\setup\Main.o ) Linking
> C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-12076\wxc-
> 0.90.0.3\dist\setup\setup.exe ...
> Configuring wxc-0.90.0.3...
> Configuring wxc to build against wxWidgets 2.9
> 
> setup.exe: Missing dependencies on foreign libraries:
> * Missing C libraries: wxmsw29ud_all, wxmsw29ud This problem can usually be 
> solved by
> installing the system packages that provide these libraries (you may need the 
> "-dev"
> versions). If the libraries are already installed but in a non-standard 
> location then you can use
> the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they 
> are.
> cabal: Error: some packages failed to install:
> wxc-0.90.0.3 failed during the configure step. The exception was:
> ExitFailure 1
> 
> 
> > -----Original Message-----
> > From: Fabian Binz [mailto:fabianb...@yahoo.de]
> > Sent: Wednesday, June 13, 2012 1:02 PM
> > To: wxhaskell-users@lists.sourceforge.net
> > Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows
> >
> > > But I note that the wiki page for wxHaskell says to have a
> > > cabal/wxc-xxx/ghcversion
> > I don't have that either. I thus conclude, that you don't need it and
> > it doesn't seem to be the source of your problem.
> >
> > > cabal install wxc
> > >  Resolving dependencies...
> > >  <command line>: cannot satisfy -package Cabal-1.10.2.0:
> >
> > Which version of Cabal (note: the library, not the tool cabal-install)
> > do you have installed? You can check that by running "ghc-pkg list" from 
> > the command line.
> > Maybe it's a problem with your package database (you can check by running 
> > "ghc-pkg check"
> > and if it is broken you can try "ghc-pkg recache").
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Gregory Guthrie [mailto:guth...@mum.edu]
> > Gesendet: Mittwoch, 13. Juni 2012 18:25
> > An: Fabian Binz; wxhaskell-users@lists.sourceforge.net
> > Betreff: RE: [wxhaskell-users] problems buiding wxHaskell on Windows
> >
> > Yes, I did just this. Using your flags all of wxWidgets compile, and all 
> > samples run.
> >
> > But I note that the wiki page for wxHaskell says to have a
> > cabal/wxc-xxx/ghcversion
> >
> > On the path, but I don't have any such directory in my cabal (although I 
> > did set the path...).
> > There is a wxdirect-0.90.0.1 installed there, nothing else new of "wx*".
> >
> > Trying to do the cabal installs, I used the version 21 of wx-config, and 
> > still get these
> errors:
> >
> >    E:\Plang\Libraries\wxWidgets2.9>cabal install wxc
> >    Resolving dependencies...
> >    [1 of 1] Compiling Main             ( 
> > C:\Users\guthrie\AppData\Local\Temp\wxc-0.
> >    90.0.3-11300\wxc-0.90.0.3\Setup.hs, 
> > C:\Users\guthrie\AppData\Local\Temp\wxc-
> 0.90
> >    .0.3-11300\wxc-0.90.0.3\dist\setup\Main.o )
> >    Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-11300\wxc-
> > 0.90.0.3\dist\setup\setup.exe ...
> >    Configuring wxc-0.90.0.3...
> >    Configuring wxc to build against wxWidgets 2.9
> >
> >    setup.exe: Missing dependencies on foreign libraries:
> >    * Missing C libraries: wxmsw29ud_all, wxmsw29ud
> >    This problem can usually be solved by installing the system packages that
> >    provide these libraries (you may need the "-dev" versions). If the 
> > libraries
> >    are already installed but in a non-standard location then you can use the
> >    flags --extra-include-dirs= and --extra-lib-dirs= to specify where they 
> > are.
> >    cabal: Error: some packages failed to install:
> >    wxc-0.90.0.3 failed during the configure step. The exception was:
> >    ExitFailure 1
> >
> > Using your FLAGS did help in the build of wxWidgets, now all of the samples 
> > compile and
> run.
> >
> > Upgrading to version 26 of wx-config changes the errors to this:
> >
> >    C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install wxc
> >    Resolving dependencies...
> >    <command line>: cannot satisfy -package Cabal-1.10.2.0:
> >     Cabal-1.10.2.0-db589dd5d526d3111ac2fde0f9ab986c is unusable due to 
> > missing or
> recursive dependencies:
> >       array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3 
> > base-4.3.1.0-f520cd232cc386
> >    346843c4a12b63f44b containers-0.4.0.0-18deac99a132f04751d862b77aab136e
> directory
> >    -1.1.0.0-3a2367d72569467a8af8a231656ff1b8 filepath-1.2.0.0-
> f132e9f7703da4e20a47f
> >    f2b9acf1ea1 old-time-1.0.0.6-445ce39cbcebd38069c25c0f383b728d 
> > pretty-1.0.1.2-abc
> >    7c632374e50e1c1927987c2651f0f process-1.0.1.5-
> > b3dded8e54a2e13d22af410bdcfafff4
> >        (use -v for more information)
> >    cabal: Error: some packages failed to install:
> >    wxc-0.90.0.3 failed during the configure step. The exception was:
> >    ExitFailure 1
> >
> > Trying to resolve them:
> >    C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install base
> >    Resolving dependencies...
> >    cabal: internal error: impossible
> >
> >    C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install array
> >    Resolving dependencies...
> >    No packages to be installed. All the requested packages are already 
> > installed.
> >    If you want to reinstall anyway then use the --reinstall flag.
> >
> >    C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install process
> >    Resolving dependencies...
> >    No packages to be installed. All the requested packages are already 
> > installed.
> >    If you want to reinstall anyway then use the --reinstall flag.
> >
> > Etc...  ???
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat 
> landscape has changed
> and how IT managers can respond. Discussions will include endpoint security, 
> mobile security
> and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to