[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] create packages
From: |
Brilliantov Kirill Vladimirovich |
Subject: |
Re: [Ltib] create packages |
Date: |
Fri, 22 Jan 2010 13:30:19 +0300 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Stuart Hughes wrote on 01/22/2010 12:08 PM:
Hi Kirill,
The quick answer to your question is if the spec file name is x264.spec
then you need to run the command:
./ltib -m prep -p x264.spec
You can only use the incantation: ./ltib -m prep -p x264
once you've added your package to config/userspace/packages.lkc and
config/userspace/pkg_map and run ./ltib -m config
Once unpacked, you can then just run: ./ltib -p x264.spec to build it
and install it into the root filesystem.
Regards, Stuart
Thank you Stuart!
You answer solve my problem, but I found new problem - script don't work
with Version contained -, e.g. 20100110-2245.
$ ./ltib -m prep -p x264
Processing: x264
==================
Build path taken because: build key set, no prebuilt rpm,
rpmbuild --dbpath /home/kirill/FreeScale/rootfs//var/lib/rpm --target
ppc --defi
ne '_unpackaged_files_terminate_build 0' --define '_target_cpu ppc'
--define '__
strip strip' --define '_topdir /home/kirill/FreeScale/rpm' --define
'_prefix /us
r' --define '_tmppath /home/kirill/FreeScale/tmp' --define '_rpmdir
/home/kirill
/FreeScale/rpm/RPMS' --define '_mandir /usr/share/man' --define
'_sysconfdir /e
tc' --define '_localstatedir /var' -bp
/home/kirill/FreeScale/dist/lfs-5.1/x264
/x264.spec
Building target platforms: ppc
Building for target ppc
error: line 5: Illegal char '-' in version: Version : 20100110-2245
Build time for x264: 0 seconds
Failed building x264
f_prep() returned an error, exiting
traceback:
main:553
Exiting on error or interrupt
Renaming source package and change spec-file solve this problem.
I work with version 8.4.1.
$ cat release_logs/RELEASE_INFO
Release date = Tue May 19 08:31:38 2009 UTC
Release user = feixp
Release host = FLtib
Release dir = /home/feixp/india_test/ltib
CVS wtag = Tbranch-mpc8377ewlan-9-1-1
CVS tag = rel-mpc8377ewlan-9-2-2-rc2
Release tag = ltib-mpc8377ewlan-20090519
App version = 8.4.1
CVS version = $Revision: 1.440 $
git version = none
I have to build ffmpeg with H264 support.
Where can I find sample for include external library in programm or what
directory I need include for build my package?
Thank you.
--
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru http://www.bestdvr.ru