[Haskell-cafe] Cabal "addressibility" problem
gwern0 at gmail.com
Fri Jun 5 15:43:06 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Jun 5, 2009 at 3:33 PM, Vasili I. Galchin wrote:
> The following is a fragment in my cabal file:
> Executable GraphPartitionTest
> Main-Is: Swish.HaskellRDF.GraphPartitionTest.hs
> Other-modules: Swish.HaskellRDF.GraphPartition
> When I try to do a build I get:
> Setup: can't find source for Swish in .
> Cabal/Setup seem to be looking in the current directory for source but as
> you can see I gave "full" paths, i.e. Swish.HaskellRDF* or
> What I doing wrong?
You need to give more detail.
For example, is your directory layout like
'./src/Swish/HaskellRDF.../foo.hs'? In that case, Cabal is looking for
'./Swish/HaskellRDF.../foo.hs'. You need to tell it to look in src/
and not ./ with a line like 'hs-source-dirs: src/' etc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe