If you put the right sleep statement at the end of your %post section
you should be able to get an interactive prompt at the end
of the install on the ctrl-alt-f2 screen and poke around
the chroot environment and see what is there and what is not there,
and try to reproduce the commands that are failing.


Steve Timm



On Fri, 1 Aug 2014, Boryeu Mao wrote:

> Wrong conclusion about gcc/make being 'apparently unavailable yet in
> chroot environment'.
>
> Further investigation found that, during a ./configure test (before
> 'make'), 'gcc' failed to create executables (for a small
> 'conftest.c'), with a message of "collect2: cannot find 'ld' ".
> However, 'binutils' was among the packages that had been installed
> prior to the %post section, and the directory /usr/bin (where ld
> lives) is found in PATH by ./configure.
>
> Also, in the system booted from the dvd image, the ./configure script
> runs successfully, and ld is where it should be.
>
> Google search so far hasn't turn up anything relevant. Suggestions and
> help are appreciated.  Thanks
>

------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
[log in to unmask]  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing