[Buildroot] Compiling Apache

Baruch Siach baruch at tkos.co.il
Tue Mar 22 19:55:02 UTC 2011


Hi Michael,

On Tue, Mar 22, 2011 at 08:33:15PM +0100, Michael Burghart wrote:
> what I do not understand: I get the following error:
> 
> make[4]: Entering directory
> `/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre'
> ./dftables
> /LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre/chartables.c
> make[4]: ./dftables: Kommando nicht gefunden
> 
> 
> So I tried it manually and did a cd into the directory:
> cd /LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre/
> 
> then I invoked the dftables command manually:
> ./dftables
> /LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre/chartables.c
> 
> got "File not found":
> - -bash: ./dftables: Datei oder Verzeichnis nicht gefunden
> 
> Did a ls on that file and it exists! So why did it produce an "File not
> foound" error
> mb at einstein:/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre> ls
> - -l ./dftables
> - -rwxr-xr-x 1 mb users 8015 22. Mär 15:18 ./dftables
> 
> 
> How can that be? I am really puzzled now...

Quoting the execve(2) man page:

       ENOENT The  file  filename  or  a script or ELF interpreter does not exist, or a
              shared library needed for file or interpreter cannot be found.

This means that the format of the executable is wrong. What is the output of 
'file dftables'?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list