<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">If your module statements say Swish in them, e.g.<div><br></div><div>module Swish.HaskellUtils.TestHelpers where ....</div><div><br></div><div>then you should probably have no hs-source-dirs (or hs-source-dirs: .) and then use Swish.HaskellUtils.TestHelpers.</div><div><br></div><div>But leave Main-Is: as you have it.</div><div><br></div><div>-Ross</div><div> <br><div><div>On Jun 5, 2009, at 4:49 PM, Vasili I. Galchin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">getting farther .....<br><br>Executable GraphPartitionTest<br> Hs-source-dirs: Swish/ << added this<br> Main-Is: HaskellRDF/GraphPartitionTest.hs <<< changed to a real filesystem path<br> Other-modules: HaskellRDF.GraphPartition<br> HaskellRDF.GraphClass<br> HaskellUtils.ListHelpers<br> HaskellUtils.TestHelpers <<< now says "can't find module 'Swish.HaskellUtils.TestHelpers'"???<br> <br>Vasili<br><br><br><div class="gmail_quote">On Fri, Jun 5, 2009 at 3:28 PM, Gwern Branwen <span dir="ltr"><<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br> Hash: SHA512<br> <br> </div><div class="im">On Fri, Jun 5, 2009 at 4:10 PM, Vasili I. Galchin wrote:<br> > for directory structure I Swish-0.2.1/Swish/HaskellRDF and<br> > Swish-0.2.1/Swish/HaskellUtils ... there are deeper directories but that<br> > distract from the discussion ... to make things concete:<br> ><br> > 1) swish.cabal is directly under Swish-0.2.1<br> ><br> > 2) GraphPartitionTest.hs is under Swish-0.2.1/Swish/HaskellRDF<br> ><br> > 3) GraphPartitionTest's dependencies are either under HaskellRDF or<br> > HaskellUtils<br> ><br> > Hope this helps to make things clearer. I added a "Hs-source-dirs" but that<br> > help.<br> ><br> > I did a "ruinhaskell Setup -?" to check on options. I don't see any verbose<br> > mode so that when I do "runhaskell Setup build" I can moniitor the progress<br> > of my build for diagnostic purposes! Is there a verbose mode?<br> ><br> > Thanks,<br> ><br> > Vasili<br> </div>[04:27 PM] 0Mb$ build --help<br> Usage: Setup build [FLAGS]<br> <br> Flags for build:<br> -h --help Show this help text<br> -v --verbose[=n] Control verbosity (n is 0--3, default verbosity level<br> is 1)<br> --builddir=DIR The directory where Cabal puts generated build files<br> (default dist)<br> --with-PROG=PATH give the path to PROG<br> --PROG-options=OPTS give extra options to PROG<br> --PROG-option=OPT give an extra option to PROG (no need to quote options<br> containing spaces)<br> <div class="im"><br> - --<br> gwern<br> -----BEGIN PGP SIGNATURE-----<br> Version: GnuPG v1.4.9 (GNU/Linux)<br> <br> </div>iEYEAREKAAYFAkopf/sACgkQvpDo5Pfl1oIZfgCeInjWOqdxejdpsBaI62YHkSHu<br> BvIAn1ZsC9rCYmluCW2UCmFGVFcAw3bh<br> =S6In<br> -----END PGP SIGNATURE-----<br> </blockquote></div><br> _______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>http://www.haskell.org/mailman/listinfo/haskell-cafe<br></blockquote></div><br></div></body></html>