Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-18 Thread Eric Kow
I also get this with the HomeBrew wxWidgets.
(Just to be clear it's not just MacPorts :-))

On 17 Apr 2012, at 22:28, Conal Elliott wrote:

 I get the following when trying to run a simple wxHaskell program in ghci:
 
 Loading package wxc-0.90.0.2 ... can't load framework: QuickTime 
 (dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 9): no 
 suitable image found.  Did find:
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching 
 architecture in universal wrapper
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching 
 architecture in universal wrapper)
 
 Any suggestions? I'm using Mac OS 10.6.8 and GHC-7.0.4 from the Haskell 
 Platform.
 
 -- Conal
 


-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-18 Thread Heinrich Apfelmus
Conal Elliott wrote:
 I'm excited to see progress in ghci-friendliness! I installed
 wxWidgets-devel-2.9.3 via macports and then wxHaskell, and I get the
 following when trying to run a simple wxHaskell program in ghci:
 
 Loading package wxc-0.90.0.2 ... can't load framework: QuickTime
 (dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 9): no
 suitable image found.  Did find:
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
 architecture in universal wrapper
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
 architecture in universal wrapper)

 
 Any suggestions? I'm using Mac OS 10.6.8 and GHC-7.0.4 from the Haskell
 Platform.

It appears to me that the QuickTime framework only supports 32bit and 
PPC architectures

  $ cd /System/Library/Frameworks/QuickTime.framework/
  $ lipo -info QuickTime
  Architectures in the fat file: QuickTime are: i386 ppc7400

This means that you can't link it with 64bit code.


As far as I understand the situation, Apple is doing a complete 
reimplementation of QuickTime. The legacy QuickTime framework as used by 
the QuickTime Player 7 will not be updated to 64bit.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-18 Thread Jeremy O'Donoghue
I'll try and take a look at it this week. Currently I don't have a
convenient wxWidgets 2.8.x development environment, but I'll create one.

Jeremy

On 14/04/2012 22:40, Henk-Jan van Tuyl hjgt...@chello.nl wrote:


L.S.,

I had some problems installing the branch for wxWidgets 2.8.x:

The command
   cabal install 'wx  0.90'
results in
   Resolving dependencies...
   Downloading wxdirect-0.90...
   :
.

The dependency on wxcore in wx.cabal (version 0.13.2.1) must have an
upper  
limit ' 0.90' and the dependency in wxdirect in wxcore.cabal (version
0.13.2.1) must have an upper limit ' 0.90'

Another bug:
Cabal-install tried to install wxc-0.90; I saw the following error
message:
   setup.exe: This version of wxcore requires wx 2.9 to be available
wx should be wxWidgets, of course.

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--



--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-17 Thread Conal Elliott
I'm excited to see progress in ghci-friendliness! I installed
wxWidgets-devel-2.9.3 via macports and then wxHaskell, and I get the
following when trying to run a simple wxHaskell program in ghci:

Loading package wxc-0.90.0.2 ... can't load framework: QuickTime
 (dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 9): no
 suitable image found.  Did find:
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
 architecture in universal wrapper
 /System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
 architecture in universal wrapper)


Any suggestions? I'm using Mac OS 10.6.8 and GHC-7.0.4 from the Haskell
Platform.

-- Conal

On Fri, Apr 13, 2012 at 3:50 PM, Jeremy O'Donoghue 
jeremy.odonog...@gmail.com wrote:

 Hi Haskellers,

 I am delighted to announce the release of wxHaskell 0.90. This release
 represents a significant milestone for us as it includes support for
 wxWidgets 2.9.x.

 The release is avalable from Hackage and as a darcs repo from
 http://code.haskell.org/wxhaskell. Build and installation instructions
 have been updated on the Haskell wiki at
 http://www.haskell.org/haskellwiki/Wxhaskell.

 Highlights of the new release:

- Builds and runs cleanly on 64 bit platforms (particularly MacOS X
Lion).
- The wxWidgets C wrapper is now built as a DLL on all platforms.
   - This is reported to enable meaningful use of wxHaskell in GHCi,
   at least on OS X and Windows.
   - It also theoretically allows wxc to be used independently of
   wxHaskell as the basis of a wxWidgets wrapper for other programming
   languages. Some D language hackers have expressed an interest in this.
   - New controls:
   - Styled Text Control (actually, this is reinstated as it was
   'lost' a while back during cabalization)
   - OpenGL support
   - PropertyGrid control
