Hi
>
> I am currently trying to statically link the embperl
> module into my perl executable. The platform that I'm on
> is Solaris 2.6. From reading the instructions it
> says that I sould first configure the makefiles
> with perl Makefile.PL. This goes ok. Then to statically
> link the embedperl I should do "make perl" from the
> embed perl directory. I do this but get the following
> error message.

I never tried this on my own. Have build other extentions already
successfull in this way? Have you a running mod_perl? or don't you use
mod_perl? Could you send me the generated file perlmain.c?

Maybe anybody else have successfully done this before?

Gerald


>
> ///////////////////////////////////////////////////////////////////
> Writing perlmain.c
> cd . && gcc -c  -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE
> -I/usr/local/include -O \
>    -DVERSION=\"1.2.0\" \
> -DXS_VERSION=\"1.2.0\" -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE
> perlmain.c
> perlmain.c:67: parse error before `.'
> perlmain.c: In function `xs_init':
> perlmain.c:82: request for member `a' in something not a
> structure or union
> make: *** [perlmain.o] Error 1
> *** Error code 2
> make: Fatal error: Command failed for target `perl'
> /////////////////////////////////////////////////////////////////////
>
> Am I doing this the correct way or have I missed something?
>
> The line in perl main that generates the error is:
> newXS("Embperl.a::bootstrap", boot_Embperl.a, file);
>
> Thanks
>
> Feargal
>



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

Reply via email to