* [gentoo-dev] dosym
@ 2004-08-14 20:01 Brett I. Holcomb
2004-08-14 20:20 ` Marius Mauch
0 siblings, 1 reply; 4+ messages in thread
From: Brett I. Holcomb @ 2004-08-14 20:01 UTC (permalink / raw
To: gentoo-dev
I'm trying to create symlinks in an ebuild using dosym but an having some
problems. I do the following:
dosym /usr/xyz/file /usr/abc/file
or
dosym ${D}/usr/xyz/file /usr/abc/file
but all I get in /usr/abc is a broken symlink.
The directory /usr/xyz has file in it and /usr/abc has file ->
/usr/xyz/file but ls shows a flashing red broken symlink and if I go to
/usr/abc and do ./file it says no such file or directory.
Looking at dosym all it does is ln -snf Target ${D}/link
What am I missing here?
Thanks.
--
Brett I. Holcomb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] dosym
2004-08-14 20:01 [gentoo-dev] dosym Brett I. Holcomb
@ 2004-08-14 20:20 ` Marius Mauch
2004-08-14 20:26 ` Brett I. Holcomb
2004-09-18 1:34 ` Brett I. Holcomb
0 siblings, 2 replies; 4+ messages in thread
From: Marius Mauch @ 2004-08-14 20:20 UTC (permalink / raw
To: gentoo-dev
On 08/14/04 Brett I. Holcomb wrote:
> I'm trying to create symlinks in an ebuild using dosym but an having
> some problems. I do the following:
>
> dosym /usr/xyz/file /usr/abc/file
>
> or
>
> dosym ${D}/usr/xyz/file /usr/abc/file
>
> but all I get in /usr/abc is a broken symlink.
>
> The directory /usr/xyz has file in it and /usr/abc has file ->
> /usr/xyz/file but ls shows a flashing red broken symlink and if I go
> to/usr/abc and do ./file it says no such file or directory.
Before or after the merge phase?
It's normal that the symlink is "broken" before the merge phase if you
use absolute symlinks, that's why ebuilds should always use relative
links.
Marius
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] dosym
2004-08-14 20:20 ` Marius Mauch
@ 2004-08-14 20:26 ` Brett I. Holcomb
2004-09-18 1:34 ` Brett I. Holcomb
1 sibling, 0 replies; 4+ messages in thread
From: Brett I. Holcomb @ 2004-08-14 20:26 UTC (permalink / raw
To: gentoo-dev
This is after I do the emerge myapp. I'm looking at the final install.
On Sat, 14 Aug 2004, Marius Mauch wrote:
> On 08/14/04 Brett I. Holcomb wrote:
>
>> I'm trying to create symlinks in an ebuild using dosym but an having
>> some problems. I do the following:
>>
>> dosym /usr/xyz/file /usr/abc/file
>>
>> or
>>
>> dosym ${D}/usr/xyz/file /usr/abc/file
>>
>> but all I get in /usr/abc is a broken symlink.
>>
>> The directory /usr/xyz has file in it and /usr/abc has file ->
>> /usr/xyz/file but ls shows a flashing red broken symlink and if I go
>> to/usr/abc and do ./file it says no such file or directory.
>
> Before or after the merge phase?
> It's normal that the symlink is "broken" before the merge phase if you
> use absolute symlinks, that's why ebuilds should always use relative
> links.
>
> Marius
>
> --
> gentoo-dev@gentoo.org mailing list
>
--
Brett I. Holcomb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] dosym
2004-08-14 20:20 ` Marius Mauch
2004-08-14 20:26 ` Brett I. Holcomb
@ 2004-09-18 1:34 ` Brett I. Holcomb
1 sibling, 0 replies; 4+ messages in thread
From: Brett I. Holcomb @ 2004-09-18 1:34 UTC (permalink / raw
To: gentoo-dev
After I do emerge myapp - I'm looking at the final product.
On Sat, 14 Aug 2004, Marius Mauch wrote:
> On 08/14/04 Brett I. Holcomb wrote:
>
>> I'm trying to create symlinks in an ebuild using dosym but an having
>> some problems. I do the following:
>>
>> dosym /usr/xyz/file /usr/abc/file
>>
>> or
>
> Before or after the merge phase?
> It's normal that the symlink is "broken" before the merge phase if you
> use absolute symlinks, that's why ebuilds should always use relative
> links.
>
> Marius
>
> --
> gentoo-dev@gentoo.org mailing list
>
--
Brett I. Holcomb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-18 1:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-14 20:01 [gentoo-dev] dosym Brett I. Holcomb
2004-08-14 20:20 ` Marius Mauch
2004-08-14 20:26 ` Brett I. Holcomb
2004-09-18 1:34 ` Brett I. Holcomb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox