Arch linux compilation errors.
|
|
---|---|
Hi Im new to Tango software. Im trying to compile tango on Arch linux for my project. I tried to install it from Arch aur repositories without success. I got same during manual compilation. Below you can see part of error trace.
For me it looks like sime corba version issue. Did anyone had similar issues ? Any hints on how to solve it ? Thanks Arek |
|
|
---|---|
Hi Arek, Welcome! Are you trying to compile on 32 bits? It looks like ll_tmp is defined as a long long in your use case, meaning TANGO_LONG32 is defined. TANGO_LONG32 is defined when the sizeof of a long is 8. Could you please confirm you're trying to build in 32 bits? What version of CORBA are you using? Is it a 32 bits version too? Kind regards, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Hi Im trying to compile for x86_64 This is my ./configure command
Or maybe im doing it wrong ? I also tried to build with host=i686 and some others and i got same issue. Any hints on that ? Is there anything that i could provide you which would help to analyze it ? My Tango source is from latest release from tango web for linux. Thanks Arek |
|
|
---|---|
@agibes: Can you post your configure.log file? And did you try https://aur.archlinux.org/packages/tango already? |
|
|
---|---|
Hi Yes i tried both ways doing it manualy and via arch aur repo. In both ways i got same error. Thanks Arek |
|
|
---|---|
Sorry, I made some mistakes in my previous comment. TANGO_LONG32 is defined when the sizeof(long) is different than 8! Could you please have a look at the definition of SIZEOF_LONG in omniORB4/acconfig.h in your use case? In my use case on a 64 bits system, I get:
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
This is the part of acconfig.h file:
Is it correct that LONG and LONG LONG have same sizes ? |
|
|
---|---|
Ohhh i found that i have more of those files. In /usr/include/omniORB4/acconfig.h i found tha it uses some OMNI_ prefix. I guese that's the default header file that is used during forte compilation.
|
|
|
---|---|
Indeed this could probably explain the compilation error you're seeing. Do you know what version of omniORB is installed under /usr/include/omniORB4?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Im not sure but it looks like default package from AUR is 4.3.0.1 https://aur.archlinux.org/packages/omniorb I also did quick test with adding those defines without prefixes below and it works i can compile it. But it's not a best way to edit include files :( The question is if i didn't mess up something by doing that. Thanks Arek |