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: Stephens, Peter A.
Subject: RE: [Ltib] ltib -m scbuild and the configure file
Date: Thu, 20 Mar 2008 13:39:58 -0400

Thanks Peter (nice to know there are more of us out there - The rest will be assimilated...),  Good suggestion.  If I do it this way, will it still cross-compile?  Probably as that is the intent behind LTIB, but I am wondering under what conditions I would need configure then?  Is this only for special processing not completed by LTIB?

Peter A. Stephens
Advanced Engineering
address@hidden
www.delphi.com
765-451-7074

 


From: Peter Barada [mailto:address@hidden
Sent: Thursday, March 20, 2008 1:05 PM
To: Stephens, Peter A.
Cc: address@hidden; address@hidden
Subject: Re: [Ltib] ltib -m scbuild and the configure file

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.

Sure.  Looking at dist/lfs-5.1/template/template.spec (which I assume
you copied into test.spec), if you replace line 23 (the ./configure ...)
with your command to build (i.e "make"), it will do that....


> 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
--
Peter Barada <address@hidden>

****************************************************************************************

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.

****************************************************************************************

reply via email to

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