|
From: Don S. <do...@ga...> - 2009-03-05 06:05:14
|
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/src/eljdc.cpp:629: error: ‘self’ was not declared in this scope
wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
wxc/src/eljdc.cpp:629: error: initializer expression list treated as compound expression
wxc/src/eljdc.cpp:630: error: expected ‘,’ or ‘;’ before ‘{’ token
wxc/src/eljdc.cpp:638: error: ‘wxMetafile’ was not declared in this scope
wxc/src/eljdc.cpp:638: error: ‘self’ was not declared in this scope
wxc/src/eljdc.cpp:638: error: expected primary-expression before ‘*’ token
wxc/src/eljdc.cpp:638: error: ‘_dc’ was not declared in this scope
wxc/src/eljdc.cpp:638: error: initializer expression list treated as compound expression
wxc/src/eljdc.cpp:639: error: expected ‘,’ or ‘;’ before ‘{’ token
wxc/src/eljdc.cpp:647: error: ‘wxMetafile’ was not declared in this scope
wxc/src/eljdc.cpp:647: error: ‘self’ was not declared in this scope
wxc/src/eljdc.cpp:648: error: expected ‘,’ or ‘;’ before ‘{’ token
wxc/src/eljdc.cpp:656: error: variable or field ‘wxMetafile_Delete’ declared void
wxc/src/eljdc.cpp:656: error: ‘wxMetafile’ was not declared in this scope
wxc/src/eljdc.cpp:656: error: ‘self’ was not declared in this scope
|
|
From: shelarcy <she...@gm...> - 2009-03-05 08:00:20
|
Hi,
On Thu, 05 Mar 2009 15:04:23 +0900, Don Stewart <do...@ga...> 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/eljdc.cpp:629: error: ‘wxMetafile’ was not declared in this scope
> wxc/src/eljdc.cpp:629: error: ‘self’ was not declared in this scope
> wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
> wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
> wxc/src/eljdc.cpp:629: error: initializer expression list treated as compound expression
> wxc/src/eljdc.cpp:630: error: expected ‘,’ or ‘;’ before ‘{’ token
> wxc/src/eljdc.cpp:638: error: ‘wxMetafile’ was not declared in this scope
> wxc/src/eljdc.cpp:638: error: ‘self’ was not declared in this scope
> wxc/src/eljdc.cpp:638: error: expected primary-expression before ‘*’ token
> wxc/src/eljdc.cpp:638: error: ‘_dc’ was not declared in this scope
> wxc/src/eljdc.cpp:638: error: initializer expression list treated as compound expression
> wxc/src/eljdc.cpp:639: error: expected ‘,’ or ‘;’ before ‘{’ token
> wxc/src/eljdc.cpp:647: error: ‘wxMetafile’ was not declared in this scope
> wxc/src/eljdc.cpp:647: error: ‘self’ was not declared in this scope
> wxc/src/eljdc.cpp:648: error: expected ‘,’ or ‘;’ before ‘{’ token
> wxc/src/eljdc.cpp:656: error: variable or field ‘wxMetafile_Delete’ declared void
> wxc/src/eljdc.cpp:656: error: ‘wxMetafile’ was not declared in this scope
> wxc/src/eljdc.cpp:656: error: ‘self’ was not declared in this scope
I fixed this bug in the new HackageDB releace 0.11.1.2.
Please test again with 0.11.1.2.
And I'll send darcs patch for this problem later.
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/
|
|
From: Don S. <do...@ga...> - 2009-03-05 17:46:23
|
shelarcy:
> Hi,
>
> On Thu, 05 Mar 2009 15:04:23 +0900, Don Stewart <do...@ga...> 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/eljdc.cpp:629: error: ‘wxMetafile’ was not declared in this scope
> > wxc/src/eljdc.cpp:629: error: ‘self’ was not declared in this scope
> > wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
> > wxc/src/eljdc.cpp:629: error: expected primary-expression before ‘int’
> > wxc/src/eljdc.cpp:629: error: initializer expression list treated as compound expression
> > wxc/src/eljdc.cpp:630: error: expected ‘,’ or ‘;’ before ‘{’ token
> > wxc/src/eljdc.cpp:638: error: ‘wxMetafile’ was not declared in this scope
> > wxc/src/eljdc.cpp:638: error: ‘self’ was not declared in this scope
> > wxc/src/eljdc.cpp:638: error: expected primary-expression before ‘*’ token
> > wxc/src/eljdc.cpp:638: error: ‘_dc’ was not declared in this scope
> > wxc/src/eljdc.cpp:638: error: initializer expression list treated as compound expression
> > wxc/src/eljdc.cpp:639: error: expected ‘,’ or ‘;’ before ‘{’ token
> > wxc/src/eljdc.cpp:647: error: ‘wxMetafile’ was not declared in this scope
> > wxc/src/eljdc.cpp:647: error: ‘self’ was not declared in this scope
> > wxc/src/eljdc.cpp:648: error: expected ‘,’ or ‘;’ before ‘{’ token
> > wxc/src/eljdc.cpp:656: error: variable or field ‘wxMetafile_Delete’ declared void
> > wxc/src/eljdc.cpp:656: error: ‘wxMetafile’ was not declared in this scope
> > wxc/src/eljdc.cpp:656: error: ‘self’ was not declared in this scope
>
> I fixed this bug in the new HackageDB releace 0.11.1.2.
> Please test again with 0.11.1.2.
>
> And I'll send darcs patch for this problem later.
Much better,
ld -r -o dist/wxcore/wxcore.o
dist/wxcore/imports/Graphics/UI/WXCore/WxcClasses.o
dist/wxcore/imports/Graphics/UI/WXCore/WxcClassInfo.o
dist/wxcore/imports/Graphics/UI/WXCore/WxcDefs.o
dist/wxcore/imports/Graphics/UI/WXCore/Types.o
dist/wxcore/imports/Graphics/UI/WXCore/Defines.o
dist/wxcore/imports/Graphics/UI/WXCore/Draw.o
dist/wxcore/imports/Graphics/UI/WXCore/Image.o
dist/wxcore/imports/Graphics/UI/WXCore/Events.o
dist/wxcore/imports/Graphics/UI/WXCore/DragAndDrop.o
dist/wxcore/imports/Graphics/UI/WXCore/Frame.o
dist/wxcore/imports/Graphics/UI/WXCore/Layout.o
dist/wxcore/imports/Graphics/UI/WXCore/Process.o
dist/wxcore/imports/Graphics/UI/WXCore/Print.o
dist/wxcore/imports/Graphics/UI/WXCore/Dialogs.o
dist/wxcore/imports/Graphics/UI/WXCore/Controls.o
dist/wxcore/imports/Graphics/UI/WXCore/Db.o
dist/wxcore/imports/Graphics/UI/WXCore/OpenGL.o
dist/wxcore/imports/Graphics/UI/WXCore.o
dist/wxcore/imports/Graphics/UI/WXCore/Events_stub.o
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)
Still don't quite get there. Any thoughts?
|
|
From: shelarcy <she...@gm...> - 2009-03-06 07:34:29
|
On Fri, 06 Mar 2009 02:45:28 +0900, Don Stewart <do...@ga...> 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)
>
>
> Still don't quite get there. Any thoughts?
You should use following command to install wxHaskell's packages by cabal.
cabal install wx --configure-opt="--user --enable-split-objs --hcprof"
or
sudo cabal install wx --global
This is current Cabalization's problem.
http://haskell.org/haskellwiki/WxHaskell/Troubleshooting#Compilation_issues
http://hackage.haskell.org/trac/hackage/ticket/431
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/
|
|
From: Don S. <do...@ga...> - 2009-03-06 07:49:56
|
shelarcy:
> On Fri, 06 Mar 2009 02:45:28 +0900, Don Stewart <do...@ga...> 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)
> >
> >
> > Still don't quite get there. Any thoughts?
>
> You should use following command to install wxHaskell's packages by cabal.
>
> cabal install wx --configure-opt="--user --enable-split-objs --hcprof"
>
> or
>
> sudo cabal install wx --global
>
> This is current Cabalization's problem.
>
> http://haskell.org/haskellwiki/WxHaskell/Troubleshooting#Compilation_issues
> http://hackage.haskell.org/trac/hackage/ticket/431
>
>
Oh, I am using the following (as part of making an Arch Linux package):
runhaskell Setup configure --prefix=/usr || return 1
runhaskell Setup build || return 1
runhaskell Setup register --gen-script || return 1
Do we know if this should work?
|