the "process" package ...

Hello, The "process" package Internal.hs references HsProcessConfig.h but this include file is not in the package "include" directory. Is this C include supposed to be generated? ?? KInd regards, Vasili

On Wed, 2008-08-20 at 03:09 -0500, Galchin, Vasili wrote:
Hello,
The "process" package Internal.hs references HsProcessConfig.h but this include file is not in the package "include" directory. Is this C include supposed to be generated? ??
Yes. It's generated by the ./configure script, which gets run automatically when you configure the package in the standard way. If you got the code straight from darcs then you need to run autoreconf first to generate the ./configure script. Duncan

Hi Duncan,
In reality there is a complaint about no "configure" file. In any case,
you really mean "autoconf" and not "autoreconf" yes? If I should run
"autoconf", there is no configure.ac or configure.in file under the process
directory! ??
Thanks, Vasili
On Wed, Aug 20, 2008 at 6:48 AM, Duncan Coutts
On Wed, 2008-08-20 at 03:09 -0500, Galchin, Vasili wrote:
Hello,
The "process" package Internal.hs references HsProcessConfig.h but this include file is not in the package "include" directory. Is this C include supposed to be generated? ??
Yes. It's generated by the ./configure script, which gets run automatically when you configure the package in the standard way. If you got the code straight from darcs then you need to run autoreconf first to generate the ./configure script.
Duncan

On Thu, 2008-08-21 at 00:36 -0500, Galchin, Vasili wrote:
Hi Duncan,
In reality there is a complaint about no "configure" file. In any case, you really mean "autoconf" and not "autoreconf" yes? If I should run "autoconf", there is no configure.ac or configure.in file under the process directory! ??
Ah, you're using process-1.0.0.0 from hackage. It does indeed appear to be borked because it specifies build-type: Configure and yet contains no ./configure script. Sorry, I assumed that you were missing ./configure because you were using the darcs version. Duncan

how do I unbork it? Are darcs version of package same as hackage version of
packages teh same contents?
Regards, Vasili
On Thu, Aug 21, 2008 at 5:01 AM, Duncan Coutts
On Thu, 2008-08-21 at 00:36 -0500, Galchin, Vasili wrote:
Hi Duncan,
In reality there is a complaint about no "configure" file. In any case, you really mean "autoconf" and not "autoreconf" yes? If I should run "autoconf", there is no configure.ac or configure.in file under the process directory! ??
Ah, you're using process-1.0.0.0 from hackage. It does indeed appear to be borked because it specifies build-type: Configure and yet contains no ./configure script.
Sorry, I assumed that you were missing ./configure because you were using the darcs version.
Duncan

On Thu, 2008-08-21 at 17:01 -0500, Galchin, Vasili wrote:
how do I unbork it? Are darcs version of package same as hackage version of packages teh same contents?
To be honest I'd not bother. You already have the version of the process package that came with ghc and there are no new releases that you need. That's why nobody else noticed the problem, because nobody needs to install this package, because it comes with ghc. If you really want to re-install it anyway then you could use the darcs version that goes with the ghc-6.8.x branch: http://darcs.haskell.org/ghc-6.8/packages/process Obviously in principle the version on hackage should have worked. You'll be glad to know that hackage now checks that packages that use build-type Configure do indeed actually have a ./configure file, so this particular error cannot be repeated. Duncan
Regards, Vasili
On Thu, Aug 21, 2008 at 5:01 AM, Duncan Coutts
wrote: On Thu, 2008-08-21 at 00:36 -0500, Galchin, Vasili wrote: > Hi Duncan, > > In reality there is a complaint about no "configure" file. In any > case, you really mean "autoconf" and not "autoreconf" yes? If I should > run "autoconf", there is no configure.ac or configure.in file under > the process directory! ?? Ah, you're using process-1.0.0.0 from hackage. It does indeed appear to be borked because it specifies build-type: Configure and yet contains no ./configure script.
Sorry, I assumed that you were missing ./configure because you were using the darcs version.
Duncan

To be honest I'd not bother. You already have the version of the process
package that came with ghc and there are no new releases that you need. That's why nobody else noticed the problem, because nobody needs to install this package, because it comes with ghc.
problem here Duncan .. when I run "cabal install haskelldb" e.g. "process" is rightly seen as a dependency BUT unrightly as not currently installed .... ???
If you really want to re-install it anyway then you could use the darcs version that goes with the ghc-6.8.x branch:
http://darcs.haskell.org/ghc-6.8/packages/process
Obviously in principle the version on hackage should have worked. You'll be glad to know that hackage now checks that packages that use build-type Configure do indeed actually have a ./configure file, so this particular error cannot be repeated.
Duncan
Regards, Vasili
On Thu, Aug 21, 2008 at 5:01 AM, Duncan Coutts
wrote: On Thu, 2008-08-21 at 00:36 -0500, Galchin, Vasili wrote: > Hi Duncan, > > In reality there is a complaint about no "configure" file. In any > case, you really mean "autoconf" and not "autoreconf" yes? If I should > run "autoconf", there is no configure.ac or configure.in file under > the process directory! ?? Ah, you're using process-1.0.0.0 from hackage. It does indeed appear to be borked because it specifies build-type: Configure and yet contains no ./configure script.
Sorry, I assumed that you were missing ./configure because you were using the darcs version.
Duncan
participants (2)
-
Duncan Coutts
-
Galchin, Vasili