* [Buildroot] Running Packages
@ 2013-02-08 0:55 Aditya Rawat
2013-02-08 6:18 ` Dimitrios Siganos
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Rawat @ 2013-02-08 0:55 UTC (permalink / raw)
To: buildroot
Okay this my first attempt of adding custom packages to Buildroot where I
added the "Php" package along with all its extensions.
After the build when I try the updated image it does seem to have the php
package installed
I tried "php -v" in shell and it could not find anything :(
Is there something I am missing the equation ?, maybe more any other
configuration that is required.
--
Best Wishes;
Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130207/071abaca/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Running Packages
2013-02-08 0:55 [Buildroot] Running Packages Aditya Rawat
@ 2013-02-08 6:18 ` Dimitrios Siganos
2013-02-08 15:21 ` Aditya Rawat
0 siblings, 1 reply; 4+ messages in thread
From: Dimitrios Siganos @ 2013-02-08 6:18 UTC (permalink / raw)
To: buildroot
On 08/02/13 00:55, Aditya Rawat wrote:
> Okay this my first attempt of adding custom packages to Buildroot where
> I added the "Php" package along with all its extensions.
> After the build when I try the updated image it does seem to have the
> php package installed
> I tried "php -v" in shell and it could not find anything :(
>
> Is there something I am missing the equation ?, maybe more any other
> configuration that is required.
Hi Aditya,
There are a lot of steps in between. You need to take it one step at a time.
First check that your package is integrated into the buildroot system.
Assuming you called your package php, run the command below to see if
your package is integrated into the buildroot system:
make php-dirclean php
You should see at least the following (and usually a lot lot more):
>>> php Configuring
>>> php Building
>>> php Installing to target
If the the package is being compiled, but just missing from the target,
then watch carefully what happens during the 'Installing to target' step.
By the way, buildroot has a php package. Which version of buildroot are
you using?
Regards,
Dimitris
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Running Packages
2013-02-08 6:18 ` Dimitrios Siganos
@ 2013-02-08 15:21 ` Aditya Rawat
2013-02-08 19:59 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Rawat @ 2013-02-08 15:21 UTC (permalink / raw)
To: buildroot
Thank your for the insight Dimitris , the Buildroot environment is
quite aged( Released February 28th, 2011) but has php :D >>
https://github.com/j1nx/buildroot-AmLogic
The original Buildroot environment above had php5.2 so I replaced only
the /package/php dir with the one which had a php5.3
(http://git.buildroot.net/buildroot/commit/?id=aeb9350cfbd2f4675f0d095394660cc0c2cc0d7b)
Seems like it missing it target altogether, I will try the "make
php-dirclean php" and post my findings.
--
Best Wishes;
Adi
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Running Packages
2013-02-08 15:21 ` Aditya Rawat
@ 2013-02-08 19:59 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2013-02-08 19:59 UTC (permalink / raw)
To: buildroot
On 08/02/13 16:21, Aditya Rawat wrote:
> Thank your for the insight Dimitris , the Buildroot environment is
> quite aged( Released February 28th, 2011) but has php :D >>
> https://github.com/j1nx/buildroot-AmLogic
>
> The original Buildroot environment above had php5.2 so I replaced only
> the /package/php dir with the one which had a php5.3
> (http://git.buildroot.net/buildroot/commit/?id=aeb9350cfbd2f4675f0d095394660cc0c2cc0d7b)
> Seems like it missing it target altogether, I will try the "make
> php-dirclean php" and post my findings.
The package infrastructure has changed in the mean time, so copying the
directory won't work. You can either cherry-pick the commit in git
git cherry-pick aeb9350cfbd2f467
or you can modify the last line of php.mk into:
$(eval $(call AUTOTARGETS,package,php))
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-08 19:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08 0:55 [Buildroot] Running Packages Aditya Rawat
2013-02-08 6:18 ` Dimitrios Siganos
2013-02-08 15:21 ` Aditya Rawat
2013-02-08 19:59 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox