please look inside /usr/portage/skel.ebuild and see how its done there. //Spider begin quote On Wed, 15 May 2002 00:17:25 +0200 hanez wrote: > hello all, > > i have some problems with an ebuild i made: > > ###START SNIP > > >>> Install myprogramm-0.9.0-r1 into > /var/tmp/portage/myprogramm-0.9.0-r1/image/ category media-sound > Making install in src > make[1]: Entering directory > `/var/tmp/portage/myprogramm-0.9.0-r1/work/myprogramm-0.9.0-r1/src' > make[2]: Entering directory > `/var/tmp/portage/myprogramm-0.9.0-r1/work/myprogramm-0.9.0-r1/src' > /bin/sh ../mkinstalldirs /usr/bin > /bin/install -c myprogramm /usr/bin/myprogramm > ACCESS DENIED open_wr: /usr/bin/myprogramm > /bin/install: cannot create regular file `/usr/bin/myprogramm': > Permission denied > make[2]: *** [install-binPROGRAMS] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/myprogramm-0.9.0-r1/work/myprogramm-0.9.0-r1/src' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory > `/var/tmp/portage/myprogramm-0.9.0-r1/work/myprogramm-0.9.0-r1/src' > make: *** [install-recursive] Error 1 > strip: > >>> Completed installing into > >/var/tmp/portage/myprogramm-0.9.0-r1/image/ > > --------------------------- ACCESS VIOLATION SUMMARY > --------------------------- > LOG FILE = "/tmp/sandbox-myprogramm-0.9.0-r1-12505.log" > > open_wr: /usr/bin/myprogramm > --------------------------------------------------------------------- > -----------!!! emerge aborting on > /usr/portage/media-sound/myprogramm/myprogramm-0.9.0-r1.ebuild . > > ###STOP SNIP > > when i compile "myprogramm" by hand there are no problems. the emerge > process stops when installing the binary to /usr/bin/myprogramm. the > LOG FILE on ly have this content: > > ###START SNIP > > unlink: /usr/bin/myprogramm > > ###STOP SNIP > > help would be wonderfull... i'm so confused after sitting here for > hours §%&$. > > :-( > > regards > > > hanez > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end