Hi,
As the prospect of having to go back to XP is looming if I can't get the adobe svg plugin working properly, I'm trying to build my own Wine, and then point CrossOver to it so stuff like IE will (hopefully) continue to work well. Unfortunately the compile dies when it tries to build winetest, as I think it needs the libperl development headers. Unfortunately I can't find an RPM of these headers anywhere, does anybody know where I could find them?
thanks -mike
Mike Hearn a écrit:
Hi,
As the prospect of having to go back to XP is looming if I can't get the adobe svg plugin working properly, I'm trying to build my own Wine, and then point CrossOver to it so stuff like IE will (hopefully) continue to work well. Unfortunately the compile dies when it tries to build winetest, as I think it needs the libperl development headers. Unfortunately I can't find an RPM of these headers anywhere, does anybody know where I could find them?
thanks -mike
My perl headers (XSUB.h, etc.) come from perl-5.8.0; there's no separate package for headers (at least on RH-8.0).
Vincent
OK, yeah, it turns out I do seem to have the headers, I was thrown by the odd location of them.....
The actual source of the error is this function in winetest.c (this is after preprocessing btw)
static void xs_init(void) { extern void boot_wine(CV *cv); Perl_newXS(my_perl, "wine::bootstrap",boot_wine,"winetest.c"); }
which causes this output:
gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed -e perl_inc` -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT `perl -MExtUtils::Embed -e ccflags` -D_REENTRANT -I/usr/X11R6/include -o winetest.o winetest.c
winetest.c: In function `xs_init': winetest.c:158: `my_perl' undeclared (first use in this function) winetest.c:158: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type winetest.c: In function `main': winetest.c:178: warning: passing arg 2 of `perl_parse' from incompatible pointer type make: *** [winetest.o] Error 1
From what I've heard/seen XS seems to be a total nightmare, and I have
no idea what could be causing this particular problem. Is there any way of turning off compilation of winetest?
thanks -mike
On November 21, 2002 11:37 am, Mike Hearn wrote:
static void xs_init(void) { extern void boot_wine(CV *cv); Perl_newXS(my_perl, "wine::bootstrap",boot_wine,"winetest.c"); }
which causes this output:
gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed -e perl_inc` -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT `perl -MExtUtils::Embed -e ccflags` -D_REENTRANT -I/usr/X11R6/include -o winetest.o winetest.c
Mike,
programs/winetest/* has been removed some time ago, have you updated to the latest CVS?