Nov2002 Hugs doesn't build properly on Solaris

Brian Rogoff bpr@artisan.com
Wed, 12 Feb 2003 10:48:24 -0800


Hi, 
    Looks like a Makefile problem. If you don't have time or a Solaris 
system, I'll look at this when I have time. FYI, The last release built 
fine on this system. 

    After config: 

bpr@granite[src]$ uname -a
SunOS granite 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-60
bpr@granite[unix]$ cd ..
bpr@granite[src]$ make
gcc -c -g   -O2 hugs.c
gcc -c -g   -O2 storage.c
gcc -c -g   -O2 input.c
gcc -c -g   static.c
gcc -c -g   type.c
gcc -c -g   -O2 subst.c
gcc -c -g   compiler.c
gcc -c -g   -O2 plugin.c
gcc -c -g   -O2 builtin.c
gcc -c -g   -O2 machine.c
gcc -c -g   -O2 output.c
gcc -c -g   -O2 ffi.c
gcc  hugs.o storage.o input.o    static.o type.o subst.o   compiler.o plugin.o builtin.o machine.o output.o ffi.o version.o  -lreadline -lncurses -lm -ldl  -o hugs 
gcc -c -g   -O2 runhugs.c
gcc -c -g   -O2 server.c
gcc  runhugs.o server.o storage.o input.o    static.o type.o subst.o   compiler.o plugin.o builtin.o machine.o output.o ffi.o version.o  -lreadline -lncurses -lm -ldl  -o runhugs
Converting data/edison/Assoc/Assoc.hs
Converting data/edison/Assoc/AssocDefaults.hs
Converting data/edison/Assoc/AssocList.hs
Converting data/edison/Assoc/PatriciaLoMap.hs
Converting data/edison/Coll/Collection.hs
Converting data/edison/Coll/CollectionDefaults.hs
Converting data/edison/Coll/CollectionUtils.hs
Converting data/edison/Coll/LazyPairingHeap.hs
Converting data/edison/Coll/LeftistHeap.hs
Converting data/edison/Coll/MinHeap.hs
Converting data/edison/Coll/SkewHeap.hs
Converting data/edison/Coll/SplayHeap.hs
Converting data/edison/Coll/TestOrdBag.hs
Converting data/edison/Coll/TestOrdSet.hs
Converting data/edison/Coll/UnbalancedSet.hs
Converting data/edison/Seq/BankersQueue.hs
Converting data/edison/Seq/BinaryRandList.hs
Converting data/edison/Seq/BraunSeq.hs
Converting data/edison/Seq/JoinList.hs
Converting data/edison/Seq/ListSeq.hs
Converting data/edison/Seq/MyersStack.hs
Converting data/edison/Seq/RandList.hs
Converting data/edison/Seq/RevSeq.hs
Converting data/edison/Seq/Sequence.hs
Converting data/edison/Seq/SequenceDefaults.hs
Converting data/edison/Seq/SimpleQueue.hs
Converting data/edison/Seq/SizedSeq.hs
Converting data/edison/Seq/TestSeq.hs
Converting data/edison/EdisonPrelude.hs
Converting base/Control/Arrow.hs
Converting base/Control/Concurrent/Chan.hs
Converting base/Control/Concurrent/MVar.hs
Converting base/Control/Concurrent/QSem.hs
Converting base/Control/Concurrent/QSemN.hs
Converting base/Control/Concurrent/SampleVar.hs
Converting base/Control/Exception.hs
../../fptools/libraries/base/Control/Exception.hs:128: Dynamic.h: No such file or directory
Converting base/Control/Monad.hs
Converting base/Control/Monad/Cont.hs
Converting base/Control/Monad/Error.hs
Converting base/Control/Monad/Fix.hs
Converting base/Control/Monad/Identity.hs
Converting base/Control/Monad/List.hs
Converting base/Control/Monad/Monoid.hs
Converting base/Control/Monad/RWS.hs
Converting base/Control/Monad/Reader.hs
Converting base/Control/Monad/ST.hs
Converting base/Control/Monad/ST/Lazy.hs
Converting base/Control/Monad/ST/Strict.hs
Converting base/Control/Monad/State.hs
Converting base/Control/Monad/Trans.hs
Converting base/Control/Monad/Writer.hs
Converting base/Control/Parallel.hs
Converting base/Data/Array.hs
../../fptools/libraries/base/Data/Array.hs:67: Dynamic.h: No such file or directory
Converting base/Data/Array/Base.hs
../../fptools/libraries/base/Data/Array/Base.hs:45: Dynamic.h: No such file or directory
Converting base/Data/Array/IArray.hs
Converting base/Data/Array/IO.hs
Converting base/Data/Array/MArray.hs
Converting base/Data/Array/ST.hs
Converting base/Data/Array/Storable.hs
Converting base/Data/Bits.hs
Converting base/Data/Bool.hs
Converting base/Data/Char.hs
Converting base/Data/Complex.hs
../../fptools/libraries/base/Data/Complex.hs:94: Dynamic.h: No such file or directory
Converting base/Data/Dynamic.hs
../../fptools/libraries/base/Data/Dynamic.hs:92: Dynamic.h: No such file or directory
../../fptools/libraries/base/Data/Dynamic.hs:375: Dynamic.h: No such file or directory
Converting base/Data/Either.hs
Converting base/Data/FiniteMap.hs
Converting base/Data/IORef.hs
Converting base/Data/Int.hs
Converting base/Data/Ix.hs
Converting base/Data/List.hs
Converting base/Data/Maybe.hs
Converting base/Data/Ratio.hs
Converting base/Data/STRef.hs
../../fptools/libraries/base/Data/STRef.hs:36: Dynamic.h: No such file or directory
Converting base/Data/STRef/Lazy.hs
Converting base/Data/STRef/Strict.hs
Converting base/Data/Set.hs
Converting base/Data/Tuple.hs
Converting base/Data/Unique.hs
Converting base/Data/Word.hs
Converting base/Debug/QuickCheck.hs
Converting base/Debug/QuickCheck/Poly.hs
Converting base/Debug/QuickCheck/Utils.hs
Converting base/Debug/Trace.hs
Converting base/Foreign.hs
Converting base/Foreign/C.hs
Converting base/Foreign/C/Error.hs
Converting base/Foreign/C/String.hs
Converting base/Foreign/C/Types.hs
../../fptools/libraries/base/Foreign/C/Types.hs:72: Dynamic.h: No such file or directory
../../fptools/libraries/base/Foreign/C/Types.hs:73: CTypes.h: No such file or directory
Converting base/Foreign/C/TypesISO.hs
../../fptools/libraries/base/Foreign/C/TypesISO.hs:62: Dynamic.h: No such file or directory
../../fptools/libraries/base/Foreign/C/TypesISO.hs:63: CTypes.h: No such file or directory
Replacing base/Foreign/ForeignPtr.hs with exts/ForeignPtr.hs
Converting base/Foreign/Marshal/Alloc.hs
Converting base/Foreign/Marshal/Array.hs
Converting base/Foreign/Marshal/Error.hs
Converting base/Foreign/Marshal/Utils.hs
Replacing base/Foreign/Ptr.hs with exts/Ptr.hs
Converting base/Foreign/StablePtr.hs
Converting base/Foreign/Storable.hs
Converting base/Numeric.hs
Converting base/Prelude.hs
Replacing base/System/CPUTime.hsc with CPUTime.hs
Converting base/System/Cmd.hs
Converting base/System/Console/GetOpt.hs
Replacing base/System/Directory.hs with Directory.hs
Converting base/System/Environment.hs
Converting base/System/Exit.hs
Converting base/System/IO.hs
Converting base/System/IO/Error.hs
Converting base/System/IO/Unsafe.hs
Converting base/System/Locale.hs
Converting base/System/Mem.hs
Converting base/System/Mem/StableName.hs
../../fptools/libraries/base/System/Mem/StableName.hs:113: Dynamic.h: No such file or directory
Converting base/System/Mem/Weak.hs
../../fptools/libraries/base/System/Mem/Weak.hs:117: Dynamic.h: No such file or directory
Converting base/System/Random.hs
Converting base/System/Posix/Types.hs
../../fptools/libraries/base/System/Posix/Types.hs:65: Dynamic.h: No such file or directory
../../fptools/libraries/base/System/Posix/Types.hs:66: CTypes.h: No such file or directory
Replacing base/System/Time.hsc with Time.hs
Converting base/Text/Html.hs
Converting base/Text/Html/BlockTable.hs
Converting base/Text/ParserCombinators/Parsec.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Char.hs
Converting base/Text/ParserCombinators/Parsec/Combinator.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Combinator.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Error.hs
Converting base/Text/ParserCombinators/Parsec/Expr.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Expr.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Language.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Language.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Perm.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Perm.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Pos.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Pos.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Prim.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Prim.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/ParserCombinators/Parsec/Token.hs
gcc: ../../fptools/libraries/base/Text/ParserCombinators/Parsec/Token.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/PrettyPrint.hs
Converting base/Text/PrettyPrint/HughesPJ.hs
gcc: ../../fptools/libraries/base/Text/PrettyPrint/HughesPJ.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting base/Text/Read.hs
Converting base/Text/Regex.hs
Converting base/Text/Regex/Posix.hsc
sed: can't read ../../fptools/libraries/base/Text/Regex/Posix.hsc: No such file or directory
./convert_libraries: hsc2hs: not found
sed: can't read ../../libraries/Text/Regex/Posix.hs: No such file or directory
Converting base/Text/Show.hs
Converting base/Text/Show/Functions.hs
gcc: ../../fptools/libraries/base/Text/Show/Functions.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Array.hs
gcc: ../../fptools/libraries/haskell98/Array.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/CPUTime.hs
gcc: ../../fptools/libraries/haskell98/CPUTime.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Char.hs
gcc: ../../fptools/libraries/haskell98/Char.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Complex.hs
gcc: ../../fptools/libraries/haskell98/Complex.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Directory.hs
gcc: ../../fptools/libraries/haskell98/Directory.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/IO.hs
gcc: ../../fptools/libraries/haskell98/IO.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Ix.hs
gcc: ../../fptools/libraries/haskell98/Ix.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/List.hs
gcc: ../../fptools/libraries/haskell98/List.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Locale.hs
gcc: ../../fptools/libraries/haskell98/Locale.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Maybe.hs
gcc: ../../fptools/libraries/haskell98/Maybe.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Monad.hs
gcc: ../../fptools/libraries/haskell98/Monad.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Random.hs
gcc: ../../fptools/libraries/haskell98/Random.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Ratio.hs
gcc: ../../fptools/libraries/haskell98/Ratio.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/System.hs
gcc: ../../fptools/libraries/haskell98/System.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Time.hs
gcc: ../../fptools/libraries/haskell98/Time.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Bits.hs
gcc: ../../fptools/libraries/haskell98/Bits.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/CError.hs
gcc: ../../fptools/libraries/haskell98/CError.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/CForeign.hs
gcc: ../../fptools/libraries/haskell98/CForeign.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/CString.hs
gcc: ../../fptools/libraries/haskell98/CString.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/CTypes.hs
gcc: ../../fptools/libraries/haskell98/CTypes.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/ForeignPtr.hs
gcc: ../../fptools/libraries/haskell98/ForeignPtr.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/MarshalAlloc.hs
gcc: ../../fptools/libraries/haskell98/MarshalAlloc.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/MarshalArray.hs
gcc: ../../fptools/libraries/haskell98/MarshalArray.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/MarshalError.hs
gcc: ../../fptools/libraries/haskell98/MarshalError.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/MarshalUtils.hs
gcc: ../../fptools/libraries/haskell98/MarshalUtils.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Ptr.hs
gcc: ../../fptools/libraries/haskell98/Ptr.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/StablePtr.hs
gcc: ../../fptools/libraries/haskell98/StablePtr.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell98/Storable.hs
gcc: ../../fptools/libraries/haskell98/Storable.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/Parser.ly
cp: ../../fptools/libraries/haskell-src/Language/Haskell/Parser.ly: No such file or directory
./convert_libraries: happy: not found
gcc: /tmp/cvt.12765/Parser.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/Lexer.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/Lexer.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/ParseMonad.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/ParseMonad.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/ParseUtils.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/ParseUtils.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/Pretty.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/Pretty.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/Syntax.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/Syntax.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting haskell-src/Language/Haskell/THSyntax.hs
gcc: ../../fptools/libraries/haskell-src/Language/Haskell/THSyntax.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Converting network/Network/URI.hs
gcc: ../../fptools/libraries/network/Network/URI.hs: No such file or directory
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
Replacing hugs/Hugs/CVHAssert.hs with hugs/CVHAssert.hs
Replacing hugs/Hugs/GenericPrint.hs with hugs/GenericPrint.hs
Replacing hugs/Hugs/Internals.hs with hugs/HugsInternals.hs
Replacing hugs/Hugs/Memo.hs with exts/Memo.hs
Replacing hugs/Hugs/Observe.lhs with exts/Observe.lhs
Replacing hugs/Hugs/Quote.hs with hugs/Quote.hs
Replacing hugs/Hugs/Trace.hs with hugs/Trace.hs
Replacing hugs/Hugs/Trex.hs with hugs/Trex.hs
Copying FFI support files
cp: ../../fptools/libraries/base/cbits/errno.c: No such file or directory
cp: ../../fptools/libraries/base/include/*.h: No such file or directory
Stub ConcBase -> Hugs.ConcBase
Stub HugsStorable -> Hugs.Storable
Stub Memo -> Hugs.Memo
Stub Observe -> Hugs.Observe
Converting CVar.lhs
Converting Chan.lhs
Converting Channel.lhs
Converting ChannelVar.lhs
Copy Concurrent.lhs
Converting MVar.lhs
Copy Merge.lhs
Converting Parallel.lhs
Converting QSem.lhs
Converting QSemN.lhs
Converting SampleVar.lhs
Converting Semaphore.lhs
Converting FiniteMap.lhs
Converting Set.lhs
Converting Assoc.hs
Converting AssocDefaults.hs
Converting AssocList.hs
Converting PatriciaLoMap.hs
Converting EdisonPrelude.hs
Converting Collection.hs
Converting CollectionDefaults.hs
Converting CollectionUtils.hs
Converting LazyPairingHeap.hs
Converting LeftistHeap.hs
Converting MinHeap.hs
Converting SkewHeap.hs
Converting SplayHeap.hs
Converting TestOrdBag.hs
Converting TestOrdSet.hs
Converting UnbalancedSet.hs
Converting BankersQueue.hs
Converting BinaryRandList.hs
Converting BraunSeq.hs
Converting JoinList.hs
Converting ListSeq.hs
Converting MyersStack.hs
Converting RandList.hs
Converting RevSeq.hs
Converting Sequence.hs
Converting SequenceDefaults.hs
Converting SimpleQueue.hs
Converting SizedSeq.hs
Converting TestSeq.hs
Copy Addr.hs
Converting ArrayBase.hs
Converting Arrow.hs
Converting CTypesISO.hs
Converting Dynamic.hs
Stub Exception -> Hugs.Exception Control.Exception
Copy ForeignObj.hs
Converting IArray.hs
Stub IOExts -> Hugs.IOExts Hugs.IORef Hugs.IOArray
Converting IORef.hs
Stub LazyST -> Hugs.LazyST
Converting NumExts.lhs
Stub ST -> Hugs.ST
Converting ShowFunctions.hs
Converting Stable.hs
Converting StableName.hs
Converting StorableArray.hs
Converting Weak.hs
Stub Int -> Hugs.Int
Stub Word -> Hugs.Word
Converting MonadCont.lhs
Converting MonadEither.lhs
Converting MonadError.lhs
Converting MonadFix.lhs
Converting MonadIdentity.lhs
Converting MonadList.lhs
Converting MonadRWS.lhs
Converting MonadReader.lhs
Converting MonadState.lhs
Converting MonadTrans.lhs
Converting MonadWriter.lhs
Converting Monoid.lhs
Converting Pretty.lhs
Converting Html.lhs
Converting HtmlBlockTable.lhs
Converting Parsec.hs
Converting ParsecChar.hs
Converting ParsecCombinator.hs
Converting ParsecError.hs
Converting ParsecExpr.hs
Converting ParsecLanguage.hs
Converting ParsecPerm.hs
Converting ParsecPos.hs
Converting ParsecPrim.hs
Converting ParsecToken.hs
Converting GetOpt.lhs
Converting Unique.lhs
Converting QuickCheck.hs
Converting QuickCheckPoly.hs
Converting QuickCheckUtils.hs
Copy AnsiInteract.hs
Copy AnsiScreen.hs
Stub CVHAssert -> Hugs.CVHAssert
Stub GenericPrint -> Hugs.GenericPrint
Copy HugsDynamic.hs
Stub HugsInternals -> Hugs.Internals
Copy HugsLibs.hs
Copy IOExtensions.hs
Copy Interact.hs
Copy ListUtils.hs
Copy Number.hs
Copy ParseLib.hs
Stub Quote -> Hugs.Quote
Copy StdLibs.hs
Stub Trace -> Hugs.Trace
Stub Trex -> Hugs.Trex
bpr@granite[src]$ 



-- 
-- Brian