kylebutt | 1 May 17:35 2008
Picon

Linker Errors when trying to load ~/.yi/yi.hs


When I run the example yi.hs, I get the following:

Custom yi could not be launched!
Error detected while loading yi configuration file: /home/kbutt/.yi/
yi.hs
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/libHSyi-0.4.a(Emacs.o): In
function `s2Vhb_info':
(.text+0x4d55): undefined reference to
`__stginit_yizm0zi4_YiziKeymapziKeys_'
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/libHSyi-0.4.a(Buffer.o): In
function `s1dJb_info':
(.text+0xb1e3): undefined reference to
`__stginit_yizm0zi4_YiziBufferziBasic_'
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
libHSyi-0.4.a(Implementation.o): In function `s10SM_info':
(.text+0x1253): undefined reference to
`yizm0zi4_YiziBufferziBasic_zdwshowsPrec_info'
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
libHSyi-0.4.a(Implementation.o): In function `s10Tr_info':
(.text+0x1725): undefined reference to
`yizm0zi4_YiziBufferziBasic_zdwshowsPrec_info'
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
libHSyi-0.4.a(Implementation.o): In function `s10TR_info':
(.text+0x18dc): undefined reference to
`yizm0zi4_YiziBufferziBasic_zdwshowsPrec1_info'
/usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
libHSyi-0.4.a(Implementation.o): In function `s10TX_info':
(.text+0x19e5): undefined reference to
`yizm0zi4_YiziBufferziBasic_zdwshowsPrec_info'
(Continue reading)

Jean-Philippe Bernardy | 1 May 18:00 2008
Picon
Picon

Re: Linker Errors when trying to load ~/.yi/yi.hs


Gah, I forgot to update the other-modules again.

Fixing right now.

2008/5/1  <kylebutt@...>:
>
>  When I run the example yi.hs, I get the following:
>
>  Custom yi could not be launched!
>  Error detected while loading yi configuration file: /home/kbutt/.yi/
>  yi.hs
>  /usr/local/lib/yi-0.4/ghc-6.8.2.20080427/libHSyi-0.4.a(Emacs.o): In
>  function `s2Vhb_info':
>  (.text+0x4d55): undefined reference to
>  `__stginit_yizm0zi4_YiziKeymapziKeys_'
>  /usr/local/lib/yi-0.4/ghc-6.8.2.20080427/libHSyi-0.4.a(Buffer.o): In
>  function `s1dJb_info':
>  (.text+0xb1e3): undefined reference to
>  `__stginit_yizm0zi4_YiziBufferziBasic_'
>  /usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
>  libHSyi-0.4.a(Implementation.o): In function `s10SM_info':
>  (.text+0x1253): undefined reference to
>  `yizm0zi4_YiziBufferziBasic_zdwshowsPrec_info'
>  /usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
>  libHSyi-0.4.a(Implementation.o): In function `s10Tr_info':
>  (.text+0x1725): undefined reference to
>  `yizm0zi4_YiziBufferziBasic_zdwshowsPrec_info'
>  /usr/local/lib/yi-0.4/ghc-6.8.2.20080427/
>  libHSyi-0.4.a(Implementation.o): In function `s10TR_info':
(Continue reading)

Jean-Philippe Bernardy | 1 May 18:22 2008

patch applied (yi): split cabal-specific shim-code to a separate module.


Sat Apr 26 14:45:53 EDT 2008  jeanphilippe.bernardy@...
  * split cabal-specific shim-code to a separate module.
  This will allow to use that module even when we don't bind to GHC API

    A ./Shim/CabalInfo.hs
    M ./Shim/GhcCompat.hs -2 +1
    M ./Shim/Hsinfo.hs -34 +1

View patch online:

  http://code.haskell.org/yi/_darcs/patches/20080426184553-9c550-90a37cb6b0594fd45f2d772e69f15651e5c6dc35.gz

Jean-Philippe Bernardy | 1 May 18:22 2008

patch applied (yi): Various small build fixes and cleanups.


Thu May  1 12:20:59 EDT 2008  jeanphilippe.bernardy@...
  * Various small build fixes and cleanups.

    M ./Yi/Buffer/Implementation.hs -2
    M ./Yi/Eval.hs -1 +1
    M ./Yi/History.hs -1 +1
    M ./Yi/Syntax/Fractal.hs -1 +2
    M ./yi.cabal -1 +14

View patch online:

  http://code.haskell.org/yi/_darcs/patches/20080501162059-9c550-4945527f0413acaeb2a1b09bc34bf921e620b047.gz

codesite | 7 May 00:09 2008
Picon

Issue 120 in yi-editor: yi fails to install with cabal install


Issue 120: yi fails to install with cabal install
http://code.google.com/p/yi-editor/issues/detail?id=120

New issue report by aeyakovenko:
What steps will reproduce the problem?
1.  caball install yi

aeyakovenko <at> snow ~ $ cabal install yi
'yi-0.3' is cached.
[1 of 1] Compiling Main             ( Setup.hs, dist/setup/Main.o )

Setup.hs:25:35: Not in scope: `buildVerbose'

