#2263: GHC 6.8 (STABLE) branch build framework does not pass correctly
CPPFLAGS/LDFLAGS env vars to subsequent configure scripts
-----------------------------+----------------------------------------------
Reporter: kgardas | Owner:
Type: bug | Status: reopened
Priority: normal | Milestone:
Component: Build System | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Testcase:
Architecture: x86 | Os: Solaris
-----------------------------+----------------------------------------------
Changes (by kgardas):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Hello,
the problem is that with your suggested --with-readline-* options, build
fails even more early:
gmake[1]: Entering directory `/export/home/karel/darcs/ghc/libraries'
rm -f -f stamp/configure.library.*.base base/unbuildable
( cd base && setup/Setup configure \
--enable-library-profiling --enable-split-objs \
--prefix=/NONEXISTANT \
--bindir=/NONEXISTANT \
--libdir=/NONEXISTANT \
--libsubdir='$pkgid' \
--libexecdir=/NONEXISTANT \
--datadir=/NONEXISTANT \
--docdir=/NONEXISTANT \
--htmldir=/NONEXISTANT \
--interfacedir=/NONEXISTANT \
--with-compiler=../../compiler/stage1/ghc-inplace \
--with-hc-pkg=../../utils/ghc-pkg/ghc-pkg-inplace \
--with-hsc2hs=../../utils/hsc2hs/hsc2hs-inplace \
--with-ld=/usr/bin/ld \
--haddock-options="--use-contents=../index.html \
--use-index=../doc-index.html" \
--prefix=/usr/local/ghc-2008-05-04 --with-readline-
libraries=/usr/local/ghc-reqs/lib/ --with-readline-includes=/usr/local
/ghc-reqs/include/ \
--configure-option=--with-cc=gcc ) \
&& touch stamp/configure.library.build-profiling-
splitting.base || touch base/unbuildable
Setup: Unrecognised flags:
--with-readline-libraries=/usr/local/ghc-reqs/lib/
--with-readline-includes=/usr/local/ghc-reqs/include/
if ifBuildable/ifBuildable base; then \
cd base && \
cmp -s ../Makefile.local Makefile.local || cp ../Makefile.local
.; \
mv GNUmakefile GNUmakefile.tmp; \
setup/Setup makefile -f GNUmakefile; \
cmp -s GNUmakefile GNUmakefile.tmp && mv GNUmakefile.tmp
GNUmakefile; \
gmake -wr && \
setup/Setup register --inplace; \
fi
mv: cannot access GNUmakefile
Setup: error reading dist/setup-config; run "setup configure" command?
gmake[2]: Entering directory `/export/home/karel/darcs/ghc/libraries/base'
gmake[2]: *** No targets specified and no makefile found. Stop.
gmake[2]: Leaving directory `/export/home/karel/darcs/ghc/libraries/base'
gmake[1]: *** [make.library.base] Error 2
gmake[1]: Leaving directory `/export/home/karel/darcs/ghc/libraries'
gmake: *** [stage1] Error 2
BTW: I'm using recommended autoconf 2.52/automake 1.9.
I'm curious how have you been able to pass thorough this issue.
Thanks,
Karel
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2263#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs