Mail Archives: geda-user/2022/06/20/10:43:28
This is a multi-part message in MIME format.
--------------X0T68W0RrdPK0IEi2nJBOkwF
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi Roland,
Thank you for your quick reply!
Op 20-06-2022 om 15:27 schreef Roland Lutz:
> Hi Richard,
>
> On Mon, 20 Jun 2022, Richard Rasker (rasker AT linetec DOT nl) [via
> geda-user AT delorie DOT com] wrote:
>> As a result of a long-overdue Linux upgrade (to Kubuntu 20.04), I'm
>> trying
>> to install pcb and geda (most notably gschem) from scratch, but I'm
>> running
>> into some problems.
>>
>> As there are no packages for this distribution, I need to build
>> everything
>> from source. Some time ago, I already got a development version from
>> a git
>> repo, but unfortunately, trying to update it results in an error
>> message:
>>
>> Â Â Â Â Â ~/electron/pcb-development/pcb$ git pull
>> Â Â Â Â Â fatal: unable to connect to git.geda-project.org:
>> Â Â Â Â Â git.geda-project.org[0: 159.250.13.27]: errno=Connection Refused
>>
>> What am I doing wrong? Or if the repo is indeed inaccessible, then
>> where can
>> I find the sources for the latest stable versions?
>
> the recommended way to install gEDA/gaf is from the source tarball:
>
> http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.2/geda-gaf-1.10.2.tar.gz
OK, I downloaded and extracted this one. However, ./configure fails on
python:
checking for a Python interpreter with version >= 2.7... python2
checking for python2... /usr/bin/python2
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory...
${prefix}/lib/python2.7/dist-packages
checking for python2 extension module directory...
${exec_prefix}/lib/python2.7/dist-packages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYTHON... no
checking for PYTHON... no
configure: error: Package requirements (python2 >= 2.7) were not met:
No package 'python2' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PYTHON_CFLAGS
and PYTHON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
configure: error: ./configure failed for xorn
This is weird. First it finds python 2.7 just fine, but then it says it
isn't there?
I checked, and python2 is present where I would expect it, in /usr/bin:
$ which python2
/usr/bin/python2
What am I doing wrong? I also tried running ./autogen.sh before
./configure, but that didn't change anything. Unfortunately, I am not at
home in software development at all (the last time I fired up gcc was
several years ago, for a test version of pcb), so I really need to have
these things spelled out in detail.
This is also why I hesitated upgrading my machine for well over two
years, because in my experience, it can take quite a few hours and a lot
of stress to get these things properly running when building them from
source.
And oh, could you provide a link to the sources of a stable version of
PCB as well?
Anyway, your help is much appreciated!
> Git access to the repository at
>
> Â Â Â git://git.geda-project.org/geda-gaf.git
>
> seems to be currently broken; you can use my GitHub repository instead:
>
> https://github.com/rlutz/geda-gaf
>
> It may be preferable to switch to the "stable-1.10" branch before
> building from the repository unless you want the latest development
> version. Make sure to install the additional dependencies (it may be
> necessary to clean the repository if you tried to build before
> installing them) and run ./autogen.sh before running ./configure.
>
>> Also, when installing the dependencies listed here:
>> http://wiki.geda-project.org/geda:gaf_building_git_version , I could not
>> locate a suitable gtk+ candidate in Kubuntu's package management, but
>> maybe
>> I overlooked it.
>
> This would be "libgtk2.0-dev".
>
>> The easiest would of course be pcb / geda package versions for
>> Kubuntu 20.04 "Focal Fossa".
>
> Kai-Martin built a Debian package some while ago:
>
> https://salsa.debian.org/kmk/geda-gaf
>
> If you are comfortable with building Debian/Ubuntu packages from
> source, you may want to give this a try.
>
> Be warned that GTK looks somewhat broken by default on Ubuntu 20.04.
> This can probably be fixed by installing the proper theme, but I
> haven't looked into the details yet.
>
> Roland
>
--------------X0T68W0RrdPK0IEi2nJBOkwF
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Roland,</p>
<p>Thank you for your quick reply!<br>
</p>
<div class="moz-cite-prefix">Op 20-06-2022 om 15:27 schreef Roland
Lutz:<br>
</div>
<blockquote type="cite"
cite="mid:f9e44e10-34cf-657e-76b0-8314aab26441 AT grinsen-ohne-katze DOT de">Hi
Richard,
<br>
<br>
On Mon, 20 Jun 2022, Richard Rasker (<a class="moz-txt-link-abbreviated" href="mailto:rasker AT linetec DOT nl">rasker AT linetec DOT nl</a>) [via
<a class="moz-txt-link-abbreviated" href="mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] wrote:
<br>
<blockquote type="cite">As a result of a long-overdue Linux
upgrade (to Kubuntu 20.04), I'm trying
<br>
to install pcb and geda (most notably gschem) from scratch, but
I'm running
<br>
into some problems.
<br>
<br>
As there are no packages for this distribution, I need to build
everything
<br>
from source. Some time ago, I already got a development version
from a git
<br>
repo, but unfortunately, trying to update it results in an error
message:
<br>
<br>
     ~/electron/pcb-development/pcb$ git pull
<br>
     fatal: unable to connect to git.geda-project.org:
<br>
     git.geda-project.org[0: 159.250.13.27]: errno=Connection
Refused
<br>
<br>
What am I doing wrong? Or if the repo is indeed inaccessible,
then where can
<br>
I find the sources for the latest stable versions?
<br>
</blockquote>
<br>
the recommended way to install gEDA/gaf is from the source
tarball:
<br>
<br>
  Â
<a class="moz-txt-link-freetext" href="http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.2/geda-gaf-1.10.2.tar.gz">http://ftp.geda-project.org/geda-gaf/stable/v1.10/1.10.2/geda-gaf-1.10.2.tar.gz</a><br>
</blockquote>
<p>OK, I downloaded and extracted this one. However, ./configure
fails on python:</p>
<blockquote>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">checking
for a Python interpreter with version >= 2.7...
python2
</span><br>
checking for python2... /usr/bin/python2
<br>
checking for python2 version... 2.7
<br>
checking for python2 platform... linux2
<br>
checking for python2 script directory...
${prefix}/lib/python2.7/dist-packages
<br>
checking for python2 extension module directory...
${exec_prefix}/lib/python2.7/dist-packages
<br>
checking for pkg-config... /usr/bin/pkg-config
<br>
checking pkg-config is at least version 0.9.0... yes
<br>
checking for PYTHON... no
<br>
checking for PYTHON... no
<br>
configure: error: Package requirements (python2 >= 2.7)
were not met:
<br>
<br>
No package 'python2' found
<br>
<br>
Consider adjusting the PKG_CONFIG_PATH environment
variable if you
<br>
installed software in a non-standard prefix.
<br>
<br>
Alternatively, you may set the environment variables
PYTHON_CFLAGS
<br>
and PYTHON_LIBS to avoid the need to call pkg-config.
<br>
See the pkg-config man page for more details.
<br>
configure: error: ./configure failed for xorn<br>
</span></span>
</span></p>
</blockquote>
<p>This is weird. First it finds python 2.7 just fine, but then it
says it isn't there?<br>
</p>
<p>I checked, and python2 is present where I would expect it, in
/usr/bin:</p>
<blockquote>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">$ which
python2
</span><br>
/usr/bin/python2<br>
</span></p>
</blockquote>
<p>What am I doing wrong? I also tried running ./autogen.sh before
./configure, but that didn't change anything. Unfortunately, I am
not at home in software development at all (the last time I fired
up gcc was several years ago, for a test version of pcb), so I
really need to have these things spelled out in detail.<br>
</p>
<p>This is also why I hesitated upgrading my machine for well over
two years, because in my experience, it can take quite a few hours
and a lot of stress to get these things properly running when
building them from source.</p>
<p>And oh, could you provide a link to the sources of a stable
version of PCB as well?<br>
</p>
<p>Anyway, your help is much appreciated!<br>
</p>
<br>
<blockquote type="cite"
cite="mid:f9e44e10-34cf-657e-76b0-8314aab26441 AT grinsen-ohne-katze DOT de">Git
access to the repository at
<br>
<br>
   git://git.geda-project.org/geda-gaf.git
<br>
<br>
seems to be currently broken; you can use my GitHub repository
instead:
<br>
<br>
   <a class="moz-txt-link-freetext" href="https://github.com/rlutz/geda-gaf">https://github.com/rlutz/geda-gaf</a>
<br>
<br>
It may be preferable to switch to the "stable-1.10" branch before
building from the repository unless you want the latest
development version. Make sure to install the additional
dependencies (it may be necessary to clean the repository if you
tried to build before installing them) and run ./autogen.sh before
running ./configure.
<br>
<br>
<blockquote type="cite">Also, when installing the dependencies
listed here:
<br>
<a class="moz-txt-link-freetext" href="http://wiki.geda-project.org/geda:gaf_building_git_version">http://wiki.geda-project.org/geda:gaf_building_git_version</a> , I
could not
<br>
locate a suitable gtk+ candidate in Kubuntu's package
management, but maybe
<br>
I overlooked it.
<br>
</blockquote>
<br>
This would be "libgtk2.0-dev".
<br>
<br>
<blockquote type="cite">The easiest would of course be pcb / geda
package versions for Kubuntu 20.04 "Focal Fossa".
<br>
</blockquote>
<br>
Kai-Martin built a Debian package some while ago:
<br>
<br>
   <a class="moz-txt-link-freetext" href="https://salsa.debian.org/kmk/geda-gaf">https://salsa.debian.org/kmk/geda-gaf</a>
<br>
<br>
If you are comfortable with building Debian/Ubuntu packages from
source, you may want to give this a try.
<br>
<br>
Be warned that GTK looks somewhat broken by default on Ubuntu
20.04. This can probably be fixed by installing the proper theme,
but I haven't looked into the details yet.
<br>
<br>
Roland
<br>
<br>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>
--------------X0T68W0RrdPK0IEi2nJBOkwF--
- Raw text -