Ticket #1301 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

make install does more than that

Reported by: guest Owned by: igloo
Priority: normal Milestone: 6.8.1
Component: Compiler Version: 6.7
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

After having typed 'make', I typed 'make install' expecting the files to be installed. Instead it started running configure:

...
== make install - --unix -r;
 in /c/LA/ghc-record-wildcard/libraries
------------------------------------------------------------------------
rm -f -f stamp/configure.library.*.base
cd base && ../ifBuildable/ifBuildable setup/Setup configure \
                                     --enable-library-profiling --enable-split-objs \
                                    --prefix=c:/ghc/ghc-6.7-cs-5 \
                                    --with-compiler=c:/ghc/ghc-6.7-cs-5/bin/ghc \
                                    --datasubdir=ghc
configure: searching for c:\ghc\ghc-6.7-cs-5\bin\ghc in path.
...

Which end by just hanging and must be interrupted.

-- Lennart

Change History

Changed 6 years ago by igloo

  • owner set to igloo
  • milestone set to 6.8

We run configure on install because we need to tell cabal to (for example) use the ghc-pkg that will be installed, rather than the one is used in-place while building the other libraries and the stage2 compiler. I do intend to look at reducing the amount of work that this second configure run does, though.

I haven't seen it hang before. I'll see if I can reproduce it.

Thanks for the report.

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

We now have a program that calls cabal functions to install in the appropriate place, so configure is no longer rerun.

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.