[Yhc] -package cpphs ? (build problem)

Greg Buchholz haskell at sleepingsquirrel.org
Thu Oct 12 15:36:22 EDT 2006


Neil Mitchell wrote:
> Wierd, Yhc tries to link in cpphs directly (not as a package) so you
> shouldn't have any problem with this. Can you please check that you
> have a directory depends/cpphs in your repo, which corresponds to the
> cpphs program's source code.

    Yep.  It is there.

> Can you please also give us the entire text of that link command, so
> we can see if Cpphs is being included or not in the linking.

    See attached.

> Could you also try doing "scons depends" then "scons" again, to see if
> this fixes it.

~/haskell/YHC/yhc$ scons depends
scons: Reading SConscript files ...
Checking for architecture... x86
Checking for operating system... linux2
darcs pull --repodir=depends/cpphs
Pulling from "http://www.cs.york.ac.uk/fp/darcs/cpphs"...
No remote changes to pull in!
darcs pull --repodir=depends/filepath
Pulling from "http://www.cs.york.ac.uk/fp/darcs/filepath"...
No remote changes to pull in!
cd depends/ctypes; svn update
At revision 52318.
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `depends'.
scons: done building targets.

    ...and trying "scons" again still results in the same problem.
> 
> Hmm, definately sounds like cpphs is being skipped in the link phase.
> I wonder if this is because you have cpphs installed as a package
> already?

    Yes.  In my first attempt at compiling yhc a couple of days ago, the
process complained about something, which I interpreted as needing to
install cpphs, which I then did.  The build process was then able to
proceed further, up to the point where I'm now at.

Thanks,

Greg Buchholz


-------------- next part --------------
scons: Reading SConscript files ...
Checking for architecture... x86
Checking for operating system... linux2
Bootstrapping...
Done.
scons: done reading SConscript files.
scons: Building targets ...
ghc src/compiler98/FixSyntax.o src/compiler98/PrettySyntax.o src/compiler98/Make.o src/compiler98/Remove1_3.o src/compiler98/FreeVar.o src/compiler98/Id.o src/compiler98/NT.o src/compiler98/IntState.o src/compiler98/ReportImports.o src/compiler98/Bind.o src/compiler98/ForeignCode.o src/compiler98/Case.o src/compiler98/SccModule.o src/compiler98/Info.o src/compiler98/Scc.o src/compiler98/SysDeps.o src/compiler98/Reduce.o src/compiler98/RenameLib.o src/compiler98/Syntax.o src/compiler98/Prim.o src/compiler98/NeedLib.o src/compiler98/PrettyLib.o src/compiler98/Extract.o src/compiler98/Flags.o src/compiler98/CaseHelp.o src/compiler98/FFITrans.o src/compiler98/State.o src/compiler98/StrPos.o src/compiler98/Rename.o src/compiler98/FSLib.o src/compiler98/PosAtom.o src/compiler98/Fixity.o src/compiler98/Import.o src/compiler98/PreImport.o src/compiler98/PrimCode.o src/compiler98/PreImp.o src/compiler98/SyntaxPos.o src/compiler98/Lift.o src/compiler98/ImportState.o src/compiler98/MkSyntax.o src/compiler98/IExtract.o src/compiler98/IdKind.o src/compiler98/StateMonad.o src/compiler98/Main.o src/compiler98/PosCode.o src/compiler98/Front.o src/compiler98/TokenId.o src/compiler98/Package.o src/compiler98/Depend.o src/compiler98/TokenInt.o src/compiler98/Overlap.o src/compiler98/SyntaxUtil.o src/compiler98/Need.o src/compiler98/Phase.o src/compiler98/Error.o src/compiler98/Nice.o src/compiler98/Export.o src/compiler98/Compile.o src/compiler98/STGArity.o src/compiler98/CaseLib.o src/compiler98/RmClasses.o src/compiler98/CaseOpt.o src/compiler98/Yhc/Core.o src/compiler98/Yhc/Core/Play.o src/compiler98/Yhc/Core/Serialise.o src/compiler98/Yhc/Core/Show.o src/compiler98/Yhc/Core/Binary.o src/compiler98/Yhc/Core/Type.o src/compiler98/Core/Core.o src/compiler98/Type/Ctx.o src/compiler98/Type/Env.o src/compiler98/Type/Util.o src/compiler98/Type/Lib.o src/compiler98/Type/Data.o src/compiler98/Type/Subst.o src/compiler98/Type/Unify.o src/compiler98/Type/Type.o src/compiler98/Util/Play.o src/compiler98/Util/Graph.o src/compiler98/Util/Binary.o src/compiler98/Util/Text.o src/compiler98/Util/OsOnly.o src/compiler98/Util/Extra.o src/compiler98/Util/MergeSort.o src/compiler98/Derive/Derive.o src/compiler98/Derive/Eq.o src/compiler98/Derive/Ix.o src/compiler98/Derive/Lib.o src/compiler98/Derive/Ord.o src/compiler98/Derive/Read.o src/compiler98/Derive/Bounded.o src/compiler98/Derive/Show.o src/compiler98/Derive/Binary.o src/compiler98/Derive/Enum.o src/compiler98/Derive/Eval.o src/compiler98/DotNet/IL.o src/compiler98/DotNet/Compile.o src/compiler98/DotNet/Show.o src/compiler98/ByteCode/Peep.o src/compiler98/ByteCode/Compile.o src/compiler98/ByteCode/Relative.o src/compiler98/ByteCode/Analysis.o src/compiler98/ByteCode/Wrap.o src/compiler98/ByteCode/Metric.o src/compiler98/ByteCode/Write.o src/compiler98/ByteCode/Show.o src/compiler98/ByteCode/ByteCode.o src/compiler98/ByteCode/CompileLib.o src/compiler98/ByteCode/Flatten.o src/compiler98/ByteCode/Graph.o src/compiler98/ByteCode/Type.o src/compiler98/Parse/Parse.o src/compiler98/Parse/LexLow.o src/compiler98/Parse/Lex.o src/compiler98/Parse/LexPre.o src/compiler98/Parse/LexStr.o src/compiler98/Parse/ParseCore.o src/compiler98/Parse/Lexical.o src/compiler98/Parse/Pragma.o src/compiler98/Parse/ParseLex.o src/compiler98/Parse/ParseLib.o src/compiler98/Parse/Parse2.o src/compiler98/Parse/ParseI.o depends/filepath/System/FilePath.o -o inst/bin/yhc
scons: building terminated because of errors.


More information about the Yhc mailing list