[clug] Building Python3.7 RPM on CentOS 7

Hal Ashburner hal.ashburner at gmail.com
Thu May 30 10:16:06 UTC 2019


> $ ./configure --enable-optimizations --with-lto
> --prefix=/usr/local/python37/ CXX="/usr/bin/g++"
>

<Snip>

>
>
> running build_scripts
> creating build/scripts-3.7
> error: file
>
> '/usr/local/python37/lib/python3.7/config-3.7m-x86_64-linux-gnu/Tools/scripts/pydoc3'
> does not exist
> error: Bad exit status from /var/tmp/rpm-tmp.uJBjOh (%build)



>
>
> Thoughts?
>

Is --prefix doing what you want here? Do you already have python installed
at /usr/local/python37 where it's trying to find tools?

I've usually set prefix to /usr when compiling from source, but i don't
usually install and haven't ever compiled python that i can recall.








>
>
>
>
>
>
>
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>


More information about the linux mailing list