Skip to content

Instantly share code, notes, and snippets.

@lorn
Created June 30, 2009 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorn/137922 to your computer and use it in GitHub Desktop.
Save lorn/137922 to your computer and use it in GitHub Desktop.
Installing re-smop
utf8-string ( haskell package )
$ cd pugs/third-party/packages/hackage.haskell.org/utf8-string/
tar -vxzf utf8-string-0.3.1.1 ...
cd utf8 ...
chmod +x Setup.lhs
./Setup.lhs configure
./Setup.lhs build
sudo ./Setup.lhs install
install scons: http://www.scons.org/download.php
running make on re-smop paste i get:
gcc -o build/lib/libmildew.so -shared -L/usr/local/lib -L/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -Lbuild/lib -linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lpthread -lm -ldl -lsmop-s0native -lsmop-nagc -lsmop-util -lsmop-capture -lsmop-interpreter -lsmop-mold -lsmop-native -lsmop-s1p -lsmop-lost -lsmop-p6opaque -lsmop-s1p-oo -lsmop-p5
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../i486-slackware-linux/bin/ld: cannot find -linux-thread-multi/CORE
collect2: ld returned 1 exit status
scons: *** [build/lib/libmildew.so] Error 1
make: *** [all] Error 2
running make on smop paste i get:
gcc -o build/p6opaque.os -c -O0 -g3 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -fPIC -Isrc -Iinclude -Ismop-base/include build/p6opaque.c
perl -I../../src/perl6 tools/ri . ./m0ld_exe < build/pcl_coro.ri > build/pcl_coro.c
gcc -o build/pcl_coro.os -c -O0 -g3 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -fPIC -Isrc -Iinclude -Ismop-base/include build/pcl_coro.c
build/pcl_coro.c:8:17: error: pcl.h: No such file or directory
build/pcl_coro.c:16: error: expected specifier-qualifier-list before 'coroutine_t'
build/pcl_coro.c: In function 'SMOP__S1P__PCLCoro_create':
build/pcl_coro.c:21: error: 'smop_pcl_coro_struct' has no member named 'coro'
build/pcl_coro.c:22: error: 'smop_pcl_coro_struct' has no member named 'has_next'
build/pcl_coro.c: In function 'message':
build/pcl_coro.c:41: error: 'smop_pcl_coro_struct' has no member named 'has_next'
build/pcl_coro.c:44: error: 'coroutine_t' undeclared (first use in this function)
build/pcl_coro.c:44: error: (Each undeclared identifier is reported only once
build/pcl_coro.c:44: error: for each function it appears in.)
build/pcl_coro.c:44: error: expected ';' before 'c'
build/pcl_coro.c:45: error: 'c' undeclared (first use in this function)
build/pcl_coro.c:47: error: 'smop_pcl_coro_struct' has no member named 'has_next'
scons: *** [build/pcl_coro.os] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment