Ticket #11190 (closed defect: fixed)
ghc build fails -- gmake: *** No targets specified and no makefile found.
| Reported by: | mike@… | Owned by: | gwright@… |
|---|---|---|---|
| Priority: | High | Milestone: | |
| Component: | ports | Version: | 1.3.2 |
| Keywords: | ghc gmake targets | Cc: | gwright@…, markd@… |
| Port: |
Description
Can't find the Makefile for some reason. Here is the shell output:
$ uname -sr
Darwin 7.9.0
$ which gmake
/opt/local/bin/gmake
$ gmake --version
GNU Make 3.81
...
$ sudo port -d selfupdate
...
$ port version
Version: 1.320
$ port info ghc
ghc 6.6, Revision 2, lang/ghc (Variants: darwin_6, darwin_7_powerpc, darwin_8_powerpc, darwin_8_i386, noopengl)
...
$ sudo port install ghc
---> Building ghc
Error: Target com.apple.build returned: shell command "DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib gmake " returned error 2
Command output: gmake: *** No targets specified and no makefile found. Stop.
Error: Status 1 encountered during processing.
$ port cat ghc | grep -C1 build.target
build.cmd gmake
build.target
}
--
build {
system "DYLD_FALLBACK_LIBRARY_PATH=${prefix}/lib ${build.cmd} ${build.target}"
}
$ head /opt/local/var/db/dports/sources/.../lang/ghc/work/ghc-6.6/Makefile
############################################################################
#
# This is the top-level Makefile for GHC
#
# Targets:
#
# bootsrap (DEFAULT)
# Builds GHC, then builds the libraries,
# then uses this GHC ("stage 1") to build itself
# ("stage 2").
The complete path to the Makefile is
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/ghc/work/ghc-6.6/Makefile
Let me know if you need more info.
Thanks,
Mike Appleby
Change History
Note: See
TracTickets for help on using
tickets.

