On 2013-07-22 19:06, jony127 wrote:


> Code:
> --------------------
> Creando la lista de archivos...OK
> /usr/sbin/checkinstall: línea 2306: [: RPM: se esperaba una expresión entera
> /usr/sbin/checkinstall: línea 2314: [: RPM: se esperaba una expresión entera
> /usr/sbin/checkinstall: línea 2334: [: RPM: se esperaba una expresión entera
>
> Creando paquete RPM... FAILED!
>
> *** La creación del paquete falló
> --------------------


Those lines -- assuming you have the same opeSUSE version as I have,
which I do not know because you do not say -- are:

Code:

> if [ $RPM_MAJOR_VERSION -eq 4 -a $RPM_PATCH_LEVEL -lt 3 ]; then
>    RPM_TARGET_FLAG="--target="
> else
>    RPM_TARGET_FLAG="--target "
> fi

....

> if [ $RPM_MAJOR_VERSION -eq 4 ]; then
>    RPMBUILD="rpmbuild"
> else
>    RPMBUILD="rpm"
> fi

....

> if ! [ "$RPMSOURCEDIR" ]; then
>    if [ $RPM_MAJOR_VERSION -eq 3 -a $RPM_PATCH_LEVEL -ge 3 -o $RPM_MAJOR_VERSION -gt 3 ]; then
>       RPMSOURCEDIR="$(rpm --eval=%_topdir)"
>    else
>       RPMSOURCEDIR="NOT-FOUND"
>       for directory in packages OpenLinux redhat RedHat rpm RPM "" ; do
>          [ -d /usr/src/${directory}/SOURCES ] && RPMSOURCEDIR="/usr/src/${directory}"
>       done
>    fi
> fi
So you should verify what that line is really getting.

--
Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)