Axel Simon <axel.si...@in.tum.de> writes:

> Hi Andy,
>
> I cannot find anything wrong with the Makefile.
>
> I installed webkit 1.1.10. Since the configure script requires at least 
> version 1.1.14, I simply
> changed the configure file. When I run  make, I get:
>
> rm -f libHSgio.a
> ./mk/link-splitobjs.sh libHSgio.a gio/System/GIO/AsyncResult.o gio/
> System/GIO/Base.o gio/System/GIO/Cancellable.o gio/System/GIO/
> FileAttribute.o gio/System/GIO/File.o gio/System/GIO.o gio/System/GIO/
> Types.o gio/System/GIO/Signals.o  gio/System/GIO/Base_stub.o
> Linking libHSgio.a, for larger libs this can take quite some time...
> ar: creating archive libHSgio.a
> ranlib libHSgio.a
> rm soegtk/Graphics/SOE/Gtk.hs
> make: *** [all] Error 2
>
> However, there's lots of output before this error message and scrolling up 
> reveals that there was an
> error (I don't know why make  doesn't stop immediately). Running make again 
> gave me:
>
> make  all-am
> ./tools/c2hs/c2hsLocal +RTS -RTS -igtk:glib:webkit --precomp=webkit/
> webkit.precomp -o webkit/Graphics/UI/Gtk/WebKit/Types.hs webkit/
> Graphics/UI/Gtk/WebKit/Types.chs
> c2hsLocal: Errors during expansion of binding hooks:
>
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:232: (column 12) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `NetworkResponse' in the header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:255: (column 22) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `webkit_network_response_get_type' in the 
> header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:448: (column 12) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `WebDatabase' in the header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:471: (column 22) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `webkit_web_database_get_type' in the header 
> file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:475: (column 12) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `WebDataSource' in the header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:498: (column 22) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `webkit_web_data_source_get_type' in the 
> header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:502: (column 12) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `WebResource' in the header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:525: (column 22) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `webkit_web_resource_get_type' in the header 
> file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:529: (column 12) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `SecurityOrigin' in the header file.
> webkit/Graphics/UI/Gtk/WebKit/Types.chs:552: (column 22) [ERROR]
>   >>> Unknown identifier!
>   Cannot find a definition for `webkit_security_origin_get_type' in the 
> header file.
>
> make: *** [all] Error 2
>
> Which means that the version of webkit I'm using is lacking certain types. I 
> removed these types
> from tools/hierarchyGen/hierarchy.list  but ran into problems of missing 
> functions.
>
> I think you just have to scroll up to find the actual error (or run make 
> again). Since my packaging
> system doesn't provide webkit 1.10.14,  I cannot build with the proper 
> version right now.
I have libwebkit-deve 1.1.15.2, i can for this test.

And now looks error bring webkit patch.
Because  I use "autoreconf && ./configure --with-hcflags=-O0 
--disable-split-objs
--disable-webkit" command to disable webkit, can compile successful.

But this is still have an error in Makefile:
After ./configure, then `make`, you will got error:

    **** Makefile 1106: Missing separate character.
    
------------------------------> Makefile error place start 
<------------------------------
...
1104| PKG_HASKELL98_VERSION = 1.0.1.1
1105| PKG_MTL_ID = mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634
1106| mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634
1107| PKG_MTL_VERSION = 1.1.0.2
1108| PKG_OLDTIME_ID = old-time-1.0.0.3-fd6ba884bb7fbb042704e6c89a90a072
1109| PKG_OLDTIME_VERSION = 1.0.0.3
...
------------------------------> Makefile error place end   
<------------------------------

After i remove 1106 line, compile successful with `--disable-webkit`.
Looks something is wrong in configure script that generate duplicate
`mtl` information at line 1106 of Makefile.

Then i `make` again, i got many error in Webkit/Types.chs
See below attach file about detail:

