"Richard Fish" <[EMAIL PROTECTED]> writes:

>> In my meager knowledge Makefile.in is used to create a Makefile but
>> which one guides the overall build?
>>
>> ./pcp/Makefile
>> ./source/tdb/Makefile
>> ./source/iniparser/test/Makefile
>> ./source/iniparser/Makefile
>> ./source/Makefile.in
>> ./examples/VFS/Makefile.in
>
> ...but it seems you ran this between unpack and compile steps?
> Because you have no source/Makefile.
>

No, I ran find between `compile' and `install', and that must be the
problem.  ./source/Makefile disappears when I run `ebuild install'. Checking 
now:

I've stepped thru these:

  digest
  unpack
  compile

And now there is a Makefile in source
find . -iname '*makefile*'
./pcp/Makefile
./source/tdb/Makefile
./source/Makefile
./source/iniparser/test/Makefile
./source/iniparser/Makefile
./source/Makefile.in
./examples/VFS/Makefile.in

[...]

But once I've run `ebuild install' (and it fails as posted) it
disappears: 
find . -iname '*makefile*'
./pcp/Makefile
./source/tdb/Makefile
./source/iniparser/test/Makefile
./source/iniparser/Makefile
./source/Makefile.in
./examples/VFS/Makefile.in
./examples/pdb/Makefile

[...]

I used the samba-3.0.23a.ebuild now on portage as base.  The only
changes I've made were to illimintate torture

These two lines at line 127

  #     einfo "make rpctorture"
  #     emake rpctorture || ewarn "rpctorture didn't build"

And the change you suggested at line 148 

<       make DESTDIR=${D} install-everything || die
---
>       make DESTDIR=${D} install || die

I've since restored intall-everything

 I've diffed my ebuild against the one now on 
  portage samba-3.0.23a.ebuild for your convenience and inlined the
  resulting patch derived with diff -u (unified style output)

But first, the reason for commenting out those two line about torture
was because the compile phase broke on compiling torture and I
couldn't determine why.  I was told torture was an antiquated and
little used tool so decided to just try to leave it out.

Also the full edited ebuild is here:
  http://www.jtan.com/~reader/samba-3.0.23c.ebuild
but a diff is posted below.

diff -u samba-3.0.23a.ebuild samba-3.0.23c.ebuild
========================================================
--- samba-3.0.23a.ebuild        2006-09-07 09:49:39.000000000 -0500
+++ samba-3.0.23c.ebuild        2006-09-07 10:43:38.000000000 -0500
@@ -123,8 +123,8 @@
        emake proto || die "SAMBA make proto error"
        emake everything || die "SAMBA make everything error"
 
-       einfo "make rpctorture"
-       emake rpctorture || ewarn "rpctorture didn't build"
+#      einfo "make rpctorture"
+#      emake rpctorture || ewarn "rpctorture didn't build"
 
        if use python ; then
                python python/setup.py build

-- 
[email protected] mailing list

Reply via email to