[wxhaskell-devel] build conflicts

2020-05-24 Thread David Duke
On linux The Glorious Glasgow Haskell Compilation System, version 8.6.5 compiled using version 2.4.0.1 of the Cabal library 1.3.6.1-BYFFNcZJFE8A61mvswaSZH) requires time-1.8.0.2 wxdirect would not istall via cabal. Downloading the archive to dig deeper and running configure I get This package i

Re: [wxhaskell-devel] Build failure

2013-08-02 Thread M. Schulte
Hi, > it seems that the problem lies with wxc. I (for now) have provided > bin/mk-cabal to build locally, did you use that, what is the full > build output, in particular w.r.t wxc? Yes, I have used bin/mk-cabal. The full build output is here: http://pastebin.com/XSgGDh9E (Atze, nevermind my last

Re: [wxhaskell-devel] Build failure

2013-08-02 Thread Atze Dijkstra
Hi Melanie, it seems that the problem lies with wxc. I (for now) have provided bin/mk-cabal to build locally, did you use that, what is the full build output, in particular w.r.t wxc? wxc build (e.g.) might fail because of an incorrect/incomplete install of wxWidgets. Is the correct (and not an

Re: [wxhaskell-devel] Build failure

2013-08-02 Thread M. Schulte
Hi, thanks for your quick help, Atze. > this problem is fixed in the forked repo > https://github.com/atzedijkstra/wxHaskell. See the README there. The > intent is that this fork will merge back into the official repo and > an update of the version available via cabal and Hackage. I have install

Re: [wxhaskell-devel] Build failure

2013-08-02 Thread Atze Dijkstra
Hi Melanie, this problem is fixed in the forked repo https://github.com/atzedijkstra/wxHaskell. See the README there. The intent is that this fork will merge back into the official repo and an update of the version available via cabal and Hackage. regards, On 2 Aug, 2013, at 01:19 , "M. Schu

[wxhaskell-devel] Build failure

2013-08-01 Thread M. Schulte
Hi, I'm on Fedora 18, having installed wxWidgets (GTK) 2.9 in ~/local, ~/local/bin is in $PATH. When I do 'cabal install wx', the following error gets triggered: [...] /usr/bin/gcc -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -Isrc/include -I/home/mel/local/include/wx-2.9 -I/home/mel/local

Re: [wxhaskell-devel] Build

2013-06-02 Thread harry
Eric Kow writes: > >PATH: (add these) > > %WXWIN%\lib\gcc_dll;%WXWIN%;%CABAL_DIR%\wxc-%WXC_VERSION%\%GHC_VERSION% > So by rights, as far as building wxHaskell and wxHaskell apps is concerned (sandbox or no), we need > “only” really set the WXWIN and WXCFG environment variables. I forget wha

Re: [wxhaskell-devel] Build

2013-06-02 Thread Eric Kow
On 2 Jun 2013, at 08:44, harry wrote: > Referring to the installation instructions, we have the following > environment variables: > >CABAL_DIR: C:\Users\XXX\AppData\Roaming\cabal (Windows XP: C:\Documents > and Settings\XXX\Application Data\cabal, or: %APPDATA%\cabal) >GHC_VERSION: 7.0.

Re: [wxhaskell-devel] Build

2013-06-02 Thread harry
Referring to the installation instructions, we have the following environment variables: CABAL_DIR: C:\Users\XXX\AppData\Roaming\cabal (Windows XP: C:\Documents and Settings\XXX\Application Data\cabal, or: %APPDATA%\cabal) GHC_VERSION: 7.0.3 (for our convenience) WXC_VERSION: 0.90.0.2

Re: [wxhaskell-devel] Build

2013-06-02 Thread Eric Kow
On 2 Jun 2013, at 07:56, harry wrote: > The next hurdle is wxcore, which expects to find various bits of wxc in > places that it should really be keeping its nose out of. I suspect that if > everything has been set up correctly outsides of the sandbox, this too will > succeed by following the envi

Re: [wxhaskell-devel] Build

2013-06-01 Thread harry
Eric Kow writes: > OK let me get this straight. Is the user-facing problem here that installing wxHaskell for use in a sandbox > environment is impossible or just very inconvenient/difficult? The problem is that cabal-dev tries to install all the dependencies automatically. So if I have a depen

Re: [wxhaskell-devel] Build

2013-06-01 Thread Howard B. Golden
On 06/01/2013 01:34 PM, Eric Kow wrote: > I had some longer comments on the technical issues. I think we may > be need to step back a bit and peel apart the fundamental issues > first (C++, shared libraries, other?) but first let's make sure we > understand what the user-facing problem really is.

Re: [wxhaskell-devel] Build

2013-06-01 Thread Eric Kow
OK, so let's step back a bit. I think Luc's right in two senses, first that we need to understand what the user-facing problem is, and second what is technical problem lying at the heart of user-facing problem. In your first message you said: > OTOH, cabal install wxdirect installs both the he

Re: [wxhaskell-devel] Build

2013-06-01 Thread harry
Eric Kow writes: > May I ask which environment variables in particular you're referring to? All of them, particularly those used to find the location of wxc. cabal-dev installs all dependencies blindly, and doesn't know to set environment variables. > (B) [an aspiring wxHaskell hacker] modify w

Re: [wxhaskell-devel] Build

2013-05-31 Thread Eric Kow
OK, I'm studying http://www.haskell.org/haskellwiki/WxHaskell/Windows to update my understanding of the build infrastructure a bit May I ask which environment variables in particular you're referring to? So for the matter of executables not being on the path, two approaches might be (A1) [the

Re: [wxhaskell-devel] Build

2013-05-31 Thread harry
Eric Kow writes: > Is the issue something related to the wxdirect executable not being > available in the sandbox environment? Yes - executables built in cabal-dev aren't on the path (which is different for each sandbox). If wxdirect only built an executable, I could install it outside of the sa

Re: [wxhaskell-devel] Build

2013-05-31 Thread Luc Taesch
btw, we are already at the solution stage, what is the problem in fact ? what are the typical difficulties that a raise when installing wx ? is it on the C side or on the haskell side ? is it because they have to be fetched separately ? do we have a shared view on where lies the problems ?

Re: [wxhaskell-devel] Build

2013-05-31 Thread Eric Kow
On 31 May 2013 06:34, harry wrote: > The first problem is that wxdirect installs both executables and a library - > why is that necessary, and is there another way to do it? Could you elaborate on this? I'm not 100% sure I follow. Is the issue something related to the wxdirect executable not bei

Re: [wxhaskell-devel] Build

2013-05-30 Thread harry
Blair Archibald writes: > The logical first step seems to be to combine the 3 packages (wxcore, wx, wxc) into some form of singly installed package. I'm a novice when it comes to cabal so not sure how what the effects of such a change could be. > I appreciate that cabal is a great system for inst

Re: [wxhaskell-devel] Build

2013-05-30 Thread Eric Kow
Simpler would be fantastic, but there are technical reasons for the current setup. If you can meet the same goals whilst delivering an easier install experience (or boldly cut off goals that can be better understood as wrongheaded), more power to ya! * wxc - C++ to C wrapper. Uses make (or can

Re: [wxhaskell-devel] Build

2013-05-30 Thread Blair Archibald
I agree that the current deployment system for wxHaskell is not ideal and we should probably look into changing it. Does anyone have any ideas as to how we could go about this? The logical first step seems to be to combine the 3 packages (wxcore, wx, wxc) into some form of singly installed package

[wxhaskell-devel] Build

2013-05-30 Thread harry
Building Gtk2Hs on Windows is very straightforward. After Gtk+ is included in the path, cabal install gtk2hs-buildtools will install all the executables needed for building the bindings, but no libraries. cabal install gtk will then install the library. OTOH, cabal install wxdirect installs both t

[wxhaskell-devel] Build errors for wxHaskell

2012-05-03 Thread Edward Amsden
I have just installed wxHaskell 2.9.3 on OS X Lion from source. When I run cabal install wx, wxc building fails with the following error: src/cpp/ewxw_main.cpp: In function ‘void ELJApp_InitializeC(wxClosure*, int, char**)’: src/cpp/ewxw_main.cpp:99: warning: deprecated conversion from string con

Re: [wxhaskell-devel] Build error

2009-03-06 Thread Don Stewart
shelarcy: > On Fri, 06 Mar 2009 02:45:28 +0900, Don Stewart wrote: > > Much better, > > > > (snip) > > > > cat config/wxcore.pkg | sed -e "s|\${wxhlibdir}|/usr/lib|" | ghc-pkg > > update - > > Reading package info from stdin ... done. > > ghc-pkg: /usr/lib/imports doesn't exist or isn't a director

Re: [wxhaskell-devel] Build error

2009-03-05 Thread shelarcy
On Fri, 06 Mar 2009 02:45:28 +0900, Don Stewart wrote: > Much better, > > (snip) > > cat config/wxcore.pkg | sed -e "s|\${wxhlibdir}|/usr/lib|" | ghc-pkg > update - > Reading package info from stdin ... done. > ghc-pkg: /usr/lib/imports doesn't exist or isn't a directory (use > --force to override

Re: [wxhaskell-devel] Build error

2009-03-05 Thread Don Stewart
shelarcy: > Hi, > > On Thu, 05 Mar 2009 15:04:23 +0900, Don Stewart wrote: > > wxc/src/eljdc.cpp: In function ‘void wxDC_EndDrawing(wxDC*)’: > > wxc/src/eljdc.cpp:26: warning: ‘void wxDCBase::EndDrawing()’ is deprecated > > (declared at /usr/include/wx-2.8/wx/dc.h:393) > > wxc/src/eljdc.cpp: At

Re: [wxhaskell-devel] Build error

2009-03-05 Thread shelarcy
Hi, On Thu, 05 Mar 2009 15:04:23 +0900, Don Stewart wrote: > wxc/src/eljdc.cpp: In function ‘void wxDC_EndDrawing(wxDC*)’: > wxc/src/eljdc.cpp:26: warning: ‘void wxDCBase::EndDrawing()’ is deprecated > (declared at /usr/include/wx-2.8/wx/dc.h:393) > wxc/src/eljdc.cpp: At global scope: > wxc/src/

[wxhaskell-devel] Build error

2009-03-04 Thread Don Stewart
wxc/src/eljdc.cpp: In function ‘void wxDC_EndDrawing(wxDC*)’: wxc/src/eljdc.cpp:26: warning: ‘void wxDCBase::EndDrawing()’ is deprecated (declared at /usr/include/wx-2.8/wx/dc.h:393) wxc/src/eljdc.cpp: At global scope: wxc/src/eljdc.cpp:629: error: ‘wxMetafile’ was not declared in this scope wxc/s

Re: [wxhaskell-devel] build failure in new release

2008-10-12 Thread Don Stewart
shelarcy: > Hi, > > On Sat, 11 Oct 2008 11:26:43 +0900, Don Stewart <[EMAIL PROTECTED]> wrote: > > configuration: > > library: wxhaskell-0.10.4 (release 0) > > (snip) > > > > *** config/config.mk:22: *** missing separator. Stop. > > cabal: Error: some packages failed to install: > > wxcore

Re: [wxhaskell-devel] build failure in new release

2008-10-12 Thread Don Stewart
shelarcy: > Hi, > > On Sat, 11 Oct 2008 11:26:43 +0900, Don Stewart <[EMAIL PROTECTED]> wrote: > > configuration: > > library: wxhaskell-0.10.4 (release 0) > > (snip) > > > > *** config/config.mk:22: *** missing separator. Stop. > > cabal: Error: some packages failed to install: > > wxcore

Re: [wxhaskell-devel] build failure in new release

2008-10-10 Thread shelarcy
Hi, On Sat, 11 Oct 2008 11:26:43 +0900, Don Stewart <[EMAIL PROTECTED]> wrote: > configuration: > library: wxhaskell-0.10.4 (release 0) > (snip) > > *** config/config.mk:22: *** missing separator. Stop. > cabal: Error: some packages failed to install: > wxcore-0.10.4 failed during the buil

[wxhaskell-devel] build failure in new release

2008-10-10 Thread Don Stewart
configuration: library: wxhaskell-0.10.4 (release 0) compiler:ghc-6.10.0.20081007 wxwidgets: gtk-2.8.9 extensions: openGL:no mediactrl: no contrib: no library dir: /home/dons/.cabal/lib done: type 'make' to build wxhaskell. type 'make install' to install wxhaskell