Skip to contentSkip to conversation

perl depends miniperl

Buildroot Mark Constable 2 participants 4 messages Oct 22, 2009 – Oct 23, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Constable <[email protected]> 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 ;)

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 2 lines · Peter Korsgaard

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 :-)

Quoted 6 lines

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.

Quoted 3 lines

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

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mark" == Mark Constable <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines

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.

Quoted 2 lines
Quoted 2 lines

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.

Signature · 1 line
Bye, Peter Korsgaard