[oe] What's with the symlinks?

Koen Kooi koen at dominion.kabel.utwente.nl
Fri Dec 29 08:16:23 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

jack-oe at mudshark.org schreef:
> On Fri, Dec 29, 2006 at 11:11:29AM +1100, Matthew Palmer wrote:
> 
>> Everywhere I go while assembling my OE build tree, I see admonishments not
>> to use a path that has symlinks in it.  For such a major problem, the only
>> real information on the actual problem is a fairly cryptic entry in the FAQ,
>> about a failure to build libtool-native.
>  
>> Being an intensely curious kind of person, and not enjoying arbitrary
>> limits, I'm very interested to know what the *real* reason behind being so
>> strongly against the much-maligned symlink.  Can anyone enlighten me?
> 
> I ran into this. IIRC if "$PWD" != "`readlink -f $PWD`", then automake-native
> fails to build. 
> 
> This is a feature of the automake build system. 

It is a (wrong) check to see if builddir == sourcedir. With a symlink present, the
configure script thinks your building outside sourcedir and wants to create some files.
But those files are already present, so it fails with a "directory already configured"
message.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFlM7XMkyGM64RGpERAiXVAJ9JQuTl5Ug5JRx47n2428XPGJ+wgQCffMJ/
8ueD7E18HHikc5s2rVJV/YI=
=xndz
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list