Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/atk
@ 2008-08-26 22:37 jacmet at uclibc.org
  2008-08-26 22:42 ` [Buildroot] ### Executing FIles Steve Spano
  0 siblings, 1 reply; 7+ messages in thread
From: jacmet at uclibc.org @ 2008-08-26 22:37 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-26 15:37:20 -0700 (Tue, 26 Aug 2008)
New Revision: 23226

Log:
atk: select libglib2

Modified:
   trunk/buildroot/package/atk/Config.in


Changeset:
Modified: trunk/buildroot/package/atk/Config.in
===================================================================
--- trunk/buildroot/package/atk/Config.in	2008-08-26 21:05:10 UTC (rev 23225)
+++ trunk/buildroot/package/atk/Config.in	2008-08-26 22:37:20 UTC (rev 23226)
@@ -1,9 +1,6 @@
 config BR2_PACKAGE_ATK
 	bool "atk"
 	select BR2_PACKAGE_PKGCONFIG
-	depends on BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBGLIB2
 	help
 	  The ATK accessibility toolkit, needed to build GTK+-2.x.
-
-comment "atk		- disabled (requires libglib2)"
-	depends on !BR2_PACKAGE_LIBGLIB2

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-26 22:37 [Buildroot] svn commit: trunk/buildroot/package/atk jacmet at uclibc.org
@ 2008-08-26 22:42 ` Steve Spano
  2008-08-27  0:06   ` John Voltz
  2008-08-27  0:11   ` Hebbar
  0 siblings, 2 replies; 7+ messages in thread
From: Steve Spano @ 2008-08-26 22:42 UTC (permalink / raw)
  To: buildroot

Hello

I am stumped on this issue

I have a buildroot filesystem running and I cannot seem to execute new files
that I have placed on it.

For example, I upload a new executable file that I compile on a host PC. 
I change its permissions to execute and I type "./myfile"
It comes back saying "-sh: myfile not found"
BUT, I can vi the file, I can copy it, delete it /etc/etc
If I change its permissions to read-only and then try to execute it, the
shell tells me "permission denied". 

What could be occurring here?

Steve Spano, President
Finger Lakes Engineering

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-26 22:42 ` [Buildroot] ### Executing FIles Steve Spano
@ 2008-08-27  0:06   ` John Voltz
  2008-08-27 14:59     ` Nathanael D. Noblet
  2008-08-27  0:11   ` Hebbar
  1 sibling, 1 reply; 7+ messages in thread
From: John Voltz @ 2008-08-27  0:06 UTC (permalink / raw)
  To: buildroot

On Tue, Aug 26, 2008 at 6:42 PM, Steve Spano <steve@fl-eng.com> wrote:

> Hello
>
> I am stumped on this issue
>
> I have a buildroot filesystem running and I cannot seem to execute new
> files
> that I have placed on it.
>
> For example, I upload a new executable file that I compile on a host PC.
> I change its permissions to execute and I type "./myfile"
> It comes back saying "-sh: myfile not found"
> BUT, I can vi the file, I can copy it, delete it /etc/etc
> If I change its permissions to read-only and then try to execute it, the
> shell tells me "permission denied".
>
> What could be occurring here?
>
> Steve Spano, President
> Finger Lakes Engineering
>

Sounds like something is wrong with your busybox, or maybe you are
accidentally using regular old bash which I seem to remember causes some
problems for people. It might be helpful if you tell us what architecture
you built it for too.

Regards,

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080826/10a53a43/attachment.htm 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-26 22:42 ` [Buildroot] ### Executing FIles Steve Spano
  2008-08-27  0:06   ` John Voltz
@ 2008-08-27  0:11   ` Hebbar
  2008-08-27  1:05     ` Steve Spano
  1 sibling, 1 reply; 7+ messages in thread
From: Hebbar @ 2008-08-27  0:11 UTC (permalink / raw)
  To: buildroot


Hi,

>>I change its permissions to execute and I type "./myfile"
>>It comes back saying "-sh: myfile not found"

This could happen  if,
1. the necessary libs are no present in the search path. like /lib /usr/lib.
Use ldd to check the dependencies
2, if its not an executable. use file command to check the file type

Buildroot toolchain provides both the commands. u need to enable them to be
built for target platform.

Hope this is usefull

Regards
Gururaja


-- 
View this message in context: http://www.nabble.com/svn-commit%3A-trunk-buildroot-package-atk-tp19171723p19172648.html
Sent from the BuildRoot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-27  0:11   ` Hebbar
@ 2008-08-27  1:05     ` Steve Spano
  0 siblings, 0 replies; 7+ messages in thread
From: Steve Spano @ 2008-08-27  1:05 UTC (permalink / raw)
  To: buildroot

Hi

Thanks for the fast replies from the list.

I ws thinking about dependencies, and will check that out tomorrow.
There may be a library or module issue going on.

I will rebuild with ldd so I can check it out.

The target is the MX31 and I am trying to get the OpenGL libraries up and
running on it.

Thanks

Steve Spano, President
Finger Lakes Engineering


-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On
Behalf Of Hebbar
Sent: Tuesday, August 26, 2008 8:11 PM
To: buildroot at uclibc.org
Subject: Re: [Buildroot] ### Executing FIles


Hi,

>>I change its permissions to execute and I type "./myfile"
>>It comes back saying "-sh: myfile not found"

This could happen  if,
1. the necessary libs are no present in the search path. like /lib /usr/lib.
Use ldd to check the dependencies
2, if its not an executable. use file command to check the file type

Buildroot toolchain provides both the commands. u need to enable them to be
built for target platform.

Hope this is usefull

Regards
Gururaja


-- 
View this message in context:
http://www.nabble.com/svn-commit%3A-trunk-buildroot-package-atk-tp19171723p1
9172648.html
Sent from the BuildRoot mailing list archive at Nabble.com.

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot


-- 
Internal Virus Database is out-of-date.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.0/1602 - Release Date: 8/9/2008
1:22 PM

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-27  0:06   ` John Voltz
@ 2008-08-27 14:59     ` Nathanael D. Noblet
  2008-08-27 20:55       ` Steve Spano
  0 siblings, 1 reply; 7+ messages in thread
From: Nathanael D. Noblet @ 2008-08-27 14:59 UTC (permalink / raw)
  To: buildroot

John Voltz wrote:
> On Tue, Aug 26, 2008 at 6:42 PM, Steve Spano <steve@fl-eng.com 
> <mailto:steve@fl-eng.com>> wrote:
> 
>     Hello
> 
>     I am stumped on this issue
> 
>     I have a buildroot filesystem running and I cannot seem to execute
>     new files
>     that I have placed on it.
> 
>     For example, I upload a new executable file that I compile on a host PC.
>     I change its permissions to execute and I type "./myfile"
>     It comes back saying "-sh: myfile not found"
>     BUT, I can vi the file, I can copy it, delete it /etc/etc
>     If I change its permissions to read-only and then try to execute it, the
>     shell tells me "permission denied".

If you are executing a shell script, I've seen that error before when 
there were hidden utf-8 marks or dos line feeds in the first line.

I think I've also seen it when you compile a program and link it against 
  glibc and then try to run it against uclibc. It can't load the loader 
portion of the C library I think. Otherwise other missing linked library 
files typically provide an error message about 'unable to load libxxx.so'


-- 
Nathanael d. Noblet
Gnat Solutions, Inc
T: 403.875.4613

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] ### Executing FIles
  2008-08-27 14:59     ` Nathanael D. Noblet
@ 2008-08-27 20:55       ` Steve Spano
  0 siblings, 0 replies; 7+ messages in thread
From: Steve Spano @ 2008-08-27 20:55 UTC (permalink / raw)
  To: buildroot

Hello Folks

Thanks for the help

The uCLibc/glibc issue was the problem. Thank you again for the help!

Steve Spano, President
Finger Lakes Engineering


-----Original Message-----
From: Nathanael D. Noblet [mailto:nathanael at gnat.ca] 
Sent: Wednesday, August 27, 2008 10:59 AM
To: John Voltz
Cc: steve at fl-eng.com; buildroot at uclibc.org
Subject: Re: [Buildroot] ### Executing FIles

John Voltz wrote:
> On Tue, Aug 26, 2008 at 6:42 PM, Steve Spano <steve@fl-eng.com 
> <mailto:steve@fl-eng.com>> wrote:
> 
>     Hello
> 
>     I am stumped on this issue
> 
>     I have a buildroot filesystem running and I cannot seem to execute
>     new files
>     that I have placed on it.
> 
>     For example, I upload a new executable file that I compile on a host
PC.
>     I change its permissions to execute and I type "./myfile"
>     It comes back saying "-sh: myfile not found"
>     BUT, I can vi the file, I can copy it, delete it /etc/etc
>     If I change its permissions to read-only and then try to execute it,
the
>     shell tells me "permission denied".

If you are executing a shell script, I've seen that error before when 
there were hidden utf-8 marks or dos line feeds in the first line.

I think I've also seen it when you compile a program and link it against 
  glibc and then try to run it against uclibc. It can't load the loader 
portion of the C library I think. Otherwise other missing linked library 
files typically provide an error message about 'unable to load libxxx.so'


-- 
Nathanael d. Noblet
Gnat Solutions, Inc
T: 403.875.4613


-- 
Internal Virus Database is out-of-date.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.0/1602 - Release Date: 8/9/2008
1:22 PM

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-27 20:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26 22:37 [Buildroot] svn commit: trunk/buildroot/package/atk jacmet at uclibc.org
2008-08-26 22:42 ` [Buildroot] ### Executing FIles Steve Spano
2008-08-27  0:06   ` John Voltz
2008-08-27 14:59     ` Nathanael D. Noblet
2008-08-27 20:55       ` Steve Spano
2008-08-27  0:11   ` Hebbar
2008-08-27  1:05     ` Steve Spano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox