|
|
Home » Community » Newbie corner » Install problem - Linux Mint (Missing file in the 16782 archive?)
|
|
Re: Install problem - Linux Mint [message #59762 is a reply to message #59761] |
Sun, 09 April 2023 13:19 |
EspressoMan
Messages: 13 Registered: April 2023 Location: New Zealand
|
Promising Member |
|
|
@Slade Thank you for your response.
I inserted the directory paths into their appropriate keys. Subsequently, "install" succeeded.
I then loaded "ide" package into theIde and attempted to do the same. I presume that you meant "Setup" -> "Build Methods" as the place to enter the search paths? If that is incorrect, I apologise. I'm totally unfamiliar with U++.
However, I noticed that under the GCC build method, the include and library paths were already setup, presumably by being copied from the recently amended environment vars.
But what struck me as odd is that while the CLANG build method has clang++ as the compiler, the GCC build method has no entry for the compiler - ummm???
Now I'm not sure if U++ under POSIX systems is using gcc, g++ or clang++. Or perhaps its using more than one, depending on what it's compiling?
The ide package is failing to build on my system as is. I attach a screenshot in the hope that some kind reader can shed some light on the problem.
[Updated on: Sun, 09 April 2023 13:21] Report message to a moderator
|
|
|
|
Re: Install problem - Linux Mint [message #59767 is a reply to message #59763] |
Mon, 10 April 2023 18:58 |
EspressoMan
Messages: 13 Registered: April 2023 Location: New Zealand
|
Promising Member |
|
|
SOLVED!
For non-root users, it turns out that the following shell commands (under Linux Mint) do not persist at all.
export CLIB_INCLUDE_PATH=/pppp/qqqq:/rrrr/ssss:/tttt/uuuu
export LIBRARY_PATH=/wwwww/xxxx:/yyyy/zzzz
Try them for yourself, followed by "printenv". They are definitely not "sticky" as advertised.
Even if logged on as root, the above commands are only of session duration. They won't be there after a restart.
The solution:
1) Logon as root and edit /etc/environment
2) Add the key-value pairs above without the export prefix and replacing the dummy paths (see below for Mint 21.1)
3) Save and restart your device
The above should be performed before running theide install.
I cannot know if the problem occurs with other Linux distros but if you have problems installing and/or running theide under your distro, it may be for the same or similar reason.
NB: There appears to be no need to copy the INCLUDE and LIBRARY paths to corresponding tabs under "Setup -> Build methods"
I put the paths as dummies above as they may not be the same under your Linux.
In Linux mint 21.1 vera, the paths are as follows:
CPLUS_INCLUDE_PATH=/usr/include/c++/11:/usr/include/x86_64-l inux-gnu/c++/11
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11
The big irony is that the reason I'm looking into cross platform GUI tools is because I believe that the majority of people who use a computer/device in their everyday business just need/want to get on with that, in the simplest way possible. They have neither the time nor patience to be diverted into learning and remembering a bewildering plethora of case sensitive shell commands, amplified by an often staggering number of switches (optional parameters). So let's give the masses nice Linux based GUI apps that provide an alternative to ...
@Slade, thank you again for your help with this.
[Updated on: Tue, 11 April 2023 09:14] Report message to a moderator
|
|
|
Re: Install problem - Linux Mint [message #60115 is a reply to message #59759] |
Wed, 06 September 2023 10:56 |
gokhan
Messages: 1 Registered: September 2023 Location: Turkey
|
Junior Member |
|
|
I installed Ubuntu 22.04 Jammy Jellyfish (x86-64) for refresh installation foru day before.
So, i had "fatal error: 'typeinfo' file not found" message when i installing U++
Than, i searched typeinfo file on system, and there wasn't typeinfo file at /usr/include/c++/12 directory
I saw Tom1's (Senior Contributor)
sudo apt-get install libstdc++-12-dev
I installed, and everythink is ok now.
|
|
|
Goto Forum:
Current Time: Sun Oct 06 21:02:23 CEST 2024
Total time taken to generate the page: 0.02110 seconds
|
|
|