StuartN wrote:
LordoftheMonkeys wrote:
When I do this, gcc invariably issues compiler errors after attempting to build the software from source.
Sometimes there is also a configure script, so you need ./configure before make.
This is very true. You may find a README file along with the code, which should help.
StuartN wrote:
Sometimes the configure and make need to be run as root / superuser because they write outside the home directory.
The sequence is often:
As a normal user:
Code:
./configure
make
Then, and
only then, as superuser:
Code:
make install
StuartN wrote:
Sometimes (most likely one) there is an unfulfilled dependency, i.e. another package containing the header and functions that aren't declared.
Dependency problems don't give compiler errors.
StuartN wrote:
Mostly I put it down to sloppy file management and undefined standards. Downloading through the package manager is preferable whenever possible. The relevant forums for the operating system are very good. I find that Googling for either Linux or the OS name and the exact error string often gives a solution.
Much of the Linux source code tries to be compilable and runnable on a wide range of hardware and OSes. Sometimes it doesn't quite get it right.
_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports."
Kamran Nazeer