Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  FuzeV2 build problems
« previous next »
  • Print
Pages: [1]

Author Topic: FuzeV2 build problems  (Read 2035 times)

Offline Progweed

  • Member
  • *
  • Posts: 67
FuzeV2 build problems
« on: July 31, 2011, 12:22:54 PM »
Hi,

I'm receiving this error at the very beginning of the make process (using VMWare in Windows):

Quote
Generating dependencies
Can't locate feature.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/rockbox/tools/multigcc.pl line 2.
BEGIN failed--compilation aborted at /root/rockbox/tools/multigcc.pl line 2.
Can't locate feature.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/rockbox/tools/multigcc.pl line 2.
BEGIN failed--compilation aborted at /root/rockbox/tools/multigcc.pl line 2.
Can't locate feature.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/rockbox/tools/multigcc.pl line 2.
BEGIN failed--compilation aborted at /root/rockbox/tools/multigcc.pl line 2.
CC apps/action.c
/root/rockbox/apps/action.c:26:18: error: lang.h: No such file or directory
make: *** [/root/rockbox/build_fuzev2/apps/action.o] Error 1

What do I need to do?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: FuzeV2 build problems
« Reply #1 on: July 31, 2011, 02:59:19 PM »
Are you using our vmware image or your own?  Is this a clean check out?  It sounds like something is screwed up with either the build tools or the source.
Logged

Offline Progweed

  • Member
  • *
  • Posts: 67
Re: FuzeV2 build problems
« Reply #2 on: August 01, 2011, 04:19:23 AM »
Yes, I'm using your image, the one linked in the wiki. And I did a complete check out to see if that sorted out the problem. It has been surfacing since a couple of days now.
Logged

Offline thegr8brian

  • Member
  • *
  • Posts: 4
Re: FuzeV2 build problems
« Reply #3 on: August 04, 2011, 10:50:13 AM »
I was having this same issue before.  This is due to the changes in r30169.  It looks like you are using perl 5.8,  it appears you need 5.10 or later with this change. 
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: FuzeV2 build problems
« Reply #4 on: August 04, 2011, 04:28:29 PM »
The commit message clearly states that you need at least Perl 5.10:

Quote
Perl 5.14 removed Switch which means that Rockbox will no longer build
with the current release of Perl. The patch replaces Switch
with given/when which was introduced in Perl 5.10.0.

Your Perl installation is too old (and the vmware image is rather outdated anyway).
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: FuzeV2 build problems
« Reply #5 on: August 04, 2011, 04:56:12 PM »
Well yes, but the problem is the vmware image wasn't updated.  At this point we should probably just start over with a fresh virtualbox image using a modern linux version.
Logged

Offline Progweed

  • Member
  • *
  • Posts: 67
Re: FuzeV2 build problems
« Reply #6 on: August 09, 2011, 04:08:41 AM »
Thanks for your replies. Seems I'm not knowledgeable enough to update my Perl installation with the system included in the image. Isn't apt-get the right way to do this? But it's not important, I switched to a full-blown Linux installation anyway, which is probably much easier to maintain. Compiling was a piece of cake and compile times are much shorter now as well. Another happy convert.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  FuzeV2 build problems
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 15 queries.