Furthermore (as the above messages suggest and locate confirms), I
seem to have mtl already

I took a wild guess and tried specifying this with ghc -i

like

sudo runghc -i/usr/lib/ghc6-mtl-dev Setup.lhs configure
and sudo runghc -i/usr/lib/ Setup.lhs configure

but no dice.

***************

[EMAIL PROTECTED]:~/haskellInstalls/hsh$ locate libghc6-mtl-dev
/home/thartman/libghc6-mtl-dev_1.0-3_i386.deb
/usr/lib/libghc6-mtl-dev
/usr/lib/libghc6-mtl-dev/register.sh
/usr/lib/libghc6-mtl-dev/unregister.sh
/usr/share/doc/libghc6-mtl-dev
/usr/share/doc/libghc6-mtl-dev/changelog.Debian.gz
/usr/share/doc/libghc6-mtl-dev/copyright
/var/lib/dpkg/info/libghc6-mtl-dev.list
/var/lib/dpkg/info/libghc6-mtl-dev.md5sums
/var/lib/dpkg/info/libghc6-mtl-dev.postinst
/var/lib/dpkg/info/libghc6-mtl-dev.prerm


2007/3/21, Thomas Hartman <[EMAIL PROTECTED]>:
Some progress, but still not solved.

I built ghc6.6 from source, but apt-get / libghc6-mtl-dev now seem to
be circularly dependent.

I'm not such an apt expert, is there an easy way out of this using
packages or do I have to keep building everything from source?

*************

[EMAIL PROTECTED]:~/haskellInstalls$ sudo apt-get install libghc6-mtl-dev
Reading package lists... Done
Building dependency tree... Done
libghc6-mtl-dev is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libghc6-mtl-dev: Depends: ghc6 (>= 6.6) but 6.4.1-2ubuntu2 is to be installed
                   Depends: libghc6-base-prof
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
[EMAIL PROTECTED]:~/haskellInstalls$ sudo apt-get install ghc6
Reading package lists... Done
Building dependency tree... Done
ghc6 is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libghc6-mtl-dev: Depends: ghc6 (>= 6.6) but 6.4.1-2ubuntu2 is to be installed
                   Depends: libghc6-base-prof
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
[EMAIL PROTECTED]:~/haskellInstalls$


2007/3/21, Thomas Hartman <[EMAIL PROTECTED]>:
> and I'm on...
>
> [EMAIL PROTECTED]:~/haskellInstalls$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.6
>
> 2007/3/21, Thomas Hartman <[EMAIL PROTECTED]>:
> > When attempting to build hsh, I get complaint that it can't satisfy
> > dependency for mtl-any.
> >
> > How can I get this?
> >
> > Thanks!
> >
> > **************
> >
> > wget 
http://software.complete.org/hsh/static/download_area/1.2.0/hsh_1.2.0.tar.gz
> >
> > [EMAIL PROTECTED]:~/haskellInstalls/hsh$ sudo runghc Setup.lhs configure
> > Setup.lhs: Warning: The field "hs-source-dir" is deprecated, please
> > use hs-source-dirs.
> > Setup.lhs: Warning: No license-file field.
> > Configuring HSH-1.2.0...
> > configure: /usr/local/bin/ghc-pkg
> > configure: Dependency base-any: using base-2.0
> > configure: Dependency unix-any: using unix-1.0
> > Setup.lhs: cannot satisfy dependency mtl-any
> >
> >
> > [EMAIL PROTECTED]:~/haskellInstalls/hsh$ apt-cache search haskell-mtl
> > [EMAIL PROTECTED]:~/haskellInstalls/hsh$
> >
> > [EMAIL PROTECTED]:~/haskellInstalls$ apt-cache search haskell | grep mtl
> > [EMAIL PROTECTED]:~/haskellInstalls$
> >
> >
> >
> > 2007/3/14, John Goerzen <[EMAIL PROTECTED]>:
> > > On 2007-03-13, Brandon Michael Moore <[EMAIL PROTECTED]> wrote:
> > > > On Mon, Mar 12, 2007 at 05:14:57PM -0500, John Goerzen wrote:
> > > > You can do this with runProcess, if you use
> > > > System.Posix.IO.{createPipe,fdToHandle} to make a pipe and
> > > > wrap the ends as handles. I hope hCreatePipe could be
> > > > implemented on windows.
> > >
> > > Right, but the whole point of trying to use System.Process was to remove
> > > the dependency on POSIX and thus make the program portable to Windows.
> > >
> > > -- John
> > >
> > > _______________________________________________
> > > Haskell-Cafe mailing list
> > > Haskell-Cafe@haskell.org
> > > http://www.haskell.org/mailman/listinfo/haskell-cafe
> > >
> >
>

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to