[PolyORB-users] R: Re: R: Re: R: Re: polyorb doesn't compile

denote23 at libero.it denote23 at libero.it
Thu Feb 2 11:31:09 CET 2012


>As you were told already:
>"Make sure the 'bin' subdirectory of the directory
>where you installed GNAT is first on your path."


Now the subdirectory bin is FIRST:

echo $PATH 
/usr/gnat/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

i run ./configure

configure:3951: checking whether we are cross compiling
configure:3959: gcc -o conftest -g -O2   conftest.c  >&5
In file included from /usr/include/stdio.h:28:0,
                 from conftest.c:11:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or 
directory
compilation terminated.
configure:3963: $? = 1
configure:3970: ./conftest
./configure: line 3972: ./conftest: No such file or directory
configure:3974: $? = 127
configure:3981: error: in `/home/denote/Downloads/polyorb-gpl-2011-src':
configure:3985: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

if I run 

$ sudo ./configure

I obtain the same error

configure:4723: checking for adagcc
configure:4753: result: no
configure:4723: checking for gcc
configure:4739: found /usr/bin/gcc
configure:4750: result: gcc
configure:4768: checking for gnatls
configure:4798: result: no
configure:4806: checking if the Ada compiler works
configure:4821: cd conftest &&  -q src.ada && gcc -c check.adb > /dev/null 2>..
/conftest.out
./configure: line 4822: -q: command not found
configure:4824: $? = 127
configure:4832: result: no
configure:4834: error: Ada compiler is not working



More information about the PolyORB-users mailing list