Here is the beginning of QNameTest .. i.e. interface plus imports:

module Swish.HaskellUtils.QNameTest where^M
^M
import System.IO^M
    ( Handle, IOMode(WriteMode)^M
    , openFile, hClose, hPutStr, hPutStrLn^M
    )^M
^M
import Data.Maybe^M
    ( fromJust )^M
^M
import Test.HUnit^M
    ( Test(TestCase,TestList,TestLabel)^M
    , assertBool, assertEqual, assertString^M
    , runTestTT, runTestText, putTextToHandle^M
    )^M
^M
import Swish.HaskellUtils.QName^M
    ( QName(..)^M
    , newQName, qnameFromPair, qnameFromURI^M
    , getNamespace, getLocalName, getQNameURI^M
    , splitURI^M
    )^M

Following is the linking info for QNameTest ... I don't see a -package
switch for Swish.HaskellUtils.Qname!  why?

Creating dist/build/QNameTest (and its parents)
Creating dist/build/QNameTest/QNameTest-tmp (and its parents)
/usr/local/bin/ghc -o dist/build/QNameTest/QNameTest --make
-hide-all-packages -i -idist/build/QNameTest/QNameTest-tmp -iSwish/
-idist/build/autogen -Idist/build/QNameTest/QNameTest-tmp -odir
dist/build/QNameTest/QNameTest-tmp -hidir dist/build/QNameTest/QNameTest-tmp
-stubdir dist/build/QNameTest/QNameTest-tmp -package HUnit-1.2.0.0 -package
array-0.1.0.0 -package base-3.0.1.0 -package binary-0.4.2 -package
bytestring-0.9.1.0 -package containers-0.1.0.1 -package mtl-1.1.0.1 -package
old-time-1.0.0.0 -package parallel-1.0.0.0 -package parsec-2.1.0.0 -package
random-1.0.0.0 -O Swish/HaskellUtils/QNameTest.hs

Swish/HaskellUtils/QNameTest.hs:36:7:
    Could not find module `Swish.HaskellUtils.QName':
      Use -v to see a list of the files searched for.


Regards, Vasili


On Sat, Jun 6, 2009 at 6:45 PM, Vasili I. Galchin <vigalc...@gmail.com>wrote:

> Hello,
>
>      I picked an exceedingly case to build an "Executable":
>
> Executable         QNameTest
>    Hs-source-dirs: Swish/
>    Main-Is:        HaskellUtils/QNameTest.hs
>    Other-Modules:  HaskellUtils.QName
>
> Here are the results of a "cabal build -v":
>
> Creating dist/build/QNameTest (and its parents)
> Creating dist/build/QNameTest/QNameTest-tmp (and its parents)
> /usr/local/bin/ghc -o dist/build/QNameTest/QNameTest --make
> -hide-all-packages -i -idist/build/QNameTest/QNameTest-tmp -iSwish/
> -idist/build/autogen -Idist/build/QNameTest/QNameTest-tmp -odir
> dist/build/QNameTest/QNameTest-tmp -hidir dist/build/QNameTest/QNameTest-tmp
> -stubdir dist/build/QNameTest/QNameTest-tmp -package HUnit-1.2.0.0 -package
> array-0.1.0.0 -package base-3.0.1.0 -package binary-0.4.2 -package
> bytestring-0.9.1.0 -package containers-0.1.0.1 -package mtl-1.1.0.1 -package
> old-time-1.0.0.0 -package parallel-1.0.0.0 -package parsec-2.1.0.0 -package
> random-1.0.0.0 -O Swish/HaskellUtils/QNameTest.hs
>
> Swish/HaskellUtils/QNameTest.hs:36:7:
>     Could not find module `Swish.HaskellUtils.QName':
>       Use -v to see a list of the files searched for.
>
> ???
>
> Thanks,
>
> Vasili
>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to