Hi,

I use Embperl in offline mode to publish HTML pages to a website. I've got
the whole process working perfectly on my test site. Now I'm trying to move
the software to the production site (another hosting company, alas) and
cannot get embpexec.pl to work at all.

This is a shared host so I don't have root privilages. Thus I'm trying to
install Embperl in a private directory.

I have followed the installation procedures to the best of my understanding.
However, I do get some warnings and errors:

When I run:
        perl Makefile.PL LIB=~/lib

I get: "Warning: prerequisite File::Spec 0.8 not found at (eval 4) line
221." Though File::Spec is available on the server.

And when I run make I get these errors:

cc -c -I/home/kemptech/src/Embperl-2.0b6  -I/home/kemptech/src/Embperl-2.0b6
/xs -Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSION=\"2.0b6\" -
DXS_VERSION=\"2.0b6\" -fpic -I/usr/lib/perl5/i686-linux/5.00401/CORE -DEP2
App.c
App.xs: In function `Embperl__App_new_init':
App.xs:62: `PL_sv_undef' undeclared (first use this function)
App.xs:62: (Each undeclared identifier is reported only once
App.xs:62: for each function it appears in.)
App.xs: In function `XS_Embperl__App_udat':
App.xs:160: `PL_sv_undef' undeclared (first use this function)
App.xs: In function `XS_Embperl__App_sdat':
App.xs:196: `PL_sv_undef' undeclared (first use this function)
App.xs: In function `XS_Embperl__App_mdat':
App.xs:232: `PL_sv_undef' undeclared (first use this function)
make[3]: *** [App.o] Error 1
make[3]: Leaving directory `/home/kemptech/src/Embperl-2.0b6/xs/Embperl/App'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/home/kemptech/src/Embperl-2.0b6/xs/Embperl'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/kemptech/src/Embperl-2.0b6/xs'
make: *** [subdirs] Error 2

I get pretty much the same errors when I run make install.

And when I try to run embpexec.pl, I get the following:

orange:~/src/Embperl-2.0b6/blib/lib$ embpexec.pl test.epl
Can't find loadable object for module Embperl in @INC
(/usr/lib/perl5/i686-linux/5.00401 /usr/lib/perl5
/usr/lib/perl5/site_perl/i686-linux /usr/lib/perl5/site_perl .) at
././embpexec.pl line 23
BEGIN failed--compilation aborted at ././embpexec.pl line 23.

So . . . my questions:

1. do the errors mean anything if I just want to run embpexec.pl offline?
2. how can I install the software in a sensible place, like
/home/myname/lib?
3. if I understand the runtime error message, embpexec.pl can't find
Embperl.pm because the path to the module isn't in @INC. I know how to do
this by using use lib, but how do I do it when I run embpexec.pl from the
command line or from a shell script? I didn't have this problem on my test
machine because Embperl was installed properly by the administrator.

I hope these are silly questions and you all can set me straight. I'm
getting pretty desperate! Thanks.

-- John


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to