Himerge install failed [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Himerge install failed [Solved]

Postby cycad » Wed Sep 02, 2009 21:55

Sabayon 4.2
32bit
gnome
I did emerge --sync then emerge -av himerge,all the dependant pkgs installed except app-portage/himerge-0.30.37 which failed with this error.
Code: Select all
Building himerge-0.30.37...
[ 1 of 13] Compiling Proc             ( src/Proc.hs, dist/build/himerge/himerge-tmp/Proc.o )
[ 2 of 13] Compiling Paths_himerge    ( dist/build/autogen/Paths_himerge.hs, dist/build/himerge/himerge-tmp/Paths_himerge.o )
[ 3 of 13] Compiling SCKeys           ( src/SCKeys.hs, dist/build/himerge/himerge-tmp/SCKeys.o )

src/SCKeys.hs:26:24:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:27:18: Not in scope: data constructor `Key'

src/SCKeys.hs:27:24: Not in scope: `eventModifier'

src/SCKeys.hs:27:41: Not in scope: data constructor `Control'

src/SCKeys.hs:27:51: Not in scope: `eventKeyName'

src/SCKeys.hs:30:28:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:31:22: Not in scope: data constructor `Key'

src/SCKeys.hs:31:28: Not in scope: `eventModifier'

src/SCKeys.hs:31:45: Not in scope: data constructor `Control'

src/SCKeys.hs:31:55: Not in scope: `eventKeyName'

src/SCKeys.hs:34:24:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:35:18: Not in scope: data constructor `Key'

src/SCKeys.hs:35:24: Not in scope: `eventModifier'

src/SCKeys.hs:35:41: Not in scope: data constructor `Control'

src/SCKeys.hs:35:51: Not in scope: `eventKeyName'

src/SCKeys.hs:38:32:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:39:26: Not in scope: data constructor `Key'

src/SCKeys.hs:39:32: Not in scope: `eventModifier'

src/SCKeys.hs:39:49: Not in scope: data constructor `Control'

src/SCKeys.hs:39:59: Not in scope: `eventKeyName'

src/SCKeys.hs:42:29:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:43:23: Not in scope: data constructor `Key'

src/SCKeys.hs:43:29: Not in scope: `eventModifier'

src/SCKeys.hs:43:46: Not in scope: data constructor `Control'

src/SCKeys.hs:43:56: Not in scope: `eventKeyName'

src/SCKeys.hs:46:25:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:47:19: Not in scope: data constructor `Key'

src/SCKeys.hs:47:25: Not in scope: `eventModifier'

src/SCKeys.hs:47:42: Not in scope: data constructor `Control'

src/SCKeys.hs:47:52: Not in scope: `eventKeyName'

src/SCKeys.hs:50:31:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:51:25: Not in scope: data constructor `Key'

src/SCKeys.hs:51:31: Not in scope: `eventModifier'

src/SCKeys.hs:51:48: Not in scope: data constructor `Control'

src/SCKeys.hs:51:58: Not in scope: `eventKeyName'

src/SCKeys.hs:54:26:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:55:20: Not in scope: data constructor `Key'

src/SCKeys.hs:55:26: Not in scope: `eventModifier'

src/SCKeys.hs:55:43: Not in scope: data constructor `Control'

src/SCKeys.hs:55:53: Not in scope: `eventKeyName'

src/SCKeys.hs:58:28:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:59:22: Not in scope: data constructor `Key'

src/SCKeys.hs:59:28: Not in scope: `eventModifier'

src/SCKeys.hs:59:45: Not in scope: data constructor `Control'

src/SCKeys.hs:59:55: Not in scope: `eventKeyName'

src/SCKeys.hs:62:25:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:63:19: Not in scope: data constructor `Key'

src/SCKeys.hs:63:25: Not in scope: `eventModifier'

src/SCKeys.hs:63:42: Not in scope: data constructor `Control'

src/SCKeys.hs:63:52: Not in scope: `eventKeyName'

src/SCKeys.hs:66:21:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:67:15: Not in scope: data constructor `Key'

src/SCKeys.hs:67:21: Not in scope: `eventModifier'

src/SCKeys.hs:67:38: Not in scope: data constructor `Control'

src/SCKeys.hs:67:48: Not in scope: `eventKeyName'

src/SCKeys.hs:71:21:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:72:15: Not in scope: data constructor `Key'

src/SCKeys.hs:72:21: Not in scope: `eventModifier'

src/SCKeys.hs:72:38: Not in scope: data constructor `Control'

src/SCKeys.hs:72:47: Not in scope: data constructor `Alt'

src/SCKeys.hs:72:53: Not in scope: `eventKeyName'

src/SCKeys.hs:75:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:76:16: Not in scope: data constructor `Key'

src/SCKeys.hs:76:22: Not in scope: `eventModifier'

src/SCKeys.hs:76:39: Not in scope: data constructor `Control'

src/SCKeys.hs:76:48: Not in scope: data constructor `Alt'

src/SCKeys.hs:76:54: Not in scope: `eventKeyName'

src/SCKeys.hs:79:21:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:80:15: Not in scope: data constructor `Key'

src/SCKeys.hs:80:21: Not in scope: `eventModifier'

src/SCKeys.hs:80:38: Not in scope: data constructor `Control'

src/SCKeys.hs:80:47: Not in scope: data constructor `Alt'

src/SCKeys.hs:80:53: Not in scope: `eventKeyName'

src/SCKeys.hs:83:23:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:84:17: Not in scope: data constructor `Key'

src/SCKeys.hs:84:23: Not in scope: `eventModifier'

src/SCKeys.hs:84:40: Not in scope: data constructor `Control'

src/SCKeys.hs:84:49: Not in scope: data constructor `Alt'

src/SCKeys.hs:84:55: Not in scope: `eventKeyName'

src/SCKeys.hs:87:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:88:16: Not in scope: data constructor `Key'

src/SCKeys.hs:88:22: Not in scope: `eventModifier'

src/SCKeys.hs:88:39: Not in scope: data constructor `Control'

src/SCKeys.hs:88:48: Not in scope: data constructor `Alt'

src/SCKeys.hs:88:54: Not in scope: `eventKeyName'

src/SCKeys.hs:91:24:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:92:18: Not in scope: data constructor `Key'

src/SCKeys.hs:92:24: Not in scope: `eventModifier'

src/SCKeys.hs:92:41: Not in scope: data constructor `Control'

src/SCKeys.hs:92:50: Not in scope: data constructor `Alt'

src/SCKeys.hs:92:56: Not in scope: `eventKeyName'

src/SCKeys.hs:95:19:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:96:13: Not in scope: data constructor `Key'

src/SCKeys.hs:96:19: Not in scope: `eventModifier'

src/SCKeys.hs:96:36: Not in scope: data constructor `Control'

src/SCKeys.hs:96:45: Not in scope: data constructor `Alt'

src/SCKeys.hs:96:51: Not in scope: `eventKeyName'

src/SCKeys.hs:99:20:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:100:14: Not in scope: data constructor `Key'

src/SCKeys.hs:100:20: Not in scope: `eventModifier'

src/SCKeys.hs:100:37: Not in scope: data constructor `Control'

src/SCKeys.hs:100:46: Not in scope: data constructor `Alt'

src/SCKeys.hs:100:52: Not in scope: `eventKeyName'

src/SCKeys.hs:103:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:104:16: Not in scope: data constructor `Key'

src/SCKeys.hs:104:22: Not in scope: `eventModifier'

src/SCKeys.hs:104:39: Not in scope: data constructor `Control'

src/SCKeys.hs:104:48: Not in scope: data constructor `Alt'

src/SCKeys.hs:104:54: Not in scope: `eventKeyName'

src/SCKeys.hs:107:23:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:108:17: Not in scope: data constructor `Key'

src/SCKeys.hs:108:23: Not in scope: `eventModifier'

src/SCKeys.hs:108:40: Not in scope: data constructor `Control'

src/SCKeys.hs:108:49: Not in scope: data constructor `Alt'

src/SCKeys.hs:108:55: Not in scope: `eventKeyName'

src/SCKeys.hs:111:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:112:16: Not in scope: data constructor `Key'

src/SCKeys.hs:112:22: Not in scope: `eventModifier'

src/SCKeys.hs:112:39: Not in scope: data constructor `Control'

src/SCKeys.hs:112:48: Not in scope: data constructor `Alt'

src/SCKeys.hs:112:54: Not in scope: `eventKeyName'

src/SCKeys.hs:115:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:116:16: Not in scope: data constructor `Key'

src/SCKeys.hs:116:22: Not in scope: `eventModifier'

src/SCKeys.hs:116:39: Not in scope: data constructor `Control'

src/SCKeys.hs:116:48: Not in scope: data constructor `Alt'

src/SCKeys.hs:116:54: Not in scope: `eventKeyName'

src/SCKeys.hs:119:21:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:120:15: Not in scope: data constructor `Key'

src/SCKeys.hs:120:21: Not in scope: `eventModifier'

src/SCKeys.hs:120:38: Not in scope: data constructor `Control'

src/SCKeys.hs:120:47: Not in scope: data constructor `Alt'

src/SCKeys.hs:120:53: Not in scope: `eventKeyName'

src/SCKeys.hs:124:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:125:16: Not in scope: data constructor `Key'

src/SCKeys.hs:125:22: Not in scope: `eventModifier'

src/SCKeys.hs:125:39: Not in scope: data constructor `Control'

src/SCKeys.hs:125:49: Not in scope: `eventKeyName'

src/SCKeys.hs:129:23:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:130:18: Not in scope: data constructor `Key'

src/SCKeys.hs:130:24: Not in scope: `eventModifier'

src/SCKeys.hs:130:41: Not in scope: data constructor `Control'

src/SCKeys.hs:130:51: Not in scope: `eventKeyName'

src/SCKeys.hs:133:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:134:17: Not in scope: data constructor `Key'

src/SCKeys.hs:134:23: Not in scope: `eventModifier'

src/SCKeys.hs:134:40: Not in scope: data constructor `Control'

src/SCKeys.hs:134:50: Not in scope: `eventKeyName'

src/SCKeys.hs:137:22:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:138:17: Not in scope: data constructor `Key'

src/SCKeys.hs:138:23: Not in scope: `eventModifier'

src/SCKeys.hs:138:40: Not in scope: data constructor `Control'

src/SCKeys.hs:138:50: Not in scope: `eventKeyName'

src/SCKeys.hs:142:25:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:143:19: Not in scope: data constructor `Key'

src/SCKeys.hs:143:25: Not in scope: `eventModifier'

src/SCKeys.hs:143:42: Not in scope: data constructor `Control'

src/SCKeys.hs:143:52: Not in scope: `eventKeyName'

src/SCKeys.hs:146:23:
    Not in scope: type constructor or class `Event'

src/SCKeys.hs:147:17: Not in scope: data constructor `Button'

src/SCKeys.hs:147:26: Not in scope: `eventClick'

src/SCKeys.hs:147:39: Not in scope: data constructor `ReleaseClick'

src/SCKeys.hs:147:54: Not in scope: `eventButton'

src/SCKeys.hs:147:68: Not in scope: data constructor `RightButton'

src/SCKeys.hs:148:17: Not in scope: data constructor `Key'

src/SCKeys.hs:148:23: Not in scope: `eventModifier'

src/SCKeys.hs:148:40: Not in scope: data constructor `Control'

src/SCKeys.hs:148:50: Not in scope: `eventKeyName'
 *
 * ERROR: app-portage/himerge-0.30.37 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3122:  Called haskell-cabal_src_compile
 *             environment, line 2476:  Called cabal_src_compile
 *             environment, line  683:  Called cabal-build
 *             environment, line  596:  Called die
 * The specific snippet of code:
 *       ./setup build || die "setup build failed"
 *  The die message:
 *   setup build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/lib/entropy/logs/app-portage:himerge-0.30.37:20090902-213958.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-portage/himerge-0.30.37/temp/environment'.
 *

>>> Failed to emerge app-portage/himerge-0.30.37, Log file:

>>>  '/var/lib/entropy/logs/app-portage:himerge-0.30.37:20090902-213958.log'

Last edited by cycad on Thu Sep 03, 2009 20:47, edited 1 time in total.
cycad
Baby Hen
 
Posts: 8
Joined: Mon Aug 31, 2009 18:53

Re: Himerge install failed

Postby albfneto » Thu Sep 03, 2009 15:34

Hi.
using entropy is more easy to install himerge!

Code: Select all
# equo install himerge


himerge is not compiled by gcc, it uses only haskell compiler..., and is written in Haskell and have many dependencies...
himerge not installs in a "common" manner.
It can be compiled with Haskell compiler and their installation is not trivial...

For install himerge see:

http://www.vivaolinux.com.br/artigo/Gen ... /?pagina=2

The text is in portuguese but the commands that you need are:

1) Copy the following lines to /etc/package.keywords, and save (unmasking certain packages)

Code: Select all
# Dependências GHC
dev-lang/ghc
dev-haskell/cabal
# Dependências Haskell
dev-haskell/mtl
dev-haskell/filepath
dev-haskell/regex-base
dev-haskell/regex-posix
dev-haskell/regex-compat
# Dependências Himerge
app-portage/himerge
dev-haskell/parallel
dev-haskell/gtk2hs


2) Install Haskell compiler with their dependencies ans adequate flags:

Code: Select all
 #  USE="binary" emerge -av ghc ghc-bin
# ghc-updater


3) Install updated gtk, gtk2 and perl:

Code: Select all
# emerge -av  gtk+ gtk2 perl


4) Himerge also depends of firefox, mozembed and xulrunner. Install these, with adequate flags.

Code: Select all
# emerge mozilla-firefox
# USE="xulrunner -firefox" emerge -av dev-perl/Gtk2-MozEmbed
# USE="xulrunner -firefox" emerge -av gtk2hs


5) install more himerge dependencies:

Code: Select all
#  emerge -av gentoolkit portage-utils eix findutils darcs cabal update-eix


Finally, install Himerge...

Code: Select all
# emerge -av himerge


After installed Himerge can runs....

after their installation,if you had problems with conflicts in gcc compiler. problems to compile other packages, oi "mixture" between gcc and haskell compilers, you also need to remove the GHC Haskell compiler e re-emerge gcc:

# emerge -C ghc ghc-bin
# emerge -av gcc gcc-config

I advise you that because of their difficulties to install and by the possible interaction between haskell compiler and the default gcc, Himerge is considered by some Sabayonusers and Gentooists as dangerous to system!
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1304
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Himerge install failed

Postby cycad » Thu Sep 03, 2009 20:46

albfneto

Thank you for all that very valuable information,decided to take your advice and install himerge with entropy.Apart from having to update a few libraries the install went well.I may try the emerge method when I get a bit more expierence with Linux.So all that info wont go to waste.thank you once again.
cycad
Baby Hen
 
Posts: 8
Joined: Mon Aug 31, 2009 18:53

Re: Himerge install failed [Solved]

Postby albfneto » Wed Sep 09, 2009 8:30

More details about Himerge and their installation, you may see:

http://forum.sabayonlinux.org/viewtopic.php?f=54&t=8731&p=85153&hilit=himerge#p85153

Also, you may try other Portage GUIs, as Portato and Portohole, they are much more easy to install than Himerge.

if you want to use both installers, entropy and portage, you should first edit the /etc/client.conf, and in the pseudo-downgrades, set enable in place of disable.., but mix the intallers cannot be totally esay, and the, ij you not have experience with portage, prefer entropy to install sabayon packages..
Image
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mandriva and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1304
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: dunsurfin, vladder and 1 guest