OpenSUSE 13: patterns-openSUSE-devel_basis

When you build packages, you need to install dependencies and patterns-openSUSE-devel_basis.

1 Running zypper source-install does not install basic devel packages

Running zypper source-install does not install basic devel packages like gcc and make. This will cause build error.

> zypper source-inistall -d [Package]

2 patterns-openSUSE-devel_basis

patterns-openSUSE-devel_basis is an empty package which requires basic devel packages like automake package and gcc package. Installing patterns-openSUSE-devel_basis will install basic devel packages.

> sudo zypper install patterns-openSUSE-devel_basis

This is same with installing devel_basis with –type pattern option.

> sudo zypper install --type pattern devel_basis

3 Example for building package (emacs)

No patterns-openSUSE-devel_basis causes a failure of configure.

> sudo zypper -n install patterns-openSUSE-devel_basis
> sudo zypper -n source-install -d emacs
> wget http://ftp.gnu.org/gnu/emacs/emacs-24.3.tar.gz
> tar zxf emacs-24.3.tar.gz
> cd emacs-24.3
> ./configure --without-x && make && sudo make install