#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 (5)
comment:1 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:2 Changed 18 years ago by markd@…
Cc: | gwright@… added |
---|
comment:3 Changed 18 years ago by gwright@…
Owner: | changed from macports-dev@… to gwright@… |
---|---|
Priority: | Blocker → Important |
severity: | Crash/data loss → Normal |
Status: | new → assigned |
Hi Mike,
Could you try the latest revision of the ghc portfile and see if it resolves your problem? There have been two fixes since your report.
Please make sure you clean everything before restarting a failed build, i.e., run
sudo port clean ghc
Let me know if it fixed the problem.
Best Wishes, Greg
comment:4 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Ping maintainer.