.deb packages and problem in compilation

Hello, I'm packaging c2hs for debian, and the 0.13.6 packages are in the mirror, if you could add this in the website. Another thing is that I'm having a problem in compiling c2hs 0.14.3: marcot@tonhao:~/desenvolvimento/debian/c2hs$ tar xzf c2hs-0.14.3.tar.gz marcot@tonhao:~/desenvolvimento/debian/c2hs$ cd c2hs-0.14.3/ marcot@tonhao:~/desenvolvimento/debian/c2hs/c2hs-0.14.3$ ./Setup.hs configure Configuring c2hs-0.14.3... configure: Using install prefix: /usr/local configure: Using compiler: /usr/bin/ghc configure: Compiler flavor: GHC configure: Compiler version: 6.4.1 configure: Using package tool: /usr/bin/ghc-pkg configure: Using haddock: /usr/bin/haddock configure: No happy found configure: No alex found configure: Using hsc2hs: /usr/bin/hsc2hs configure: No c2hs found configure: No cpphs found configure: No greencard found checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... /bin/egrep checking for sed... /bin/sed configure: creating ./config.status config.status: creating c2hs/toplevel/Version.hs config.status: creating c2hs/toplevel/C2HSConfig.hs config.status: creating c2hs/c2hs-inplace config.status: creating c2hs/c2hs config.status: creating postInst.sh config.status: creating c2hs.spec config.status: creating doc/c2hs/Makefile config.status: executing default commands marcot@tonhao:~/desenvolvimento/debian/c2hs/c2hs-0.14.3$ ./Setup.hs build Preprocessing executables for c2hs-0.14.3... Building c2hs-0.14.3... Chasing modules from: c2hs/toplevel/Main.hs Could not find module `CForeign': use -v to see a list of the files searched for (imported from c2hs/toplevel/C2HSConfig.hs) marcot@tonhao:~/desenvolvimento/debian/c2hs/c2hs-0.14.3$ Do you know what is the problem here? -- Abraços, marcot mailto:marcot@minaslivre.org jabber:marcott@jabber.org UIN:50599075 MSN:marcot@ufmg.br Telefone:33346720 Celular:91844179 Endereço:Rua Paula Cândido 257/201 Gutierrez 30430-260 Belo Horizonte-MG Brasil

Hi!
I'm packaging c2hs for debian, and the 0.13.6 packages are in the mirror, if you could add this in the website.
Great - thanks!
Another thing is that I'm having a problem in compiling c2hs 0.14.3: Chasing modules from: c2hs/toplevel/Main.hs Could not find module `CForeign': use -v to see a list of the files searched for (imported from c2hs/toplevel/C2HSConfig.hs) marcot@tonhao:~/desenvolvimento/debian/c2hs/c2hs-0.14.3$
Do you know what is the problem here?
At line 18 of "c2hs.cabal", you need to insert a line Build-Depends: base, haskell98 This problem occurs only since GHC 6.4.1. A patch is in the darcs repo. Cheers, Manuel

Em Ter, 2005-11-15 às 01:36 +1100, Manuel M T Chakravarty escreveu:
Hi!
Hello!
At line 18 of "c2hs.cabal", you need to insert a line
Build-Depends: base, haskell98
This problem occurs only since GHC 6.4.1. A patch is in the darcs repo.
Ok, thanks, it's working now! I'm having a problem with the manpage, it seems that the doc/c2hs/Makefile does not treat it anymore. How can I generate it? -- Abraços, marcot mailto:marcot@minaslivre.org jabber:marcott@jabber.org UIN:50599075 MSN:marcot@ufmg.br Telefone:33346720 Celular:91844179 Endereço:Rua Paula Cândido 257/201 Gutierrez 30430-260 Belo Horizonte-MG Brasil

Marco Tulio Gontijo e Silva:
I'm having a problem with the manpage, it seems that the doc/c2hs/Makefile does not treat it anymore. How can I generate it?
The reason that I removed the man page generation from the Makefile is that the man page is rather badly out of date. Manuel
participants (2)
-
Manuel M T Chakravarty
-
Marco Tulio Gontijo e Silva