1

I'm trying to checkout the Mozilla Fennec code and connect it with Eclipse for making some changes and deplyoing it on the device.

I'm referring this link. Visit: https://wiki.mozilla.org/Mobile/Fennec/Android#Connecting_Eclipse_to_Android_Build_tree

I have checked out the whole code and added path as required in mozconfig_values file. When I execute run ./create_projects.pl, it gives me error with:

No command 'run' found, did you mean:

I think I'm mentioning the path in mozconfig_values file as wrong. Please guide me to overcome this problem or tell me how to run "Perl" file on Ubuntu 12.04.

Wladimir Palant
  • 56,865
  • 12
  • 98
  • 126
Anupam
  • 3,742
  • 18
  • 55
  • 87

2 Answers2

1

You literally typed run ./create_projects.pl, but that is wrong. Your shell/operating system is complaining rightfully that there is not command run.

Type perl ./create_projects.pl instead.

daxim
  • 39,270
  • 4
  • 65
  • 132
  • I have tried that command to, but I'm getting the same error that "No command 'perl' found". – Anupam Aug 28 '12 at 05:11
  • 1
    But the package `perl-base`, which contains the perl binary, is marked as essential. How'd you manage to break Ubuntu that Perl doesn't work? – daxim Aug 28 '12 at 11:28
  • I couldn't give the answer to that because I don't have deep knowledge about Ubuntu. But the error was there, when ever I tried to run these commands. – Anupam Aug 28 '12 at 11:35
  • I see no programming problem here anymore, the question is off-topic for this site. Get further help at http://askubuntu.com – daxim Aug 28 '12 at 11:49
  • BTW ./create_projects.pl should work fine without putting perl in front of it as its marked executable in the git repo and has a: #!/usr/bin/perl As you pointed out the original poster has somehow badly broken their ubuntu install and needs to consult on askubuntu instead of here. – Maks Nov 03 '13 at 22:51
0

Type

./create_projects.pl

without anything before it

Eric J.
  • 147,927
  • 63
  • 340
  • 553