webkit/Graphics/UI/Gtk/WebKit/Types.chs:111:11:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:111:29:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:114:7:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:115:10:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:117:21:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:125:22:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:128:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:130:12:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:130:32:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:133:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:134:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:135:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:136:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:137:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:138:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:138:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:139:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:139:49:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:141:17:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:152:24:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:155:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:157:13:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:157:33:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:160:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:161:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:162:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:163:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:164:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:165:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:165:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:166:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:166:50:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:168:18:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:179:30:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:182:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:184:16:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:184:36:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:187:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:188:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:189:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:190:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:191:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:192:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:192:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:193:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:193:53:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:195:21:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:206:36:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:209:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:211:19:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:211:39:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:214:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:215:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:216:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:217:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:218:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:219:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:219:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:220:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:220:56:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:222:24:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:233:38:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:236:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:238:20:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:238:40:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:241:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:242:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:243:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:244:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:245:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:246:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:246:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:247:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:247:57:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:249:25:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:260:24:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:263:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:265:13:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:265:33:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:268:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:269:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:270:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:271:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:272:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:273:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:273:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:274:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:274:50:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:276:18:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:287:44:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:290:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:292:23:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:292:43:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:295:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:296:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:297:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:298:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:299:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:300:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:300:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:301:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:301:60:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:303:28:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:314:36:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:317:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:319:19:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:319:39:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:322:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:323:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:324:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:325:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:326:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:327:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:327:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:328:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:328:56:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:330:24:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:341:32:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:344:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:346:17:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:346:37:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:349:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:350:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:351:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:352:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:353:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:354:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:354:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:355:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:355:54:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:357:22:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:368:46:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:371:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:373:24:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:373:44:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:376:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:377:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:378:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:379:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:380:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:381:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:381:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:382:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:382:61:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:384:29:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:395:42:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:398:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:400:22:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:400:42:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:403:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:404:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:405:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:406:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:407:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:408:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:408:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:409:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:409:59:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:411:27:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:422:42:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:425:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:427:22:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:427:42:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:430:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:431:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:432:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:433:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:434:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:435:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:435:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:436:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:436:59:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:438:27:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:449:30:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:452:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:454:16:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:454:36:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:457:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:458:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:459:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:460:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:461:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:462:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:462:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:463:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:463:53:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:465:21:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:476:34:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:479:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:481:18:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:481:38:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:484:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:485:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:486:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:487:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:488:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:489:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:489:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:490:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:490:55:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:492:23:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:503:30:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:506:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:508:16:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:508:36:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:511:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:512:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:513:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:514:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:515:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:516:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:516:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:517:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:517:53:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:519:21:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:530:36:
Not in scope: `objectUnref'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:533:6:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:535:19:
Not in scope: `unsafeCastGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:535:39:
Not in scope: `toGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:538:9:
Not in scope: type constructor or class `BinClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:539:9:
Not in scope: type constructor or class `ContainerClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:540:9:
Not in scope: type constructor or class `WidgetClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:541:9:
Not in scope: type constructor or class `ObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:542:9:
Not in scope: type constructor or class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:543:2:
`toGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:543:14:
Not in scope: data constructor `GObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:544:2:
`unsafeCastGObject' is not a (visible) method of class `GObjectClass'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:544:56:
Not in scope: `unGObject'

webkit/Graphics/UI/Gtk/WebKit/Types.chs:546:24:
Not in scope: type constructor or class `GObjectClass'
And i check Webkit/Types.ch, Types and Functions generate correctly, but
missing some `import`, just below `import` in Webkit/Types.chs

------------------------------> import start <------------------------------
import Foreign.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr)
import Foreign.C.Types    (CULong, CUInt)
import System.Glib.GType        (GType, typeInstanceIsA)
------------------------------> import end   <------------------------------

I think something wrong in `configure.ac` that lost `GObject import` in
Types.chs

And for detail, i need do some `diff` to find where the problem.
I will push patch if i fix this problem.

Please tell me if have any idea.  

>
> On Mar 17, 2010, at 12:03, Andy Stewart wrote:
>
>> Hi Axel,
>>
>> I want update all functions/signals under Widget to Gtk+ 2.18.
>
> Please consider using the apiGen tool to generate these functions. If you 
> don't, you are likely to
> forget an #ifdef or get the documentation  wrong. Fixing these thing takes 
> longer for me than
> merging the new  functions generated by apiGen myself.
Yes, i try to use apiGen tool, but i will check new functions after copy.

> In order to ensure some quality of the binding, every function and signal 
> that we bind needs to be
> understood. A lot of functions simply  emit signals and a lot of signals are 
> just there to trigger
> some  default behaviour. I don't think we will ever need to enable the user  
> to write their own
> instances of Widget and only then do these  functions make sense.
I see, thanks for your suggestion!

Above TODO list, just `diff` between current API and Gtk+ 2.18
documentation, haven't research deeply.

Of course, i just update necessary functions for gtk2hs user.

BTW, we still push patch to http://code.haskell.org/gtk2hs/ until we
convert to cabal package completely?

Cheers,

  -- Andy

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to