SOLVED Re: livecd-creator newbie question: gcc/make tools in post-installation script

2014-08-01 Thread Boryeu Mao
Thank you! And found the problem: Collect2 runs 'inside' gcc and it needs $PATHvto find ld - so it is necessary to have 'export PATH=$PATH' statement before './configure' in the %post section. On 8/1/14, Steven Timm wrote: > > If you put the right sleep statement at the end of your %post sectio

Re: livecd-creator newbie question: gcc/make tools in post-installation script

2014-08-01 Thread Steven Timm
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 f

Re: livecd-creator newbie question: gcc/make tools in post-installation script

2014-08-01 Thread Boryeu Mao
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'

livecd-creator newbie question: gcc/make tools in post-installation script

2014-07-31 Thread Boryeu Mao
When I insert 'gcc' and 'make' into the %post section of the kickstart file, they fail to execute, as these tools are apparently unavailable yet in chroot environment. Is it not possible to run these commands at all before the cd/dvd image creation, and for custom software it is necessary to make