happs on archlinux

0 views
Skip to first unread message

gavino

unread,
Feb 12, 2008, 3:03:10 PM2/12/08
to HAppS
Requirements: ghc 6.8.2 darcs searchpath 0.9.2
Getting Started
Its easiest to start with a working site like this one and modify it
as needed.
1. darcs get http://happs.org/repos/happs.org MyProject
2. cd MyProject
3. sp ghc -isrc src/Main.hs --make --run --http-port=5000


[73 of 84] Compiling HAppS.Data.IxSet ( /root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/
HAppS/Data/IxSet.hs, /root/.SearchPath/darcs_get_--partial_--
tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/
Data/IxSet.o )

/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:139:43:
Not in scope: type constructor or class `StartState'

/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:140:4:
`startState' is not a (visible) method of class `StartState'

gavino

unread,
Feb 12, 2008, 4:20:30 PM2/12/08
to HAppS
ghc 6.8.2-1
darcs 1.0.9-1
Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Feb 10 15:21:33 UTC 2008
i686 Intel(R) Pentium(R) 4 CPU 3.40GHz GenuineIntel GNU/Linux

I heard on irc that sp is having problems?

any comment?

gavino

unread,
Feb 12, 2008, 4:24:42 PM2/12/08
to HAppS
http://happs.org/ followed direction to the right.....ran into this
error message:

Lemmih

unread,
Feb 12, 2008, 4:28:27 PM2/12/08
to HA...@googlegroups.com
On Feb 12, 2008 10:20 PM, gavino <gavc...@gmail.com> wrote:
>
> ghc 6.8.2-1
> darcs 1.0.9-1
> Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Feb 10 15:21:33 UTC 2008
> i686 Intel(R) Pentium(R) 4 CPU 3.40GHz GenuineIntel GNU/Linux
>
> I heard on irc that sp is having problems?
>
> any comment?

It is having problems. Use Cabal instead.

--
Cheers,
Lemmih

gavino

unread,
Feb 12, 2008, 4:30:38 PM2/12/08
to HAppS
what command would replace sp ghc -isrc src/Main.hs --make --run --
http-port=5000 ??
I am new to haskell.....

full error:


MyProject]# sp ghc -isrc src/Main.hs --make --run --http-port=5000 &
[1] 6492
[root@myhost MyProject]# Conf {hsFiles = ["src/Main.hs"], modLocs =
[], mapLocs = [MapDir "src",MapFile ".searchpath.default.map",MapURI
"http://searchpath.org/default.map"], cargs = ["--make"], cacheDir = "/
root/.SearchPath", exe = "ghc", maxAge = 1209600, glasgow = True,
start = 1202851074, verbose = 0, target = "Main.exe", useDefaultMap =
True, runArgs = Just ["--http-port=5000"]}
<<<<<<<<<<<<<<<<<<<<"ghc -isrc -i/root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.2_http_happs.org-repos-HAppS-
Util_util@_echo_hello_world/util/src -i/root/.SearchPath/
http_www.haskell.org-HaXml-HaXml-1.13.3.tar.gz/HaXml-1.13.3/src -i/
root/.SearchPath/http_www.haskell.org-HaXml-HaXml-1.13.3.tar.gz/
HaXml-1.13.3/src -i/root/.SearchPath -i/root/.SearchPath/darcs_get_--
partial_http_happs.org-repos-HAppS-Server/HAppS-Server/src -i/
root/.SearchPath/darcs_get_--partial_http_happs.org-repos-HAppS-Server/
HAppS-Server/src -i/root/.SearchPath/darcs_get_--
partial_http_happs.org-repos-HAppS-Data/HAppS-Data/src -i/
root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src -i/root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.4_http_happs.org-repos-HAppS-State/HAppS-State/src
-i/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-State/HAppS-State/src -i/root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.2_http_happs.org-repos-syb-with-class/syb-with-
class -i/root/.SearchPath -i/root/.SearchPath/darcs_get_--partial_--
tag=0.9.1.2_http_happs.org-repos-HAppS-Util_util@_echo_hello_world/
util/src -i/root/.SearchPath/http_www.haskell.org-HaXml-
HaXml-1.13.3.tar.gz/HaXml-1.13.3/src -i/root/.SearchPath/
http_www.haskell.org-HaXml-HaXml-1.13.3.tar.gz/HaXml-1.13.3/src -i/
root/.SearchPath -i/root/.SearchPath/darcs_get_--
partial_http_happs.org-repos-HAppS-Server/HAppS-Server/src -i/
root/.SearchPath/darcs_get_--partial_http_happs.org-repos-HAppS-Server/
HAppS-Server/src -i/root/.SearchPath/darcs_get_--
partial_http_happs.org-repos-HAppS-Data/HAppS-Data/src -i/
root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src -i/root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.4_http_happs.org-repos-HAppS-State/HAppS-State/src
-i/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-State/HAppS-State/src -i/root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.2_http_happs.org-repos-syb-with-class/syb-with-
class -i/root/.SearchPath -o Main.exe.sp.new -cpp -fth -fglasgow-exts -
fallow-undecidable-instances -fallow-overlapping-instances src/Main.hs
--make"
[73 of 84] Compiling HAppS.Data.IxSet ( /root/.SearchPath/darcs_get_--
partial_--tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/
HAppS/Data/IxSet.hs, /root/.SearchPath/darcs_get_--partial_--
tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/
Data/IxSet.o )

/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:139:43:
Not in scope: type constructor or class `StartState'

/root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:140:4:
`startState' is not a (visible) method of class `StartState'


On Feb 12, 1:28 pm, Lemmih <lem...@gmail.com> wrote:

Alex Jacobson

unread,
Feb 12, 2008, 7:42:48 PM2/12/08
to HA...@googlegroups.com


I've been off the grid. what problems are people having with sp?

-Alex-

Lemmih

unread,
Feb 13, 2008, 5:14:31 AM2/13/08
to HA...@googlegroups.com

It doesn't use the same tag for all the repos.

--
Cheers,
Lemmih

Julia Hughes

unread,
Mar 28, 2008, 7:43:22 AM3/28/08
to HAppS
http://wikipedlla.com/happs_on_archlinux
> Requirements: ghc 6.8.2 darcs searchpath 0.9.2
> Getting Started
> Its easiest to start with a working site like this one and modify it
> as needed.
> 1. darcs get http://happs.org/repos/happs.org MyProject
> 2. cd MyProject
> 3. sp ghc -isrc src/Main.hs --make --run --http-port=5000
> [73 of 84] Compiling HAppS.Data.IxSet ( /root/.SearchPath/darcs_get_--
> partial_--tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/
> HAppS/Data/IxSet.hs, /root/.SearchPath/darcs_get_--partial_--
> tag=0.9.1.2_http_happs.org-repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/
> Data/IxSet.o )
> /root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
> repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:139:43:
> &nbsp; &nbsp; Not in scope: type constructor or class `StartState'
> /root/.SearchPath/darcs_get_--partial_--tag=0.9.1.2_http_happs.org-
> repos-HAppS-IxSet/HAppS-IxSet/src/HAppS/Data/IxSet.hs:140:4:
> &nbsp; &nbsp; `startState' is not a (visible) method of class `StartState'
>
Reply all
Reply to author
Forward
0 new messages