- Many events added in anticipation of wrapping more controls in the
near future.

 There were many contributors to this release, the most notable being Dave
 Tapley (with the generous support of Mentics Inc.). Dave was responsible
 for the refactoring of wxc and PropertyGrid support. Eric Kow put in quite
 a bit of work with Kenny Frodo, Doaitse Swierstra and Alessandro Vermeulen
 on MacOS support. There were a couple of contributions from long-time
 wxHaskell contributor shelarcy, and bug reports, fixes and support from a
 larger community than I ever realised we had.

 Support for wxWidgets 2.8.x will continue in a 'maintenance mode'
 continuing from the wxHaskell 0.13 codeline. If you continue to use the old
 codeline, please take note of the changes to the procedure to get the
 correct version for your needs. This is also documented at
 http://www.haskell.org/haskellwiki/Wxhaskell.

 Thanks to everyone involved.

 Best regards

 Jeremy


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Heinrich Apfelmus
Eric Kow wrote:
 On 14 Apr 2012, at 00:16, Eric Kow wrote:
 Now some good and bad news for MacOS: seems to build fine if you
 have GHC 7.0.4. GHC 7.4.1 may require a minor patch that's in the
 darcs repo, probably something worth a micro release of wxc.
 
 Better news!  Getting this working was just a matter of tacking on
 --use-llvm
 
 I've updated
 
 http://www.haskell.org/haskellwiki/WxHaskell/Mac
 
 If you've recently struggled getting wxHaskell working on MacOS X,
 I'd appreciate your feedback on things that you might trip over.
 *Hopefully* this new release allows people to just make wxHaskell
 work with just very common components: HP, HomeBrew.

Thanks for the new wxHaskell release!


I just tripped over a bug in the  Setup.hs  belonging to  wxc  that 
prevented me from compiling wxHaskell with 32bit architecture.

The problem is the following: in the function  linkSharedLib , the 
function  runProgram  is commented out and the function  system  is used 
instead. This is not correct because  gcc  may (and in my case: does) 
carry additional command line options! (Besides, the verbose output is 
lost.)

Apparently, this was done because the   runProgram  didn't work for some 
reason. The reason is that some command line options are actually two 
arguments. In particular, setting the output file via

   -o  ++ out_dir / sharedLibName ver basename,

is not correct, the right way to go about it are two arguments

   -o, out_dir / sharedLibName ver basename,

Same for the -install_name option. Four lines need to be changed in 
the  linkCxxOpts  file, then  runProgram  will work.


Apologies for the long description, I just don't know how to send a patch.


With the changes above, I'm able to link several example programs and 
run them. Some have issues, likely due to the Cocoa version of 
wxWidgets. Haven't tried GHCi yet.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Jeremy O'Donoghue
I think I have already worked out the patch - so don't worry too much.

Jeremy

On 14 April 2012 15:08, Eric Kow eric@gmail.com wrote:

 Nice catches!

 On 14 Apr 2012, at 14:31, Heinrich Apfelmus wrote:
  Apologies for the long description, I just don't know how to send a
 patch.

 Can you do the following?

 darcs record
 darcs send -O

 and then email the patch to wxhaskell-de...@lists.sourceforge.net

 If you have an MTA like postfix or msmtp set up, darcs can automate the
 emailing
 http://wiki.darcs.net/Using/Send

 --
 Eric Kow http://erickow.com



 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Eric Kow
On 14 Apr 2012, at 15:18, Alessandro Vermeulen wrote:

 I *think* if you are using Xcode 4.2, the easy approach is just to use 
 HomeBrew and install as brew install wxmac --devel (this flag seems to select 
 2.9)

 I think you can do that because you have my version of the formula installed. 
 As far as I know my patch has not been accepted into the homebrew master yet. 
 I have attached the formula.

Parallel evolution?

* https://github.com/mxcl/homebrew/blob/master/Library/Formula/wxmac.rb
* 
https://github.com/mxcl/homebrew/commit/c15bf392060aebf87edc5b367672cd781084f209

-- 
Eric Kow http://erickow.com



signature.asc
Description: Message signed with OpenPGP using GPGMail
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Jeremy O'Donoghue
Patch for wxc added, built, tested and pushed to Hackage and
code.haskell.org (as wxc 0.90.0.2)

The Hackage version also now includes Eric's GHC 7.1.x fix.

Jeremy

On 14 April 2012 15:09, Jeremy O'Donoghue jeremy.odonog...@gmail.comwrote:

 I think I have already worked out the patch - so don't worry too much.

 Jeremy

 On 14 April 2012 15:08, Eric Kow eric@gmail.com wrote:

 Nice catches!

 On 14 Apr 2012, at 14:31, Heinrich Apfelmus wrote:
  Apologies for the long description, I just don't know how to send a
 patch.

 Can you do the following?

 darcs record
 darcs send -O

 and then email the patch to wxhaskell-de...@lists.sourceforge.net

 If you have an MTA like postfix or msmtp set up, darcs can automate the
 emailing
 http://wiki.darcs.net/Using/Send

 --
 Eric Kow http://erickow.com



 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users



--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Alessandro Vermeulen

 I *think* if you are using Xcode 4.2, the easy approach is just to use
 HomeBrew and install as brew install wxmac --devel (this flag seems to
 select 2.9)

I think you can do that because you have my version of the formula
installed. As far as I know my patch has not been accepted into the
homebrew master yet. I have attached the formula.


2012/4/14 Eric Kow eric@gmail.com

 On Friday, 13 April 2012, Jeremy O'Donoghue wrote:

 I am delighted to announce the release of wxHaskell 0.90. This release
 represents a significant milestone for us as it includes support for
 wxWidgets 2.9.x.

 Highlights of the new release:

- Builds and runs cleanly on 64 bit platforms (particularly MacOS X
Lion).

 This is great news!  Thanks for all the patient merging work, and to Dave
 for making wxc into reality

 Now some good and bad news for MacOS: seems to build fine if you have GHC
 7.0.4. GHC 7.4.1 may require a minor patch that's in the darcs repo,
 probably something worth a micro release of wxc.

 Tricky bit may be to install wxWidgets. I don't have clear answers because
 I have an older version I'd installed before upgrading Xcode, etc.

 I *think* if you are using Xcode 4.2, the easy approach is just to use
 HomeBrew and install as brew install wxmac --devel (this flag seems to
 select 2.9)

 When I tried it with Xcode 4.3, I got some error related to webkit that I
 didn't understand

 If anyone has recommendations, I'd be happy to hear them






 --
 Eric Kow http://erickow.com
 PGP Key ID: 08AC04F9


 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users




wxmac.rb
Description: Binary data
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-14 Thread Henk-Jan van Tuyl

L.S.,

I had some problems installing the branch for wxWidgets 2.8.x:

The command
   cabal install 'wx  0.90'
results in
   Resolving dependencies...
   Downloading wxdirect-0.90...
   :
.

The dependency on wxcore in wx.cabal (version 0.13.2.1) must have an upper  
limit ' 0.90' and the dependency in wxdirect in wxcore.cabal (version  
0.13.2.1) must have an upper limit ' 0.90'

Another bug:
Cabal-install tried to install wxc-0.90; I saw the following error message:
   setup.exe: This version of wxcore requires wx 2.9 to be available
wx should be wxWidgets, of course.

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


[wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-13 Thread Jeremy O'Donoghue
Hi Haskellers,

I am delighted to announce the release of wxHaskell 0.90. This release
represents a significant milestone for us as it includes support for
wxWidgets 2.9.x.

The release is avalable from Hackage and as a darcs repo from
http://code.haskell.org/wxhaskell. Build and installation instructions have
been updated on the Haskell wiki at
http://www.haskell.org/haskellwiki/Wxhaskell.

Highlights of the new release:

   - Builds and runs cleanly on 64 bit platforms (particularly MacOS X
   Lion).
   - The wxWidgets C wrapper is now built as a DLL on all platforms.
  - This is reported to enable meaningful use of wxHaskell in GHCi, at
  least on OS X and Windows.
  - It also theoretically allows wxc to be used independently of
  wxHaskell as the basis of a wxWidgets wrapper for other programming
  languages. Some D language hackers have expressed an interest in this.
  - New controls:
  - Styled Text Control (actually, this is reinstated as it was 'lost'
  a while back during cabalization)
  - OpenGL support
  - PropertyGrid control
   - Many events added in anticipation of wrapping more controls in the
   near future.

There were many contributors to this release, the most notable being Dave
Tapley (with the generous support of Mentics Inc.). Dave was responsible
for the refactoring of wxc and PropertyGrid support. Eric Kow put in quite
a bit of work with Kenny Frodo, Doaitse Swierstra and Alessandro Vermeulen
on MacOS support. There were a couple of contributions from long-time
wxHaskell contributor shelarcy, and bug reports, fixes and support from a
larger community than I ever realised we had.

Support for wxWidgets 2.8.x will continue in a 'maintenance mode'
continuing from the wxHaskell 0.13 codeline. If you continue to use the old
codeline, please take note of the changes to the procedure to get the
correct version for your needs. This is also documented at
http://www.haskell.org/haskellwiki/Wxhaskell.

Thanks to everyone involved.

Best regards

Jeremy
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] [Announce] wxHaskell 0.90

2012-04-13 Thread Eric Kow
On Friday, 13 April 2012, Jeremy O'Donoghue wrote:

 I am delighted to announce the release of wxHaskell 0.90. This release
 represents a significant milestone for us as it includes support for
 wxWidgets 2.9.x.

 Highlights of the new release:

- Builds and runs cleanly on 64 bit platforms (particularly MacOS X
Lion).

 This is great news!  Thanks for all the patient merging work, and to Dave
for making wxc into reality

Now some good and bad news for MacOS: seems to build fine if you have GHC
7.0.4. GHC 7.4.1 may require a minor patch that's in the darcs repo,
probably something worth a micro release of wxc.

Tricky bit may be to install wxWidgets. I don't have clear answers because
I have an older version I'd installed before upgrading Xcode, etc.

I *think* if you are using Xcode 4.2, the easy approach is just to use
HomeBrew and install as brew install wxmac --devel (this flag seems to
select 2.9)

When I tried it with Xcode 4.3, I got some error related to webkit that I
didn't understand

If anyone has recommendations, I'd be happy to hear them






-- 
Eric Kow http://erickow.com
PGP Key ID: 08AC04F9
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users