#85: Force Cabal use in-place Hugs when buiding from source

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

#85: Force Cabal use in-place Hugs when buiding from source

GHC-2
#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
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs
Reply | Threaded
Open this post in threaded view
|

Re: #85: Force Cabal use in-place Hugs when buiding from source

GHC-2
#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
Resolution:          |    Keywords:        
---------------------+------------------------------------------------------
Comment (by guest):

 This ticket has been submitted by Dmitry Golubovsky

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/85#comment:1>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs
Reply | Threaded
Open this post in threaded view
|

Re: #85: Force Cabal use in-place Hugs when buiding from source

GHC-2
In reply to this post by GHC-2
#85: Force Cabal use in-place Hugs when buiding from source
---------------------+------------------------------------------------------
  Reporter:  guest   |       Owner:  nobody
      Type:  defect  |      Status:  closed
  Priority:  major   |   Milestone:        
 Component:  hugs    |     Version:  current
Resolution:  fixed   |    Keywords:        
---------------------+------------------------------------------------------
Changes (by ross):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 applied, thanks.

--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/85#comment:2>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/hugs-bugs