Re: [vox-tech] Strange problem with bash?

2009-10-31 Thread Bruce Wolk
Unfortunately I deleted everything and then tried to reinstall, but the 
SDK won't install properly.  Obviously there are some bugs in Android's 
latest SDK manager.  If I can get it reinstalled I'll try your suggestion.

Tim Riley wrote:
> On Fri, 2009-10-30 at 23:25 -0700, Bruce Wolk wrote:
>> It's a binary file and everything is supposedly x86, obtained from the 
>> standard repositories.
> 
> Try this:
> 
> od -c ./aapt | head -1
> 
> and compare the output to
> 
> od -c /bin/ls | head -1
> 
> Is the output the same?
> 
>> Tim Riley wrote:
>>> On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
> 
> 
> 
 br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
 bash: ./aapt: No such file or directory
>>> This happens when the binary executable is not compatible with your CPU.
>>>
> 
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Strange problem with bash?

2009-10-31 Thread Tim Riley
On Fri, 2009-10-30 at 23:25 -0700, Bruce Wolk wrote:
> It's a binary file and everything is supposedly x86, obtained from the 
> standard repositories.

Try this:

od -c ./aapt | head -1

and compare the output to

od -c /bin/ls | head -1

Is the output the same?

> 
> Tim Riley wrote:
> > On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
> >>



> >> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
> >> bash: ./aapt: No such file or directory
> > 
> > This happens when the binary executable is not compatible with your CPU.
> > 


___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Strange problem with bash?

2009-10-30 Thread Bruce Wolk
It's a binary file and everything is supposedly x86, obtained from the 
standard repositories.

Tim Riley wrote:
> On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
>> I am doing some Android development and borked my Gentoo system for the 
>> last time and decided to install ubuntu.  Everything went fine until I 
>> tried to build my projects.  Eclipse shows errors executing "aapt".  So 
>> I checked on aapt and it is definitely there, but look at the following:
>>
>> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ls -al
>> total 4596
>> drwxr-xr-x 3 bruce bruce4096 2009-10-30 19:09 .
>> drwxr-xr-x 8 bruce bruce4096 2009-10-30 19:09 ..
>> -rwxr-x--- 1 bruce bruce 3416299 2009-10-30 19:09 aapt
>> -rwxr-x--- 1 bruce bruce 1054182 2009-10-30 19:09 aidl
>> -rwxr-x--- 1 bruce bruce  198061 2009-10-30 19:09 dexdump
>> -rwxr-x--- 1 bruce bruce2214 2009-10-30 19:09 dx
>> drwxr-xr-x 2 bruce bruce4096 2009-10-30 19:09 lib
>> -rw-r- 1 bruce bruce   10800 2009-10-30 19:09 NOTICE.txt
>> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
>> bash: ./aapt: No such file or directory
> 
> This happens when the binary executable is not compatible with your CPU.
> 
> 
> 
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> 

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Strange problem with bash?

2009-10-30 Thread Peter Jay Salzman
Or (I think) if the partition is mounted with the noexec option.


On Fri 30 Oct 09, 11:09 PM, Harold Lee  said:
> Or when it's a "shebang" script, a la
> 
> #!/usr/bin/perl
> 
> or similar where the program isn't in the same location.
> 
> -Harold
> 
> On Fri, Oct 30, 2009 at 9:45 PM, Tim Riley  wrote:
> > On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
> >> I am doing some Android development and borked my Gentoo system for the
> >> last time and decided to install ubuntu.  Everything went fine until I
> >> tried to build my projects.  Eclipse shows errors executing "aapt".  So
> >> I checked on aapt and it is definitely there, but look at the following:
> >>
> >> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ls -al
> >> total 4596
> >> drwxr-xr-x 3 bruce bruce    4096 2009-10-30 19:09 .
> >> drwxr-xr-x 8 bruce bruce    4096 2009-10-30 19:09 ..
> >> -rwxr-x--- 1 bruce bruce 3416299 2009-10-30 19:09 aapt
> >> -rwxr-x--- 1 bruce bruce 1054182 2009-10-30 19:09 aidl
> >> -rwxr-x--- 1 bruce bruce  198061 2009-10-30 19:09 dexdump
> >> -rwxr-x--- 1 bruce bruce    2214 2009-10-30 19:09 dx
> >> drwxr-xr-x 2 bruce bruce    4096 2009-10-30 19:09 lib
> >> -rw-r- 1 bruce bruce   10800 2009-10-30 19:09 NOTICE.txt
> >> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
> >> bash: ./aapt: No such file or directory
> >
> > This happens when the binary executable is not compatible with your CPU.
> >
> > 
> >
> > ___
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
Last night I dreamt of 09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0
Facebook: http://facebook.com/coffeeAchiever

