id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	difficulty	ghcversion	platform
844	"Cabal reports ""cabal: internal error: the package contains a library but there is no corresponding configuration data"" when there exists no library in the cabal file"	fushunpoon		"When trying to build my test project to play with SDL, I encountered the following message:

""cabal: internal error: the package contains a library but there is no
corresponding configuration data"" on the following cabal file:

even though my project cabal file specifies no libraries. Surely either this is an erroneous message or there is something wrong with the logic in cabal.
Note that 'configure' and 'sdlexprs.buildinfo.in' exist as files, and they are attached with this post.

{{{
Name:                sdlexprs
Version:             0.1
Synopsis:            Just some hacks using SDL!
License:             LGPL
License-file:       LICENSE
Author:              <<my-name>>
Category:            Graphics
Build-type:          Configure
Extra-source-files:  configure,sdlexprs.buildinfo.in

Cabal-version:       >=1.2

Executable test
   -- Specify the source directory here
   Hs-source-dirs:    src
 
   -- .hs or .lhs file containing the Main module.
   Main-is:           SDLWrapper.hs
}}}"	defect	closed	low		Cabal library	1.8.0.6	minor	fixed			easy (<4 hours)		Mac OS
