On Sat, 07 Jan 2012 01:02:44 +0900, Dave Tapley <dave.a.tap...@gmail.com> wrote:
>
>> This version has two installing problem.
>>
>> 2. It seems that wxcore depends on Eric's wx-config implicitly at least
>> Windows environment. "cabal install" fail with wx-config-win binary,
>>
>
> Can you remember how this failed, or send some output from the failure, and
> also let us know what version of wxWidgets you have?
> I'm hoping you say you have wx-2.9.x, in which case it could be this issue:
> http://code.google.com/p/wx-config-win/issues/detail?id=21

I used wxWidgets 2.8.12 (wxPack v2.8.12.01) to install wxcore. I can install
previous version with wx-config(-win).


C:\home\working> cabal install wx-0.12.1.6 wxcore-0.12.1.7
(snip)
Registering wxcore-0.12.1.7...
Installing library in
C:\Users\shelarcy\AppData\Roaming\cabal\wxcore-0.12.1.7\ghc-7.0.4
Registering wxcore-0.12.1.7...
Configuring wx-0.12.1.6...
Preprocessing library wx-0.12.1.6...
Building wx-0.12.1.6...
(snip)
Registering wx-0.12.1.6...
Installing library in
C:\Users\shelarcy\AppData\Roaming\cabal\wx-0.12.1.6\ghc-7.0.4
Registering wx-0.12.1.6...


But ... I can't install current version with wx-config(-win).

Here's the output.


C:\home\working>wx-config -v
wx-config revision 21 2006-10-19

C:\home\working>cabal install wxcore
Resolving dependencies...
[1 of 1] Compiling Main             ( C:\Users\shelarcy\AppData\Local\Temp\wxcor
e-0.13.27884\wxcore-0.13.2\Setup.hs, C:\Users\shelarcy\AppData\Local\Temp\wxcore
-0.13.27884\wxcore-0.13.2\dist\setup\Main.o )
Linking C:\Users\shelarcy\AppData\Local\Temp\wxcore-0.13.27884\wxcore-0.13.2\dis
t\setup\setup.exe ...
generating: src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 535 class definitions.
ok.
generating: src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 382 class info definitions
ok.
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generating: src/haskell/Graphics/UI/WXCore/WxcClassesAL.hs
reading class definitions:
parsing: src/include/wxc.h
parsing: src/include/wxc_types.h
parsing: src/include/wxc_glue.h
parsing: src/include/dragimage.h
parsing: src/include/graphicscontext.h
parsing: src/include/glcanvas.h
parsing: src/include/sound.h
parsing: src/include/managed.h
parsing: src/include/mediactrl.h
parsing: src/include/previewframe.h
parsing: src/include/printout.h
parsing: src/include/textstream.h
parsing: src/include/stc.h
parsing: src/include/stc_gen.h
generated 1468 methods for 116 classes.
generating: src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs
generated 2320 methods for 123 classes.
generating: src/haskell/Graphics/UI/WXCore/WxcClasses.hs
generated 3788 total methods for 239 total classes.
ok.
parsing: src/eiffel/wxc_defs.e
parsing: src/eiffel/wx_defs.e
parsing: src/eiffel/stc.e
generating: src/haskell/Graphics/UI/WXCore/WxcDefs.hs
generated 2454 constant definitions
ok.
Usage: wx-config [options]
Options:
   --prefix[=DIR]              Path of the wxWidgets installation (ie. 
C:\wxWidge
ts2.6.3)
   --wxcfg[=DIR]               Relative path of the build.cfg file (ie. 
gcc_dll\m
swud)
   --cflags                    Outputs all pre-processor and compiler flags.
   --cxxflags                  Same as --cflags but for C++.
   --rcflags                   Outputs all resource compiler flags. [UNTESTED]
   --libs                      Outputs all linker flags.

   --debug[=yes|no]            Uses a debug configuration if found.
   --unicode[=yes|no]          Uses an unicode configuration if found.
   --static[=yes|no]           Uses a static configuration if found.
   --universal[=yes|no]        Uses an universal configuration if found.
   --easymode[=yes|no]         Outputs warnings, and optimize flags.
   --compiler[=gcc,dmc,vc]     Selects the compiler.
   --release                   Outputs the wxWidgets release number.
   --cc                        Outputs the name of the C compiler.
   --cxx                       Outputs the name of the C++ compiler.
   --ld                        Outputs the linker command.
   -v                          Outputs the revision of wx-config.

   Note that using --prefix is not needed if you have defined the
   environmental variable WXWIN.

   Also note that using --wxcfg is not needed if you have defined the
   environmental variable WXCFG.

setup.exe: failed
cabal: Error: some packages failed to install:
wxcore-0.13.2 failed during the configure step. The exception was:
ExitFailure 1



Best Regards,


>  and "cabal install" success with Eric's one. If wxcore depends on
>> wx-config package in only Windows environment, I think we should upload
>> Eric's wx-config package, and modify wxcore to denped on wx-config package
>> on  Windows environment for workaround.
>>
>> if os(windows)
>>   Build-Depends: wx-config
>>
>> wx-config package isn't uploaded yet. So, I don't upload newer version,
>> nor attach patch for fixing this problem.
>>
>
> We're still making a decision on whether to continue using wx-config(-win),
> or to adopt Eric's one.
> I'm going to see if I can get a conversation going with the wxWidgets
> people and then I'll send out another mail.

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to