Cabal-1.4: library-dirs and include-dirs missing from package description after install

Alistair Bayley alistair at abayley.org
Mon Jun 16 09:15:37 EDT 2008


I'm trying to build and install Takusen 0.8.2 with a new .cabal and
Setup, using Cabal-1.4.0.0. The Setup program writes out an updated
Takusen.buildinfo (below) from the postConf hook. However, the
library-dirs and include-dirs fields are not included in the package
description when installed.

Any ideas as to what I'm doing wrong?

Alistair

--------------- Takusen.buildinfo ---------------------
buildable: True
build-tools: odbcconf -any, sqlplus -any, pg_config -any,
             sqlite3 -any
cpp-options:
cc-options:
ld-options: --enable-stdcall-fixup
pkgconfig-depends:
frameworks:
c-sources:
extensions: CPP
extra-libraries: odbc32 oci pq sqlite3
extra-lib-dirs: "C:\\Program Files\\sqlite3\\"
                C:/PROGRA~1/POSTGR~1/8.1/lib
C:\oracle\product\10.2.0\client_1\bin
includes:
install-includes:
include-dirs: "C:\\Program Files\\sqlite3\\"
              C:/PROGRA~1/POSTGR~1/8.1/include
              C:/PROGRA~1/POSTGR~1/8.1/include/server
              C:\oracle\product\10.2.0\client_1\oci\include
hs-source-dirs: .
other-modules: Database.InternalEnumerator
ghc-prof-options: -prof -auto-all
ghc-shared-options: -prof -auto-all
ghc-options:
hugs-options:
nhc98-options:
jhc-options:
------------------------------------------------------------------------
ghc-pkg describe Takusen-0.8.2:

name: Takusen
version: 0.8.2
license: BSD3
copyright: 2003-2008, Alistair Bayley, Oleg Kiselyov
maintainer: alistair at abayley.org, oleg at pobox.com
stability: experimental
homepage: http://darcs.haskell.org/takusen
package-url: http://darcs.haskell.org/takusen
description: Takusen is a DBMS access library. ... <trimmed>
category: Database
author: Alistair Bayley, Oleg Kiselyov
exposed: True
exposed-modules: Database.ODBC.Enumerator
                 Database.ODBC.OdbcFunctions Database.Oracle.Enumerator
                 Database.Oracle.OCIConstants Database.Oracle.OCIFunctions
                 Database.PostgreSQL.Enumerator Database.PostgreSQL.PGFunctions
                 Database.Sqlite.Enumerator Database.Sqlite.SqliteFunctions
                 Database.Enumerator Database.Util Database.Stub.Enumerator
                 Control.Exception.MonadIO Foreign.C.UTF8
hidden-modules: Database.InternalEnumerator
import-dirs: "C:\\Program Files\\Haskell\\Takusen-0.8.2\\ghc-6.8.1"
library-dirs: "C:\\Program Files\\Haskell\\Takusen-0.8.2\\ghc-6.8.1"
hs-libraries: HSTakusen-0.8.2
extra-libraries: odbc32 oci pq sqlite3
extra-ghci-libraries:
include-dirs:
includes:
depends: base-3.0.0.0 mtl-1.1.0.0 old-time-1.0.0.0 time-1.1.2.0
hugs-options:
cc-options:
ld-options: --enable-stdcall-fixup
framework-dirs:
frameworks:
haddock-interfaces: "C:\\Program
Files\\Haskell\\doc\\Takusen-0.8.2\\html\\Takusen.haddock"
haddock-html: "C:\\Program Files\\Haskell\\doc\\Takusen-0.8.2\\html"


More information about the Libraries mailing list