[Haskell-cafe] Error trying to build haskell-dbus on FreeBSD
Brandon Martin
brandon at codedmart.com
Sat Feb 1 01:16:11 UTC 2020
Hmm... maybe I am missing a package in FreeBSD then? Is that the possible suggestion?
--
Brandon Martin
On Fri, Jan 31, 2020, at 5:12 PM, Simon Jakobi wrote:
> I think the error suggests that the C pre-processor doesn't work as
> expected. Look at the source around the error locations:
>
> https://github.com/rblaze/haskell-dbus/blob/43b1382ce93f08272fd6fda253d977f604214b2e/lib/DBus/Internal/Types.hs#L452-L481
>
> "HsType" is a variable name used in the CPP definition.
>
> Am Sa., 1. Feb. 2020 um 01:58 Uhr schrieb Brandon Martin
> <brandon at codedmart.com>:
> >
> > Yes I am. I put allow newer in both because stack complained about dependencies, and suggested it. I just put it in as a quick test to see if I could build it. Cabal didn't complain about dependencies, but got the same error.
> >
> > --
> > Brandon Martin
> >
> > On Fri, Jan 31, 2020, at 4:55 PM, Simon Jakobi wrote:
> > > Are you using the same dependency set (including GHC version) that you
> > > used on Linux too?
> > >
> > > Why did you enable allow-newer?
> > >
> > > Am Sa., 1. Feb. 2020 um 01:30 Uhr schrieb Brandon Martin
> > > <brandon at codedmart.com>:
> > > >
> > > > I am trying to build haskell-dbus on FreeBSD 12.1. I have tried with stack 2.1.3.1, and with cabal 2.4.0.0. I am seeing this error:
> > > >
> > > > Not in scope: type constructor or class ‘HsType’
> > > >
> > > > Full error: https://gist.github.com/codedmart/2b04438566ed8e985d909db7d426649c
> > > >
> > > > HsType is part of ghc unless I am missing something. I am new to using FreeBSD as I usually use Linux. This package builds fine for me on Linux.
> > > >
> > > > Thanks
> > > >
> > > > --
> > > > Brandon Martin
> > > >
> > > > _______________________________________________
> > > > Haskell-Cafe mailing list
> > > > To (un)subscribe, modify options or view archives go to:
> > > > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > > > Only members subscribed via the mailman list are allowed to post.
> > >
>
More information about the Haskell-Cafe
mailing list