[mew-dist 29136] Re: cmewが例外で終わる

Shuichi KITAGUCHI <[email protected]>
Newsgroups gmane.mail.mew.general.japanese
Message-ID <[email protected]>

> ifdef Windows 

(

Windows

# "cabal update"
# 

Haskell Platform
  http://hackage.haskell.org/platform/ 
  HaskellPlatform-2009.2.0.2-setup.exe 

sqlite3
  http://www.sqlite.org/download.html  sqlite-amalgamation-3_6_22.zip
  sqlitedll-3_6_22.zip sqlite3.h  sqlite3.dll 
  

mew.cabal
  unixHackage?cmewunix
  
                         containers, parsec > 3, hsemail-ns, HDBC, HDBC-sqlite3,
-                        old-time, regex-posix, unix, bytestring, time
+                        old-time, regex-posix, bytestring, time
     Other-Modules:      Msg, Mail, Sql, Param, Index, Util
     extensions:         CPP

cabal configure
  Resolving dependencies...
  Configuring mew-0.1...
  cabal: sh: runGenProcess: does not exist (No such file or directory)
  "configure"
    "#define HAVE_WINDOWS_H"  config.h 

cabal --extra-include-dirs=<sqlite3.h> --extra-lib-dirs=<sqlite3.dll> install
  Resolving dependencies...
  Configuring mew-0.1...
  cabal: Error: some packages failed to install:
  mew-0.1 failed during the configure step. The exception was:
  sh: runGenProcess: does not exist (No such file or directory)
  "configure"
     cabal build 

cabal build
  Preprocessing executables for mew-0.1...
  Building mew-0.1...
  Linking dist\build\smew\smew.exe ...
  C:\Program Files\Haskell Platform\2009.2.0.2/libHSrts.a(Storage.o):Storage.c:(.text+0x4a0): undefined reference to `__gmp_set_memory_functions'
  C:\Program Files\Haskell Platform\2009.2.0.2/libHSrts.a(PrimOps.o):fake:(.text+0x7d4): undefined reference to `__gmpz_init'
  C:\Program Files\Haskell Platform\2009.2.0.2/libHSrts.a(PrimOps.o):fake:(.text+0x7f0): undefined reference to `__gmpz_add'
  ...
  build
    (libHSrts.alibgmp.a?)

cabal install
cabal buildbuild



--
Shuichi KITAGUCHI // [email protected] / [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.