From: Karel P. <kar...@gm...> - 2009-03-24 19:44:09
|
Hello, I'm not able to compile gtk2hs on this configuration: gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] The Glorious Glasgow Haskell Compilation System, version 6.10.1 Happy Version 1.18.2 Alex version 2.3.1 32bit openSUSE 11.0 gtk2hs configured with (the most bare version): ./configure --with-hcflags='-O0 -v' --disable-split-objs --disable-deprecated --enable-packager-mode --enable-glib Tried both with 0.10.0 and darcs snapshot. I'm not sure whether this problem is somehow related to IA64 arch problem, with assembler error (see http://www.mail-archive.com/gtk...@li.../msg00087.html ) or it is just that somehow Glib/UTFString.hi was not generated Thanks in advance for any help. There's output: ... /usr/bin/hsc2hs +RTS -RTS -L-optl-lgobject-2.0 -L-optl-lglib-2.0 -C-optc-g -C-optc-O2 -C-opta-g -C-opta-O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -C'-optc-include' -C'-optcgtk2hs-config.h' -C'-optc-include' -C'-optctemplate-hsc-gtk2hs.h' --include glib-object.h --cc="/usr/bin/ghc" --lflag=-no-hs-main glib/System/Glib/GTypeConstants.hsc /tmp/ghc20444_0/ghc20444_0.s: Assembler messages: /tmp/ghc20444_0/ghc20444_0.s:127:0: Error: file number 2 already allocated compiling glib/System/Glib/GTypeConstants_hsc_make.c failed command was: /usr/bin/ghc -c -optc-g -optc-O2 -opta-g -opta-O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -optc-include -optcgtk2hs-config.h -optc-include -optctemplate-hsc-gtk2hs.h glib/System/Glib/GTypeConstants_hsc_make.c -o glib/System/Glib/GTypeConstants_hsc_make.o /usr/bin/ghc +RTS -RTS -c glib/System/Glib.hs -o glib/System/Glib.o -O0 -v -XForeignFunctionInterface -iglib -package-conf package.conf.inplace -hide-all-packages -ignore-package glib -package base-4.0.0.0 -package-name glib-0.10.0 '-#include<glib-object.h>' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include Glasgow Haskell Compiler, Version 6.10.1, for Haskell 98, stage 2 booted by GHC version 6.10.1 Using package config file: /usr/lib/ghc-6.10.1/./package.conf Using package config file: /home/kapy/.ghc/i386-linux-6.10.1/package.conf Using package config file: package.conf.inplace wired-in package ghc-prim mapped to ghc-prim-0.1.0.0 wired-in package integer mapped to integer-0.1.0.0 wired-in package base mapped to base-4.0.0.0 wired-in package rts mapped to rts-1.0 wired-in package haskell98 mapped to haskell98-1.0.1.0 wired-in package syb mapped to syb-0.1.0.0 wired-in package template-haskell mapped to template-haskell-2.3.0.0 wired-in package dph-seq mapped to dph-seq-0.3 wired-in package dph-par mapped to dph-par-0.3 package cairo-0.10.0 will be ignored due to missing or recursive dependencies: glib-0.10.0 package gtk-0.10.0 will be ignored due to missing or recursive dependencies: glib-0.10.0 cairo-0.10.0 package soegtk-0.10.0 will be ignored due to missing or recursive dependencies: gtk-0.10.0 cairo-0.10.0 package glade-0.10.0 will be ignored due to missing or recursive dependencies: gtk-0.10.0 package gnomevfs-0.10.0 will be ignored due to missing or recursive dependencies: glib-0.10.0 Hsc static flags: -static Created temporary directory: /tmp/ghc20457_0 *** Checking old interface for glib-0.10.0:System.Glib: *** Parser: *** Renamer/typechecker: glib/System/Glib.hs:13:0: Failed to load interface for `System.Glib.UTFString': locations searched: System/Glib/UTFString.hi System/Glib/UTFString.hi-boot glib/System/Glib/UTFString.hi glib/System/Glib/UTFString.hi-boot *** Deleting temp files: Deleting: /tmp/ghc20457_0/ghc20457_0.s Warning: deleting non-existent /tmp/ghc20457_0/ghc20457_0.s *** Deleting temp dirs: Deleting: /tmp/ghc20457_0 make[1]: *** [glib/System/Glib.o] Error 1 make[1]: Leaving directory `/home/kapy/docs/fit-master/fpr/soft/gtk2hs' make: *** [all] Error 2 |