Problems with compilation failures in version 3.7.9 #1500
Replies: 10 comments
-
Hi @YamatoMendana, a few questions
|
Beta Was this translation helpful? Give feedback.
-
I have set the basic third-party software in /usr/local/... , My mcpp version is as follows Of course, I also tried to install mcpp according to the official apt and compile the ice source code, but I still couldn't. |
Beta Was this translation helpful? Give feedback.
-
Hi, To build Ice you need the mcp patched version, Ubuntu package includes the required patches specially 01-zeroc-fixes.patch. What errors do you get when building with MCPP from the Ubuntu repository, I assume it will be a different issue because the error you posted is related to an issue fixed in the linked patch. |
Beta Was this translation helpful? Give feedback.
-
emmmm..... Your patch I used, but there is no effect (even did not generate the corresponding library), I think it is still the source code itself. Can not identify 'Identity', even said 'IceStorm' the same name. Although I do not know how to modify, but intuition tells me: this is a source code problem....... |
Beta Was this translation helpful? Give feedback.
-
Hi, We build Ice regularly in Ubuntu and Debian using the mcpp packages provided by the distribution, and it should work out of the box. It is simpler to use the package provided by ZeroC see https://zeroc.com/downloads/ice/3.7/cpp#ubuntu The same sources are also used to build the official Ubuntu packages from https://packages.ubuntu.com/source/jammy/zeroc-ice. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The library and header files are included in the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help, I found the location of the corresponding library and started to get familiar with the api usage smoothly. However, I am still very tangled, why I can not compile the source code in ubuntu22, is there really not acclimation? Hopefully there will be a patch that will save me |
Beta Was this translation helpful? Give feedback.
-
You certainly can, but need to use the correct 3rd party packages, regarding MCPP there are several possibilities:
|
Beta Was this translation helpful? Give feedback.
-
The current environment is ubuntu22.04 (i386) It's finally done. Among them, it is not feasible to download the relevant third-party library compression package (maybe I am not correct about "make" and related configuration), but download the relevant third-party compression package (such as mcpp? bzip2?) Unzip, configure 'confiure' and 'make', and then make the cpp part of ice3.7.9. Finally, the correct installation method: Step 1: Install ice third-party library dependencies apt-get install libmcpp-dev apt-get install libssl-dev apt-get install liblmdb-dev apt-get install libexpat1-dev apt-get install libbz2-dev apt-get install dpkg-dev apt-get install libedit-dev Part Two: Configuration cd ice-3.7.9/config vim make.rules Find prefix=?? (Set where you need to install it) Part 3: Compiling ice cd ice-3.7.9/cpp make make install Step 4: Set the environment variables Step 5: Verify the installation is successful slice2pp -v |
Beta Was this translation helpful? Give feedback.
-
Version
Ice version:3.7.9
OS:linux(ubuntu 22.04)
Describe the bug
When I compile the source code for the cpp section, I get the error shown in the figure. I think I have installed the relevant third-party library and declared the path in the environment variable. However, when I do "make", there are some errors, I guess should be source code problems? Can someone help me with this?
Expected behavior
Hope the compilation can be completed smoothly
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions