List Info

Thread: Hat hasn't installed properly




Hat hasn't installed properly
user name
2006-11-03 21:05:36
On 3 Nov 2006, at 17:35, Malcolm Wallace wrote:

> Thomas Davie <tatd2kent.ac.uk> wrote:
>
>> Further update to this - the latest patch did not
succed with fixing
>> at least my complaint.  Where exactly should the
various hi files get
>> copied to?  Where in the install script is the code
that should do
>> this?
>
> script/confhat does all copying of files, and calls
ghc-pkg to  
> register
> the library package.

That file never appears to try to copy anything to
/usr/local/lib/ 
ghc-6.6/imports/Hat (which is where I would expect hi files
to end  
up) or /usr/local/lib/ghc-6.6/ (which is where I'd expect
libHShat.a  
to end up, and why ghc-pkg register fails)...

Should it do this?

Have I got an odd copy?

Bob
_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
Hat hasn't installed properly
user name
2006-11-06 11:57:22
Thomas Davie <tatd2kent.ac.uk> wrote:

> That file never appears to try to copy anything to
/usr/local/lib/ 
> ghc-6.6/imports/Hat (which is where I would expect hi
files to end  
> up) or /usr/local/lib/ghc-6.6/ (which is where I'd
expect libHShat.a  
> to end up, and why ghc-pkg register fails)...

The libHShat.a library ends up in
    $DESTDIR$PREFIX/lib/hat-$HATVERSION/$MACHINE/ghc-$GHCSYM
which should resolve in your case to
    /usr/local/lib/hat-2.05/x86-darwin/ghc-6.6/
and the interface files should go in
    $DESTDIR$PREFIX/imports/hat-$HATVERSION/ghc-$GHCSYM
which again should resolve to
    /usr/local/imports/hat-2.05/ghc-6.6

These locations are then written into the hat-package.conf
file, and
ghc-pkg register is called using that file as input.  I'm
not sure how
it can go wrong, unless for some reason your version of GHC
is being
detected wrongly as < 6.4.

Regards,
    Malcolm
_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
Hat hasn't installed properly
user name
2006-11-06 13:35:02
On 6 Nov 2006, at 11:57, Malcolm Wallace wrote:

> Thomas Davie <tatd2kent.ac.uk> wrote:
>
>> That file never appears to try to copy anything to
/usr/local/lib/
>> ghc-6.6/imports/Hat (which is where I would expect
hi files to end
>> up) or /usr/local/lib/ghc-6.6/ (which is where I'd
expect libHShat.a
>> to end up, and why ghc-pkg register fails)...
>
> The libHShat.a library ends up in
>    
$DESTDIR$PREFIX/lib/hat-$HATVERSION/$MACHINE/ghc-$GHCSYM
> which should resolve in your case to
>     /usr/local/lib/hat-2.05/x86-darwin/ghc-6.6/
> and the interface files should go in
>     $DESTDIR$PREFIX/imports/hat-$HATVERSION/ghc-$GHCSYM
> which again should resolve to
>     /usr/local/imports/hat-2.05/ghc-6.6

Malcolm - problem solved!  I'd missed one file on adding
executable  
bits after the darcs get.  Perhaps this needs a small script
to set  
the permissions correctly after a get?

Bob
_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
Hat hasn't installed properly
user name
2006-11-06 14:04:32
Thomas Davie <tom.daviegmail.com> wrote:

> Malcolm - problem solved!  I'd missed one file on
adding executable  
> bits after the darcs get.  Perhaps this needs a small
script to set  
> the permissions correctly after a get?

You mean like
    sh start


Regards,
    Malcolm
_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
Hat hasn't installed properly
user name
2006-11-06 14:34:34
Doh!

Bob

On 6 Nov 2006, at 14:04, Malcolm Wallace wrote:

> Thomas Davie <tom.daviegmail.com> wrote:
>
>> Malcolm - problem solved!  I'd missed one file on
adding executable
>> bits after the darcs get.  Perhaps this needs a
small script to set
>> the permissions correctly after a get?
>
> You mean like
>     sh start
> 
>
> Regards,
>     Malcolm
> _______________________________________________
> Hat mailing list
> Hathaskell.org
> http://ww
w.haskell.org/mailman/listinfo/hat

_______________________________________________
Hat mailing list
Hathaskell.org
http://ww
w.haskell.org/mailman/listinfo/hat
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )