ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] ltib -m scbuild and the configure file


From: Stuart Hughes
Subject: Re: [Ltib] ltib -m scbuild and the configure file
Date: Thu, 20 Mar 2008 17:51:48 +0000

Hi Peter,

PeterB is correct, just delete the configure line if your application
doesn't need one.  The template is there to show how common open-source
packages generally get built, but for simple apps you don't need this.
Take a look at dist/lfs-5.1/helloworld/helloworld.spec

Also don't initially worry about the vagaries of rpm, just either run
the steps as given in the faq: (e.g. ./ltib -p xxx -m scbuild ; ./ltib
-p xxx -m scdeploy).

Regards, Stuart


On Thu, 2008-03-20 at 12:49 -0400, Stephens, Peter A. wrote:
> Guys, I am to the step in the LtibFaq ("I have a directory with some
> sources unpacked") where I want to test the build of the new package.
> It seems to want a configure script at this point.  I don't really
> have one so is there a template for configure that I should use or a
> way to tell it to just do "make"?  Will I run into the same issue for
> the install step?  I notice that this runs "rpmbuild -bc
> --short-circuit", but I will have to look that up as I am new to
> rpmbuild.
>  
> address@hidden ltib-mpc5121ads-20071210]$ ./ltib -m scbuild -p
> test.spec
>  
> Processing: test
> ==================
> rpmbuild --dbpath /home/hzqmrk/proj/ltib-mpc5121ads-20071210/rpmdb
> --define '_unpacka
> ged_files_terminate_build 0' --define '_target_cpu ppc' --define
> '__strip strip' --de
> fine '_topdir /home/hzqmrk/proj/ltib-mpc5121ads-20071210/rpm' --define
> '_prefix /usr'
>  --define '_tmppath /home/hzqmrk/proj/ltib-mpc5121ads-20071210/tmp'
> --define '_mandir
>  /usr/share/man' --define '_sysconfdir /etc' --define
> '_localstatedir /var' -bc --sho
> rt-circuit  
> /home/hzqmrk/proj/ltib-mpc5121ads-20071210/dist/lfs-5.1/test/test.spec
> Executing(%build): /bin/sh
> -e /home/hzqmrk/proj/ltib-mpc5121ads-20071210/tmp/rpm-tmp.
> 33025
> + umask 022
> + cd /home/hzqmrk/proj/ltib-mpc5121ads-20071210/rpm/BUILD
> + cd test-0.2
> + ./configure --prefix=/usr --host=powerpc-linux
> --build=x86_64-unknown-linux-gnu
> /home/hzqmrk/proj/ltib-mpc5121ads-20071210/tmp/rpm-tmp.33025: line
> 22: ./configure: No such file or directory
> error: Bad exit status
> from /home/hzqmrk/proj/ltib-mpc5121ads-20071210/tmp/rpm-tmp.33025 (%
> build)
> 
> RPM build errors:
>     Bad exit status
> from /home/hzqmrk/proj/ltib-mpc5121ads-20071210/tmp/rpm-tmp.33025
>  (%build)
> Build time for test: 0 seconds
>  
> Failed building test
> 
> f_scbuild() returned an error, exiting
> Exiting on error or interrupt
>  
> Peter A. Stephens 
> address@hidden 
> 765-451-7074   
> 
> 
> 
> 
> 
> Dream as if you'll live forever; 
> 
> Live as if you'll die today.
>           - James Dean
> 
> 
>     Electronics & Safety, Advanced
> Engineering
> 
> 
> 
>  
> 
> 
>  
> ****************************************************************************************
> 
> Note: If the reader of this message is not the intended recipient, or
> an employee or agent responsible for delivering this message to the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.
> If you have received this communication in error, please notify us
> immediately by replying to the message and deleting it from your
> computer. Thank you. 
> 
> ****************************************************************************************
> 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]