[Gambas-user] rpm problem

Benoit Minisini gambas at ...1...
Thu Nov 17 05:13:50 CET 2005


On Wednesday 16 November 2005 22:21, sale ranisavljevic wrote:
> Hello all Gambas users.
>
> At first, sorry about my English, it's bad :-(
> I have compiled gambas version 1.9.21, and it works OK. I create
> simple Hello World app, and now I want to build rpm for Mandriva. When
> I do this I get output:
>
> Creating package for MandrakeLinux.
> Initializing ~/RPM directory.
> Creating source package.
> Creating .spec file.
> Creating RPM packages.
>
>
> The package build has failed.
>
> There is this output in console:
>
> Executing(%prep): /bin/sh -e /home/sale/RPM/tmp/rpm-tmp.63498
> + umask 022
> + cd /home/sale/RPM/BUILD
> + '[' 1 -eq 1 ']'
> + '[' 1 -eq 1 ']'
> + '[' 1 -eq 1 ']'
> + rm -rf /home/sale/RPM/tmp/calculator-buildroot
> + cd /home/sale/RPM/BUILD
> + rm -rf Calculator
> + /usr/bin/bzip2 -dc /home/sale/RPM/SOURCES/calculator-0.0.tar.bz2
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd Calculator
> + exit 0
> Executing(%build): /bin/sh -e /home/sale/RPM/tmp/rpm-tmp.63498
> + umask 022
> + cd /home/sale/RPM/BUILD
> + cd Calculator
> + '[' 1 -eq 1 ']'
> + '[' 1 -eq 1 ']'
> + /usr/local/bin/gbc2 -a
> OK
> + gba
> /home/sale/RPM/tmp/rpm-tmp.63498: line 27: gba: command not found
> error: Bad exit status from /home/sale/RPM/tmp/rpm-tmp.63498 (%build)
>
> I have try "whereis gba" and return was:
> gba:
>
> I don't have gba installed.
>
> Can someone tell me how to fix this problem?
>

Making RPM package with the IDE is deprecated in 1.9.x version. The code needs 
a bit of rewrite... Don't use it.

Regards,

-- 
Benoit Minisini





More information about the User mailing list