[Hugs] #85: Force Cabal use in-place Hugs when buiding from source
Hugs
trac at galois.com
Fri Oct 3 06:22:41 EDT 2008
#85: Force Cabal use in-place Hugs when buiding from source
--------------------+-------------------------------------------------------
Reporter: guest | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: hugs | Version: current
Keywords: |
--------------------+-------------------------------------------------------
I have been experimenting with building Hugs from a source tarball on
a computer with no Haskell stuff preinstalled at all.
I noticed that the build fails when running Setup configure for any
package because Cabal cannot find Hugs executable.
OTOH, if there is Hugs installed earlier (on the PATH), output from
Setup configure shows that the previously installed Hugs is used, not
one just built.
This can be easily fixed if proper --with-hugs command line argument
is provided to Setup. This affects two files: libraries/Makefile.in
and libraries/tools/convert_libraries.
Also, if any package installed has configure script invoking runhugs,
this would fail too because in-place runhugs is not on the path. This
is fixed by exporting proper PATH variable from the convert_libraries
script before running Setup configure.
Proposed patch is attached.
--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/85>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
More information about the Hugs-Bugs
mailing list