Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/atk

Buildroot jacmet at uclibc.org 5 participants 7 messages Aug 26, 2008 – Aug 27, 2008

lore
Share & tools
lore
#0 lore raw

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
===================================================================

buildroot/package/atk/Config.in +1 -4
@@ -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
#1 lore raw

[Buildroot] ### Executing FIles

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

#2 lore raw

[Buildroot] ### Executing FIles

Quoted 15 lines · Steve Spano

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".

Quoted 5 lines

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

#5 lore raw

[Buildroot] ### Executing FIles

In reply to Steve Spano

Hi,

Quoted 2 lines
Quoted 2 lines

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

Signature · 2 lines
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.
#6 lore raw

[Buildroot] ### Executing FIles

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: [email protected] [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,

Quoted 2 lines
Quoted 2 lines

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

Signature · 16 lines
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
#3 lore raw

[Buildroot] ### Executing FIles

In reply to John Voltz
Quoted 11 lines · John Voltz

On Tue, Aug 26, 2008 at 6:42 PM, Steve Spano <[email protected] <mailto:[email protected]>> 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.

Quoted 6 lines

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'

Signature · 3 lines
Nathanael d. Noblet
Gnat Solutions, Inc
T: 403.875.4613
#4 lore raw

[Buildroot] ### Executing FIles

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

Quoted 5 lines · John Voltz

On Tue, Aug 26, 2008 at 6:42 PM, Steve Spano <[email protected] <mailto:[email protected]>> wrote:

Hello

Quoted 7 lines

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.

Quoted 4 lines

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

Quoted 1 line

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'

Signature · 10 lines
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