Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added installation note

  • Loading branch information...
commit 7deb9415c827c1ce31784a377c1f2f870bc732e7 1 parent c0f0236
@tokuhirom authored
Showing with 12 additions and 16 deletions.
  1. +0 −9 HACKING.mkdn
  2. +12 −7 README.mkdn
View
9 HACKING.mkdn
@@ -11,12 +11,3 @@ Manuals
read perlapi, perlcall, perlembed.
-Installing
-----------
-
-You need to compile Perl5 with -fPIC option. I recommend to use following options to install.
-
- $ PERLBREW_CONFIGURE_FLAGS=-de perlbrew install perl-5.16.1 -Duseshrplib -Duseithreads -Dusethreads -Accflags='-fPIC' -nv
-
-cc -shared -o dllo.so -Wl,--whole-archive -lperl -Wl,--no-whole-archive `perl -MExtUtils::Embed -e ldopts | perl -pe 's/-lperl//'`
-
View
19 README.mkdn
@@ -1,5 +1,5 @@
-Simple but useful embed Perl for node.js
-========================================
+Synchronous but useful embed Perl for node.js
+==============================================
SYNOPSIS
--------
@@ -66,16 +66,21 @@ You get a exception when Perl5 throws exception.
Same as above, but callList calls function in list context.
+Installation
+------------
+
+node-perl requires a perl5 binary built with -fPIC and -Duseshrplib. Normally, linux distribution's system perl is usable.
+
+You can build a perl binary for node-perl with perlbrew command.
+
+ $ PERLBREW_CONFIGURE_FLAGS=-de perlbrew install perl-5.16.1 -Duseshrplib -Duseithreads -Dusethreads -Accflags='-fPIC' -nv
+ $ perlbrew use perl-5.16.1
+
Notes
-----
* perl call is a synchronous.
-Enhancements
-------------
-
-You can implement better interface by Harmony-Proxy.
-
THANKS TO
---------
Please sign in to comment.
Something went wrong with that request. Please try again.