I'm stumped.

I'm using LFS 6.0 and my host system is Mandrake 10.1.

Everything has gone without a hitch until I tried to install expect-5.42.1-spawn-1.patch in Section 5.11. The result of

<patch -Np1 -i ../expect-5.42-spawn-1.patch> was
<patch: **** mktemp : Permission denied>

I opened another xconsole, logged in as myself and copied the Expect -5.42.1 tarball and the *-spawn-1 patch to another directory. I then successfully applied the patch. It appears that I've created a "glitch" somewhere in the permissions for user-lfs or that I've missed something in the environment setup somewhere. However, I have reviewed all of that stuff and everything seems OK.

Result of <which>:

/usr/bin/patch
/bin/mktemp

Permissions for both

-rwxr-xr-x  1 root root 83788 Aug 13  2004 "/usr/bin/patch"*
-rwxr-xr-x  1 root root 4112 May 25  2003 "/bin/mktemp"*

When logged in as lfs:
echo $PATH
/tools/bin:/bin:/usr/bin

So far the only routines I've that have existed outside the path for user-lfs have been in /usr/local and I just invoked them directly--nothing to do with the LFS build, just "nosing around." All other stuff--ln, cp, rm, ls, and the rest work fine.

Any ideas? I'm afraid to copy the patched expect source directory to $LFS/sources because I'm afraid to contaminate the build--besides that would be a pain in the ....

I've not been able to find any info about this in hints, FAQ's or google.

I will appreciate any help.

Thanks,

Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to