[Yhc] -package cpphs ? (build problem)

Neil Mitchell ndmitchell at gmail.com
Thu Oct 12 16:37:24 EDT 2006


Hi

To test I just compiled Yhc after installing cpphs, and it worked
fine. I guess its the same single error being the root cause.
Hopefully Andrew might be able to shed some light on this tomorrow.

Thanks

Neil



On 10/12/06, Greg Buchholz <haskell at sleepingsquirrel.org> wrote:
> Neil Mitchell wrote:
> >
> > It's not linked in, so that explains why you were getting that error.
> > Two options: something is failing to generate the object files for
> > cpphs, or something is failing to see them as required for linking.
> >
> > >> have a directory depends/cpphs in your repo, which corresponds to the
> > >> cpphs program's source code.
> > >
> > >    Yep.  It is there.
> >
> > Can you check if there are any .o files in that directory tree, I
> > would expect some under Language/Haskell/Cpphs or something similar.
> > Also are there any .hi files inside that tree?
>
>     No .o or .hi files in depends/cpphs and I don't have a Cpphs under
> /usr/local/lib/ghc-6.4.2/imports/Language/Haskell
>
> > Hmm, so installing cpphs made the problem go away a bit? That is a bit
> > weird. Do you have any recollection as to what the original problem
> > was?
>
>     If I unregister cpphs from ghc, then run "scons" (after a "scons
> clean") I get the following error...
>
>
> ghc -i./src/compiler98 -idepends/cpphs -idepends/filepath -fwarn-missing-signatures
> -c src/compiler98/Front.lhs -o src/compiler98/Front.o
>
> src/compiler98/Front.lhs:33:1:
>     Failed to load interface for `Language.Preprocessor.Unlit':
>         Could not find module `Language.Preprocessor.Unlit':
>           use -v to see a list of the files searched for
> scons: *** [src/compiler98/Front.o] Error 1
> scons: building terminated because of errors.
>
>
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc
>


More information about the Yhc mailing list