Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread krzaq
On 5/7/05, Ciaran McCreesh <[EMAIL PROTECTED]> wrote:
> On Sat, 7 May 2005 02:25:40 +0200 krzaq <[EMAIL PROTECTED]> wrote:
> | I commented the line:
> |make DESTDIR=${D} install || die
> | and uncommented the:
> |einstall || die
> |
> | and it works flawlessly. The ebuild HOWTO tells to use the first one
> | in favor of the second one. Why doesn't einstall fail with acces
> | violation?
> 
> einstall does some extra magic. You can read it in /usr/sbin/ebuild.sh
> if you want the details. Anyway, if it actually works (which I wasn't
> expecting from your description, but oh well), use einstall, with a
well my Enlgish suxx, but hey , what you're gonna do ...
> comment saying that regular make won't work.
I think it must be the libdir setting in EXTRA_EINSTALL.
The important bottom line -- it works! 
Thanks for the help!

Case closed. 
It's 2.50 AM, time to powerdown and go get some sleep.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread Ciaran McCreesh
On Sat, 7 May 2005 02:25:40 +0200 krzaq <[EMAIL PROTECTED]> wrote:
| I commented the line:
|make DESTDIR=${D} install || die
| and uncommented the:
|einstall || die
| 
| and it works flawlessly. The ebuild HOWTO tells to use the first one
| in favor of the second one. Why doesn't einstall fail with acces
| violation?

einstall does some extra magic. You can read it in /usr/sbin/ebuild.sh
if you want the details. Anyway, if it actually works (which I wasn't
expecting from your description, but oh well), use einstall, with a
comment saying that regular make won't work.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpSsiFr234ed.pgp
Description: PGP signature


Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread krzaq
On 5/7/05, Ciaran McCreesh <[EMAIL PROTECTED]> wrote:
> On Sat, 7 May 2005 01:23:04 +0200 krzaq <[EMAIL PROTECTED]> wrote:
> | If "src_install ( )" is simply
> | make DESTDIR=${D} install || die
> | then i have to emerge it with -sandbox. Otherwise it dies on access
> | voliation when trying
> | to install the python part. This is understandable, since it tires to
> | write to /usr/.. directly.
> |
> | Is there a nice way to get the python part installed thru
> | distutils_src_install ( ) ?
> 
> Are there separate make install targets for the c++ parts and the python
> parts? If not, you're probably screwed.

There are separate targets so it's doable the hard way.
The thing is ... well ... it's ugly.

I commented the line:
   make DESTDIR=${D} install || die
and uncommented the:
   einstall || die

and it works flawlessly. The ebuild HOWTO tells to use the first one in favor of
the second one. Why doesn't einstall fail with acces violation?

Im not very comfortable with all gentoo magic yet 'casue this is my
second ebuild.

-- 
Regards
Karol Krzak

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic ebuild question

2005-05-06 Thread Ciaran McCreesh
On Sat, 7 May 2005 01:23:04 +0200 krzaq <[EMAIL PROTECTED]> wrote:
| If "src_install ( )" is simply  
| make DESTDIR=${D} install || die
| then i have to emerge it with -sandbox. Otherwise it dies on access
| voliation when trying
| to install the python part. This is understandable, since it tires to
| write to /usr/.. directly.
| 
| Is there a nice way to get the python part installed thru
| distutils_src_install ( ) ?

Are there separate make install targets for the c++ parts and the python
parts? If not, you're probably screwed.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpgepCUcRuB0.pgp
Description: PGP signature