Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:guide-developer:toolchain:install-buildsystem [2024/03/13 15:08] – Update distro list sixxdocs:guide-developer:toolchain:install-buildsystem [2024/09/30 18:39] (current) – [Void] Remove Python 2 and add missing packages from the requirements table harpia
Line 36: Line 36:
 | python2-dev                        | python2-dev               | python-devel             | ?                        | python27               | ?                        | python2                  | dev-lang/python:               | | python2-dev                        | python2-dev               | python-devel             | ?                        | python27               | ?                        | python2                  | dev-lang/python:               |
 | ?                                  | python3-dev               | ?                        | ?                        | python310              | ?                        | ?                        | ?                                | | ?                                  | python3-dev               | ?                        | ?                        | python310              | ?                        | ?                        | ?                                |
 +| [[wp>SWIG]]                        | swig                      | swig                     | swig                     | swig                   | swig                     | swig                     | dev-lang/swig                    |
 | unzip                              | unzip                     | unzip                    | unzip                    | unzip                  | unzip                    | unzip                    | app-arch/unzip                   | | unzip                              | unzip                     | unzip                    | unzip                    | unzip                  | unzip                    | unzip                    | app-arch/unzip                   |
 | [[wp>GNU Wget]]                    | wget                      | wget                     | wget                     | wget                   | wget                     | wget                     | net-misc/wget                    | | [[wp>GNU Wget]]                    | wget                      | wget                     | wget                     | wget                   | wget                     | wget                     | net-misc/wget                    |
Line 94: Line 95:
 bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff \ bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff \
 gzip libelf libtool libxslt m4 make ncurses openssl patch pkgconf \ gzip libelf libtool libxslt m4 make ncurses openssl patch pkgconf \
-python rsync sed texinfo time unzip util-linux wget which zlib+python python-distutils-extra rsync sed texinfo time unzip util-linux wget which zlib
  
 # Optional prerequisites, depend on the package selection # Optional prerequisites, depend on the package selection
Line 110: Line 111:
  
 ==== Debian / Ubuntu / Mint ==== ==== Debian / Ubuntu / Mint ====
-Modernized set for Ubuntu 22.04 for OpenWrt master, 22.03 and 21.02 branches that do not need python2.7 any more. Python3 is installed by default in Ubuntu 22.04.+ 
 + 
 +Modernized set for Ubuntu 24.04 that has Python 3.12 without python3-distutils: 
 +(OpenWrt main/master in Apr 2024) 
 + 
 +<code bash> 
 +sudo apt update 
 +sudo apt install build-essential clang flex bison g++ gawk \ 
 +gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev \ 
 +python3-setuptools rsync swig unzip zlib1g-dev file wget 
 +</code> 
 + 
 + 
 +set for Ubuntu 22.04 (that has older Python 3.xx):
  
 <code bash> <code bash>
Line 116: Line 130:
 sudo apt install build-essential clang flex bison g++ gawk \ sudo apt install build-essential clang flex bison g++ gawk \
 gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \ gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \
-python3-distutils rsync unzip zlib1g-dev file wget+python3-distutils python3-setuptools rsync swig unzip zlib1g-dev file wget
 </code> </code>
  
-Older advice:+Older advice (for 19.07 and earlier that need python2.7):
  
 <code bash> <code bash>
Line 159: Line 173:
 coreutils diffutils findutils flex gawk gcc gettext git grep intltool \ coreutils diffutils findutils flex gawk gcc gettext git grep intltool \
 libxslt linux-headers make ncurses-devel openssl-devel patch perl \ libxslt linux-headers make ncurses-devel openssl-devel patch perl \
-pkg-config python-devel python3-devel rsync tar unzip util-linux \ +pkg-config python3-devel rsync tar unzip util-linux wget 
-wget zlib-devel+zlib-devel time libelf perl-ExtUtils-MakeMaker-CPANfile \ 
 +help2man swig 
 + 
 +# for musl version, also install: argp-standalone musl-fts-devel musl-obstack-devel
 </code> </code>
  
  • Last modified: 2024/03/13 15:08
  • by sixx