www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/07/05/03:56:50

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <20210705075524.27342.qmail@stuge.se>
Date: Mon, 5 Jul 2021 07:55:24 +0000
From: "Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Rendering bugs with gschem
References: <trinity-ed4ab2be-a86c-44a7-96e1-6647753d3312-1625404970847 AT 3c-app-mailcom-bs12>
MIME-Version: 1.0
In-Reply-To: <trinity-ed4ab2be-a86c-44a7-96e1-6647753d3312-1625404970847@3c-app-mailcom-bs12>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Claudio,

Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com] wrote:
> I might have to compile it manually, which I only want to do
> extremely carefully on that platform

If you decide to give manual compilation a try you can build the
package in a way that it stays separate from anything installed
by the system package manager:

As a normal user (important; do not use root for any step) create
some new directory where you'll end up installing the package:

mkdir $HOME/inst

Then, when configuring the source build, make sure to run at a minimum:

./configure --prefix=$HOME/inst

.. followed by make && make install (again, without using sudo)

This will build where the source was unpacked and then install under
$HOME/inst, where files can not interfere with system packages.

Add $HOME/inst/bin to (the beginning of) your PATH variable, then you
can start the programs without typing the full directory name.

You may also need to set LD_LIBRARY_PATH to $HOME/inst/lib and adjust
a config file or two within the package for the nonstandard directory
to be searched, but that's not too bad.

There are two side benefits with this method; 1. because you never use
root you can be confident that no system files were altered, and 2. a
simple rm -rf $HOME/inst erases the installation completely, making
it very easy to start over if neccessary.


Kind regards

//Peter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019