in reply to Re^5: Inline::C produces compilation errors
in thread Inline::C produces compilation errors

At the moment I don't think I can build anything with XS. The output of execution says it cannt find the Inline.pm module, and that is true since the deinstallation of perl 5.8.6 previous to installing 5.8.8 removed the packages. I had to reinstall all of them.
 
output of perl -V is :
 
[root@FC4-Casinfo perltestP]# perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.11-1.1369_fc4, archname=i686-linux uname='linux fc4-casinfo 2.6.11-1.1369_fc4 #1 thu jun 2 22:55:56 e +dt 2005 i686 i686 i386 gnulinux ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after- +statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT +S=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement + -I/usr/local/include' ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccos +andvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl. +a gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Nov 22 2007 07:57:47 @INC: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl . [root@FC4-Casinfo perltestP]#

Replies are listed 'Best First'.
Re^7: Inline::C produces compilation errors
by syphilis (Archbishop) on Nov 24, 2007 at 13:59 UTC
    At the moment I don't think I can build anything with XS

    What error messages do you get when you try to build a module (other than Inline) that includes XS code. (It's generally easier to diagnose error messages in relation to XS modules - rather than trying to diagnose the errors that Inline spits out.)

    Mind you, I'm pretty much at a loss to see why you should be having such difficulty. The output of your 'perl -V' is very similar to mine for linux. My configure args were '-des' and the '-Wdeclaration-after-statement' is missing on my build. Apart from that I can't spot a significant difference. I don't think the '-des' vs '-de' difference could amount to much ... I have no idea what the '-Wdeclaration-after-statement' stuff is about (and whether it could be relevant).

    Anyway, if you like to post the results of trying to build an XS module (such as Math::FFT), then I'll certainly take a look. (Whether I'll be able to provide some useful assistance is another question .... looking more'n'more unlikely :-)

    Cheers,
    Rob