Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] perl depends miniperl
@ 2009-10-22 15:29 Mark Constable
  2009-10-22 20:30 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Constable @ 2009-10-22 15:29 UTC (permalink / raw)
  To: buildroot

In the pursuit of a usable ar I thought I'd select Target options -> Generic
development system and see what happens but it stopped at this point where,
I presume, building perl requires ../../miniperl.

Any suggestion how to work around this one?

I really do not want perl at all. Certainly not on the target.

 
touch /home/sources/buildroot/build_i686/perl-5.8.8/.host_configured_and_fixed
/usr/bin/make -j1 -C /home/sources/buildroot/build_i686/perl-5.8.8              || echo "An error is expected on make"
make[1]: Entering directory `/home/sources/buildroot/build_i686/perl-5.8.8'
make[1]: *** No rule to make target `<command-line>', needed by `miniperlmain.o'.  Stop.
make[1]: Leaving directory `/home/sources/buildroot/build_i686/perl-5.8.8'
An error is expected on make
touch /home/sources/buildroot/build_i686/perl-5.8.8/.host_make
/usr/bin/make -j1 -C /home/sources/buildroot/build_i686/perl-5.8.8 test || echo "An error is expected on make test"
make[1]: Entering directory `/home/sources/buildroot/build_i686/perl-5.8.8'
make[1]: *** No rule to make target `<command-line>', needed by `miniperlmain.o'.  Stop.
make[1]: Leaving directory `/home/sources/buildroot/build_i686/perl-5.8.8'
An error is expected on make test
touch /home/sources/buildroot/build_i686/perl-5.8.8/.host_make_fixed
# we need to build a perl for the host just for Errno.pm
(cd /home/sources/buildroot/build_i686/perl-5.8.8; \
         chmod a+x ext/util/make_ext; \
         ext/util/make_ext nonxs Errno MAKE="/usr/bin/make" \
        )

        Making Errno (nonxs)
ext/util/make_ext: line 122: ../../miniperl: No such file or directory
Warning: No Makefile!
make[1]: Entering directory `/home/sources/buildroot/build_i686/perl-5.8.8/ext/Errno'
make[1]: *** No rule to make target `config'.  Stop.
make[1]: Leaving directory `/home/sources/buildroot/build_i686/perl-5.8.8/ext/Errno'
/usr/bin/make config failed, continuing anyway...
make[1]: Entering directory `/home/sources/buildroot/build_i686/perl-5.8.8/ext/Errno'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/home/sources/buildroot/build_i686/perl-5.8.8/ext/Errno'
make: *** [/home/sources/buildroot/build_i686/perl-5.8.8/.configured] Error 2


--markc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] perl depends miniperl
  2009-10-22 15:29 [Buildroot] perl depends miniperl Mark Constable
@ 2009-10-22 20:30 ` Peter Korsgaard
  2009-10-23  4:03   ` Mark Constable
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-10-22 20:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Mark" == Mark Constable <markc@renta.net> writes:

 Mark> In the pursuit of a usable ar I thought I'd select Target options

For an ar with write support, you probably need binutils/gcc on the
target.

 Mark> -> Generic development system and see what happens but it stopped
 Mark> at this point where, I presume, building perl requires
 Mark> ../../miniperl.

Our perl is miniperl, so there must be something broken in the miniperl
package.

 Mark> Any suggestion how to work around this one?

 Mark> I really do not want perl at all. Certainly not on the target.

Then don't enable it ;)

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] perl depends miniperl
  2009-10-22 20:30 ` Peter Korsgaard
@ 2009-10-23  4:03   ` Mark Constable
  2009-10-23  7:41     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Constable @ 2009-10-23  4:03 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard wrote:
> For an ar with write support, you probably need binutils/gcc on the
> target.

Yes, Ive been trying for that for a couple of days now :-)

>  Mark> -> Generic development system and see what happens but it stopped
>  Mark> at this point where, I presume, building perl requires
>  Mark> ../../miniperl.
> 
> Our perl is miniperl, so there must be something broken in the miniperl
> package.

I wish I could submit a fix but I think it'll take me months to
get a good handle on buildroot and the use of Makefiles.

>  Mark> I really do not want perl at all. Certainly not on the target.
> 
> Then don't enable it ;)

Unfortunately (for me) selecting the general devel install auto
selects autoconf which in turn auto selects miniperl.

And from the error it seems like it's only needed for error.pm!
(I'm not sure what that means but it might be fairly trivial and
easy to substitute, perhaps)

--markc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] perl depends miniperl
  2009-10-23  4:03   ` Mark Constable
@ 2009-10-23  7:41     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2009-10-23  7:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Mark" == Mark Constable <markc@renta.net> writes:

Hi,

 >> Our perl is miniperl, so there must be something broken in the
 >> miniperl package.

 Mark> I wish I could submit a fix but I think it'll take me months to
 Mark> get a good handle on buildroot and the use of Makefiles.

I'll take a look at it again next week.

 Mark> I really do not want perl at all. Certainly not on the target.
 >> 
 >> Then don't enable it ;)

 Mark> Unfortunately (for me) selecting the general devel install auto
 Mark> selects autoconf which in turn auto selects miniperl.

Ok, but there's nothing magic about the general devel thing. It's just a
handy way to select a certain subset of packages. If you don't want all
the packages of that subset, then just disable the devel thing and only
select the stuff you want.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-23  7:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 15:29 [Buildroot] perl depends miniperl Mark Constable
2009-10-22 20:30 ` Peter Korsgaard
2009-10-23  4:03   ` Mark Constable
2009-10-23  7:41     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox