On Tue, Sep 04, 2012 at 03:54:14AM -0700, John L. Poole wrote:
> Following the instructions at
> http://www.angstrom-distribution.org/building-angstrom
> I proceeded with the 2nd step:
> MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel
> 
> where the configuration failed during the openssl phase.

You need this commit
http://git.openembedded.org/openembedded-core/commit/?id=c09bf5d177a7ecd2045ef7e13fff4528137a9775

> 
> Here's the error message:
> 
> Log data follows:
> 
> | ERROR: Function failed: do_configure (see 
> /usr/local/src/beagle/angstrom/setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/openssl-native-1.0.0i-r0.2/temp/log.do_configure.4575
>  
> for further information)
> | Can't locate find.pl in @INC (@INC contains: ...
> 
> The full session and error message are located at:
> 
> http://pastebin.com/RqGpTbdQ
> 
> Specifically, something is using the old way (using "require") of using 
> Perl's File::Find module.  Here's
> the file:
> 
> hermes util # cat perlpath.pl
> #!/usr/local/bin/perl
> #
> # modify the '#!/usr/local/bin/perl'
> # line in all scripts that rely on perl.
> #
> 
> require "find.pl";
> 
> $#ARGV == 0 || print STDERR "usage: perlpath newpath  (eg /usr/bin)\n";
> &find(".");
> 
> sub wanted
>          {
>          return unless /\.pl$/ || /^[Cc]onfigur/;
> 
>          open(IN,"<$_") || die "unable to open $dir/$_:$!\n";
>          @a=<IN>;
>          close(IN);
> 
>          if (-d $ARGV[0]) {
>                  $a[0]="#!$ARGV[0]/perl\n";
>          }
>          else {
>                  $a[0]="#!$ARGV[0]\n";
>          }
> 
>          # Playing it safe...
>          $new="$_.new";
>          open(OUT,">$new") || die "unable to open $dir/$new:$!\n";
>          print OUT @a;
>          close(OUT);
> 
>          rename($new,$_) || die "unable to rename $dir/$new:$!\n";
>          chmod(0755,$_) || die "unable to chmod $dir/$new:$!\n";
>          }
> hermes util #
> 
> 
> what I did to move forward:
> 
> replaced: require "find.pl";
> with: use File::Find;
> replaced: &find(".");
> with: &find(\&wanted, ".");
> 
> The use of "require find.pl" is a very old construct which I have not 
> seen for years. I am
> the process of building now (task 503 of 911) and hope that
> this deprecated use does not manifest itself elsewhere.  I am new to 
> Angstrom and
> therefore do not know where this construct of File::Find is coming from in
> the above temporary file.
> 
> I did find this which bears directly on the issue: 
> http://patches.openembedded.org/patch/29989/
> 
> I hope this helps.
> 
> 
> John
> 

> begin:vcard
> fn:John L. Poole
> n:Poole;John
> email;internet:jlpool...@gmail.com
> tel;work:707-812-1323
> tel;home:707-812-1323
> x-mozilla-html:TRUE
> version:2.1
> end:vcard
> 

> _______________________________________________
> Angstrom-distro-devel mailing list
> Angstrom-distro-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to