Re: Can't Compile Orbit 2-2.4



Hi Chris,

On Tue, 2002-07-09 at 23:17, Chris Harrington wrote:
> checking alignment of CORBA_octet... 0
> configure: error: Failed to find alignment. Check config.log for details.

	Ok - well, perhaps you should do as it says ? but let me go paste the
section from the config.log you posted:

configure:8767: checking alignment of CORBA_octet
configure:8794: gcc -o conftest -g -O2     
-I/usr/local/include/linc-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    conftest.c    
-Wl,--export-dynamic  -L/usr/local/lib -llinc -lgthread-2.0 -lpthread
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    >&5
configure:8797: $? = 0
configure:8799: ./conftest
./conftest: error while loading shared libraries: liblinc.so.1: cannot
open shared object file: No such file or directory
configure:8802: $? = 127
configure: program exited with status 127
configure: failed program was:
#line 8778 "configure"
#include "confdefs.h"
 #include <stdio.h>
                        #include "./include/orbit/util/basic_types.h"
                        typedef struct {char s1;} CORBA_struct;
                        typedef void *CORBA_pointer;
                        struct test {char s1; CORBA_octet s2;};
                        main()
                        {
                        FILE *f=fopen("conftestval", "w");
                        if (!f) exit(1);
                        fprintf(f, "%d\n", &(((struct test*)0)->s2));
                        exit(0);
                        }
configure:8815: result: 0
configure:8818: error: Failed to find alignment. Check config.log for
details.

	The solution is in there somewhere ...

	I'm guessing you don't have 'linc' in your library path;

> Any help would be greatly appreciated,

	Hope this helps others.

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




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