[Slackbuilds-users] Building gnumeric-1.2.49 fails to find python3.7
Erich Ritz
erich.public at protonmail.com
Fri Sep 9 20:34:50 UTC 2022
------- Original Message -------
On Friday, September 9th, 2022 at 1:04 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
>
>
> Here python3.7 is found in ~/.local/lib/site-packages/, /usr/bin/python3.7m,
> /usr/bin/python3.7m-config, usr/bin/python3.7-config, usr/bin/python3.7, and
> virtua environments in /usr/lib64/.
>
> Trying to build gnumeric (and goffice is installed) fails:
> CCLD python_loader.la
> /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpython3.7
> collect2: error: ld returned 1 exit status
> Makefile:557: recipe for target 'python_loader.la' failed
> make[3]: *** [python_loader.la] Error 1
> make[3]: Leaving directory '/tmp/SBo/gnumeric-1.12.49/plugins/python-loader'
> Makefile:504: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/SBo/gnumeric-1.12.49/plugins'
> Makefile:662: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/SBo/gnumeric-1.12.49'
> Makefile:521: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I don't find an error or log file in /tmp/SBo/gnumeric-1.12.49.
>
> Where do I look for the reason for this error?
Rich,
Slackware 15.0 ships with python 3.9, not python 3.7. Looks like your custom python 3.7 installation is interfering with the build.
# ls -l /usr/bin/python*
lrwxrwxrwx 1 root root 9 Apr 8 2021 /usr/bin/python -> python2.7*
lrwxrwxrwx 1 root root 14 Apr 8 2021 /usr/bin/python-config -> python2-config*
lrwxrwxrwx 1 root root 9 Apr 8 2021 /usr/bin/python2 -> python2.7*
lrwxrwxrwx 1 root root 16 Apr 8 2021 /usr/bin/python2-config -> python2.7-config*
-rwxr-xr-x 1 root root 14392 Feb 13 2021 /usr/bin/python2.7*
-rwxr-xr-x 1 root root 1681 Feb 13 2021 /usr/bin/python2.7-config*
lrwxrwxrwx 1 root root 9 Sep 7 16:28 /usr/bin/python3 -> python3.9*
lrwxrwxrwx 1 root root 16 Sep 7 16:28 /usr/bin/python3-config -> python3.9-config*
-rwxr-xr-x 1 root root 14392 Sep 7 13:31 /usr/bin/python3.9*
-rwxr-xr-x 1 root root 3067 Sep 7 13:31 /usr/bin/python3.9-config*
-rwxr-xr-x 1 root root 3020 Apr 18 2021 /usr/bin/pythontex*
Erich
>
> TIA,
>
> Rich
More information about the SlackBuilds-users
mailing list