"The fundamental cause of trouble in the world today   p...@dirac.org
is that the stupid are cocksure while the intelligent  http://www.dirac.org
are full of doubt"   ---   Bertrand Russell
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Strange problem with bash?

2009-10-30 Thread Harold Lee
Or when it's a "shebang" script, a la

#!/usr/bin/perl

or similar where the program isn't in the same location.

-Harold

On Fri, Oct 30, 2009 at 9:45 PM, Tim Riley  wrote:
> On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
>> I am doing some Android development and borked my Gentoo system for the
>> last time and decided to install ubuntu.  Everything went fine until I
>> tried to build my projects.  Eclipse shows errors executing "aapt".  So
>> I checked on aapt and it is definitely there, but look at the following:
>>
>> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ls -al
>> total 4596
>> drwxr-xr-x 3 bruce bruce    4096 2009-10-30 19:09 .
>> drwxr-xr-x 8 bruce bruce    4096 2009-10-30 19:09 ..
>> -rwxr-x--- 1 bruce bruce 3416299 2009-10-30 19:09 aapt
>> -rwxr-x--- 1 bruce bruce 1054182 2009-10-30 19:09 aidl
>> -rwxr-x--- 1 bruce bruce  198061 2009-10-30 19:09 dexdump
>> -rwxr-x--- 1 bruce bruce    2214 2009-10-30 19:09 dx
>> drwxr-xr-x 2 bruce bruce    4096 2009-10-30 19:09 lib
>> -rw-r- 1 bruce bruce   10800 2009-10-30 19:09 NOTICE.txt
>> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
>> bash: ./aapt: No such file or directory
>
> This happens when the binary executable is not compatible with your CPU.
>
> 
>
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Strange problem with bash?

2009-10-30 Thread Tim Riley
On Fri, 2009-10-30 at 21:35 -0700, Bruce Wolk wrote:
> I am doing some Android development and borked my Gentoo system for the 
> last time and decided to install ubuntu.  Everything went fine until I 
> tried to build my projects.  Eclipse shows errors executing "aapt".  So 
> I checked on aapt and it is definitely there, but look at the following:
> 
> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ls -al
> total 4596
> drwxr-xr-x 3 bruce bruce4096 2009-10-30 19:09 .
> drwxr-xr-x 8 bruce bruce4096 2009-10-30 19:09 ..
> -rwxr-x--- 1 bruce bruce 3416299 2009-10-30 19:09 aapt
> -rwxr-x--- 1 bruce bruce 1054182 2009-10-30 19:09 aidl
> -rwxr-x--- 1 bruce bruce  198061 2009-10-30 19:09 dexdump
> -rwxr-x--- 1 bruce bruce2214 2009-10-30 19:09 dx
> drwxr-xr-x 2 bruce bruce4096 2009-10-30 19:09 lib
> -rw-r- 1 bruce bruce   10800 2009-10-30 19:09 NOTICE.txt
> br...@erisa:~/android-sdk-linux/platforms/android-1.6/tools$ ./aapt
> bash: ./aapt: No such file or directory

This happens when the binary executable is not compatible with your CPU.



___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech