[Gambas-user] Error in creating installation package for CENTOS

Dheeraj B dheerajb.2020 at ...3358...
Mon Jul 14 09:24:07 CEST 2014


Hi,
I am Dheeraj, I am new to gambas, i am a student doing my internship, i have only basic programming knowledge and i want to become a professional in programming.
 I am trying to develop a small app for centos and its actually a basic app with only buttons leading to open new form to display date and time, when i am creating a installation package for CENTOS i am getting an error saying creating installation package failed and the error as follows..

Creating package for Fedora / RedHat / CentOS.

 

========================================

 

Initializing ~/RPM directory.

Creating source package.

Creating .spec file.

Creating package...

 

rpmbuild -ba /root/RPM/SPECS/gambas3-mediaplayer.spec

Executing(%prep): /bin/sh -e /root/RPM/tmp/rpm-tmp.wATFvq

+ umask 022

+ cd /root/RPM/BUILD

+ rm -rf
/root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386

+ cd /root/RPM/BUILD

+ rm -rf mediaplayer

/bin/bzip2 -dc
/root/RPM/SOURCES/gambas3-mediaplayer-0.0.1.tar.bz2

/bin/tar -xf -

+ STATUS=0

+ [ 0 -ne 0 ]

+ cd mediaplayer

+ exit 0

Executing(%build): /bin/sh -e /root/RPM/tmp/rpm-tmp.q3TqsJ

 022

+ cd /root/RPM/BUILD

+ cd mediaplayer

+ /usr/bin/gbc3 -e -a -g -t -p -m -x

OK

+ gba3

+ exit 0

Executing(%install): /bin/sh -e /root/RPM/tmp/rpm-tmp.vzpEd3

 022

+ cd /root/RPM/BUILD

+ cd mediaplayer

+ install -d
/root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3

+ install -p mediaplayer.gambas
/root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3/mediaplayer.gambas

+ install -p .component
/root/RPM/BUILDROOT/gambas3-mediaplayer-0.0.1-1.i386//usr/lib/gambas3/mediaplayer.component

cannot stat `.component': No such file or directory

Bad exit status from /root/RPM/tmp/rpm-tmp.vzpEd3 (%install)

 

 

RPM build errors:

    Bad exit status
from /root/RPM/tmp/rpm-tmp.vzpEd3 (%install)

 

The package build has failed.

Package.MakeRpmPackage.1369: 'rpmbuild' has returned the
following error code: 1


My system information as follows...
[System]Gambas=3.5.3OperatingSystem=LinuxKernel=3.2.0-65-generic-paeArchitecture=x86Distribution=Ubuntu 12.04.4 LTSDesktop=?Theme=QWindowsLanguage=en_US.UTF-8Memory=1001M[Libraries]Cairo=libcairo.so.2.11000.2Curl=libcurl.so.4.2.0DBus=libdbus-1.so.3.5.8GStreamer=libgstreamer-0.10.so.0.30.0GStreamer=libgstreamer-1.0.so.0.1.0GTK+=libgtk-x11-2.0.so.0.2400.10Poppler=libpoppler.so.19.0.0Qt4=libQtCore.so.4.8.1





































SDL=libSDL-1.2.so.0.11.3

Pls help me regarding this issue.
Thanks in advance.Dheeraj b+919535643305 		 	   		  


More information about the User mailing list