[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Akka Compilation problem under RH 7.1



On Fri, Aug 10, 2001 at 11:49:59PM -0400, Haisam K. Ido wrote:
> I am attempting to compile akka under RedHat 7.1, by typing make and I 
> get the following error:
> 
> /usr/bin/orbit-idl akka.idl
> gcc -c `orbit-config --cflags server` akka-module.c
> swig -perl5 akka-module.i
> Generating wrappers for Perl 5
> gcc -c akka-module_wrap.c -I/usr/lib/perl5/5.005/i386-linux/CORE
> akka-module_wrap.c:28:20: EXTERN.h: No such file or directory
> akka-module_wrap.c:29:18: perl.h: No such file or directory
> akka-module_wrap.c:30:18: XSUB.h: No such file or directory
> make: *** [akka-module_wrap.o] Error 1
> 
> Therefore, I changed the path to perl5, which is
> 
> /usr/lib/perl5/5.6.0/i386-linux/CORE
> 
> for RH7.1.  However, I now get this error:
> 
> bash-2.04$ make
> gcc -c akka-module_wrap.c -I/usr/lib/perl5/5.6.0/i386-linux/CORE
> akka-module_wrap.c: In function `SWIG_GetPtr':
> akka-module_wrap.c:292: `sv_undef' undeclared (first use in this function)
> akka-module_wrap.c:292: (Each undeclared identifier is reported only once
> akka-module_wrap.c:292: for each function it appears in.)
> akka-module_wrap.c: In function `_wrap_load_glyph_map':
> akka-module_wrap.c:564: `na' undeclared (first use in this function)
> akka-module_wrap.c: In function `boot_akka_perl_mod':
> akka-module_wrap.c:607: `sv_yes' undeclared (first use in this function)
> make: *** [akka-module_wrap.o] Error 1
> 
> The gcc which I use is:
> 
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
> 
> What am I missing?
> 
> 

Try to 'make clean' and then 'make' again.

-- 
Mohammed Elzubeir