Setup.hs:30:35: Not in scope: `haddockVerbose'

Setup.hs:44:18: Not in scope: `installVerbose'

Setup.hs:79:38: Not in scope: `showPackageId'
cabal: Error: some packages failed to install:
yi-0.3 failed during the configure step. The exception was:
exit: ExitFailure 1
aeyakovenko <at> snow ~ $ cabal --version
cabal-install version 0.4.6
using version 1.5.1 of the Cabal library

Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium
(Continue reading)

codesite | 7 May 01:58 2008
Picon

Issue 120 in yi-editor: yi fails to install with cabal install


Issue 120: yi fails to install with cabal install
http://code.google.com/p/yi-editor/issues/detail?id=120

Comment #1 by gwern0:
Seems like you've got it right - the more recent cabal versions break 
the Setup.hs.

What should we do? Go back to the 0.3 tag and add in a cabal version dependency?

--

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite | 7 May 13:39 2008
Picon

Issue 120 in yi-editor: yi fails to install with cabal install


Issue 120: yi fails to install with cabal install
http://code.google.com/p/yi-editor/issues/detail?id=120

Comment #2 by JeanPhilippe.bernardy:
Please use the repository version if you want to compile with cabal 1.5.1

dargs get http://code.haskell.org/yi

Issue attribute updates:
	Status: WontFix

--

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Alexandre Russel | 7 May 20:54 2008
Picon

Where is M-x reconfigE ?


Hi,

I built yi from source, using 0.4 and try to follow:
http://www.nobugs.org/developer/yi/example-helloworld.html

I don't have a reconfigE function, was it renamed or should I look at my 
configuration ?

thanks,
alex

Jean-Philippe Bernardy | 7 May 21:55 2008
Picon
Picon

Re: Where is M-x reconfigE ?


On Wed, May 7, 2008 at 8:54 PM, Alexandre Russel <alexandre@...> wrote:
>
>  Hi,
>
>  I built yi from source, using 0.4 and try to follow:
>  http://www.nobugs.org/developer/yi/example-helloworld.html

>  I don't have a reconfigE function, was it renamed or should I look at my
>  configuration ?

That tutorial was for 0.3; we have dropped the functionality of "live"
reconfiguration because
it was based on GHC API and that led to too many problems. You should
restart yi to get
your new config.

To re-implement this we'd need a "save state to disk" and
corresponding restore function.

Hope this helps,
JP.

Alexandre Russel | 8 May 13:20 2008
Picon

using function defined in YiConfig.hs


this is my YiConfig.hs:

-- Don't run with --as=..., that will overwrite the keymap set here.

module YiConfig (yiMain, helloWorld) where

import Yi.Yi 
import Yi.Editor
import Yi.Keymap.Emacs
import Control.Monad.Trans
import Yi.Buffer

yiMain :: YiM ()
yiMain = do
  changeKeymapE myKeymap 

  msgE "User configuration successful."

-- I prefer to use Emacs keymap, with haskell hilight in every buffer.
myKeymap = do write $ setSyntaxB "haskell"
              keymap

helloWorld::YiM()
hellowWorld = do
  withBuffer $ insertN "Hello, world!"

I was expecting to be able to "M-x helloWorld" but the function is not 
defined.
(I restarted yi after changing YiConfig.hs).
(Continue reading)


Gmane