Re: [wxhaskell-users] [wxhaskell-devel] wxHaskell Problems.

2012-03-14 Thread Eric Kow
Hi Michael,

On 13 Mar 2012, at 20:51, Paul-Michael Sorhaindo wrote:
 I've been trying to install the latest package of wxcore which I believe is 
 0.13.2.1. 
 
 I have taken several steps to try and get it to install here is my current 
 situation.
 
 I'm running Debian's wheezy.
 I have wxWidgets-2.9.3. built from source.

I'm afraid my efforts have been focused on MacOS X.
You'd contacted me on twitter, mentioning my branch, so I assumed you were on 
Mac too :-)

 So after reading a blog post, I think it was your own talking about Debian 
 and wxHaskell. I decided to use the repository on darcsden.

Presumably, you're referring to
* http://darcsden.com/kowey/wxhaskell-osx64-dave

I don't recommend using my work, as it's really Mac specific.

Maybe try Dave or Jeremy's branches instead.  It's possible one of my changes 
is not portable to Linux.
* http://darcsden.com/DukeDave/wxhaskell-dev
* http://darcsden.com/jodonoghue/wxhaskell-wx29-jod

Sorry for the proliferation of branches. There's been quite a few lines of 
development lately.  Hopefully over time we will be able to merge these back 
all into mainline.

 src/cpp/ewxw_main.cpp:112:3:
 error: ‘wxPendingEvents’ was not declared in this scope
 src/cpp/ewxw_main.cpp: In function ‘void ELJApp_initialize(void*, 
 AppInitFunc, int, void*)’:
 
 src/cpp/ewxw_main.cpp:123:3:
 error: ‘wxPendingEvents’ was not declared in this scope
 cabal: Error: some packages failed to install:

I seem to remember that Dave's branch disables the use of wxPendingEvents 
outside of Windows.
(but then, so should mine)

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [wxhaskell-devel] wxHaskell Problems.

2012-03-14 Thread Eric Kow

On 13 Mar 2012, at 20:51, Paul-Michael Sorhaindo wrote:
 So after reading a blog post, I think it was your own talking about Debian 
 and wxHaskell. I decided to use the repository on darcsden. I've forked and 
 pulled the repository. After  running cabal install in in the wx folder I 
 get this error


Also, one thing I noticed:

When building from checked out sources (rather than packages on hackage), you 
need to do this:
[this applies to Dave's branch and my branch of his branch]

cd wxdirect
cabal install
cd ..

cd wxc
cabal install
cd ..

cd wxcore
cabal install
cd ..

cd wx
cabal install
cd ..

If you just cd directly into wx without first going through wxdirect, etc, what 
will happen is that cabal-install will attempt to fetch the hackage version of 
wx's dependencies, ie. the hackage wxcore, etc.  However, what you really want 
is to install the darcs wxcore to go with the darcs wx.

If you prefer using sandboxed build environments, you should be able to do 
something like

cabal install cabal-dev
cabal install ./wxdirect ./wxc ./wxcore ./wx

Hope this helps,

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users