You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bigtop.apache.org by Anand L Ranganathan <an...@gmail.com> on 2011/12/09 03:54:35 UTC

Could not make build ---- make[1]: dh_testdir: Command not found

Hi

I am making a building in Ubuntu 10.4 LTS and I downloaded the trunk. When
I try make a build

using the command

*sudo make apt* it throws following error.



dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: This is currently a non-fatal warning with -S,
but
dpkg-buildpackage: warning: will probably become fatal in the future.
 debian/rules clean
make[1]: Entering directory
`/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
dh_testdir
*make[1]: dh_testdir: Command not found*
make[1]: *** [clean] Error 127
make[1]: Leaving directory
`/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
dpkg-buildpackage: error: debian/rules clean gave error exit status 2
make: *** [/home/analog/bigtop_src/bigtop/trunk/build/hadoop//.sdeb] Error 2



Thanks
Anand

Re: Could not make build ---- make[1]: dh_testdir: Command not found

Posted by Anand L Ranganathan <an...@gmail.com>.
I figured it out. libtool package was missing

sudo apt-get install libtool


Anand

On Thu, Dec 8, 2011 at 8:03 PM, Anand L Ranganathan
<an...@gmail.com>wrote:

> Thanks Bruno. Your solution works fine.
>
>
> I am getting another error . I already installed  autoconf.
>
>
> create-c++-configure:
>      [exec] Can't exec "libtoolize": No such file or directory at
> /usr/bin/autoreconf line 189.
>      [exec] Use of uninitialized value in pattern match (m//) at
> /usr/bin/autoreconf line 189.
>      [exec] configure.ac:36: error: possibly undefined macro:
> AC_PROG_LIBTOOL
>      [exec]       If this token and others are legitimate, please use
> m4_pattern_allow.
>      [exec]       See the Autoconf documentation.
>      [exec] autoreconf: /usr/bin/autoconf failed with exit status: 1
>
> BUILD FAILED
> /home/analog/bigtop_src/bigtop/trunk/output/hadoop/hadoop-0.20.205.0/build.xml:1941:
> exec returned: 1
>
>
>
>
> On Thu, Dec 8, 2011 at 7:04 PM, Bruno Mahé <bm...@apache.org> wrote:
>
>> On 12/08/2011 06:54 PM, Anand L Ranganathan wrote:
>> > Hi
>> >
>> > I am making a building in Ubuntu 10.4 LTS and I downloaded the trunk.
>> When
>> > I try make a build
>> >
>> > using the command
>> >
>> > *sudo make apt* it throws following error.
>> >
>> >
>> >
>> > dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
>> > aborting.
>> > dpkg-buildpackage: warning: (Use -d flag to override.)
>> > dpkg-buildpackage: warning: This is currently a non-fatal warning with
>> -S,
>> > but
>> > dpkg-buildpackage: warning: will probably become fatal in the future.
>> >  debian/rules clean
>> > make[1]: Entering directory
>> >
>> `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
>> > dh_testdir
>> > *make[1]: dh_testdir: Command not found*
>> > make[1]: *** [clean] Error 127
>> > make[1]: Leaving directory
>> >
>> `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
>> > dpkg-buildpackage: error: debian/rules clean gave error exit status 2
>> > make: *** [/home/analog/bigtop_src/bigtop/trunk/build/hadoop//.sdeb]
>> Error 2
>> >
>> >
>> >
>> > Thanks
>> > Anand
>> >
>>
>> Hi Anand,
>>
>> Could you check you have the package "debhelper" installed?
>>
>> Thanks,
>> Bruno
>>
>>
>

Re: Could not make build ---- make[1]: dh_testdir: Command not found

Posted by Anand L Ranganathan <an...@gmail.com>.
Thanks Bruno. Your solution works fine.


I am getting another error . I already installed  autoconf.


create-c++-configure:
     [exec] Can't exec "libtoolize": No such file or directory at
/usr/bin/autoreconf line 189.
     [exec] Use of uninitialized value in pattern match (m//) at
/usr/bin/autoreconf line 189.
     [exec] configure.ac:36: error: possibly undefined macro:
AC_PROG_LIBTOOL
     [exec]       If this token and others are legitimate, please use
m4_pattern_allow.
     [exec]       See the Autoconf documentation.
     [exec] autoreconf: /usr/bin/autoconf failed with exit status: 1

BUILD FAILED
/home/analog/bigtop_src/bigtop/trunk/output/hadoop/hadoop-0.20.205.0/build.xml:1941:
exec returned: 1



On Thu, Dec 8, 2011 at 7:04 PM, Bruno Mahé <bm...@apache.org> wrote:

> On 12/08/2011 06:54 PM, Anand L Ranganathan wrote:
> > Hi
> >
> > I am making a building in Ubuntu 10.4 LTS and I downloaded the trunk.
> When
> > I try make a build
> >
> > using the command
> >
> > *sudo make apt* it throws following error.
> >
> >
> >
> > dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
> > aborting.
> > dpkg-buildpackage: warning: (Use -d flag to override.)
> > dpkg-buildpackage: warning: This is currently a non-fatal warning with
> -S,
> > but
> > dpkg-buildpackage: warning: will probably become fatal in the future.
> >  debian/rules clean
> > make[1]: Entering directory
> > `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
> > dh_testdir
> > *make[1]: dh_testdir: Command not found*
> > make[1]: *** [clean] Error 127
> > make[1]: Leaving directory
> > `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
> > dpkg-buildpackage: error: debian/rules clean gave error exit status 2
> > make: *** [/home/analog/bigtop_src/bigtop/trunk/build/hadoop//.sdeb]
> Error 2
> >
> >
> >
> > Thanks
> > Anand
> >
>
> Hi Anand,
>
> Could you check you have the package "debhelper" installed?
>
> Thanks,
> Bruno
>
>

Re: Could not make build ---- make[1]: dh_testdir: Command not found

Posted by Bruno Mahé <bm...@apache.org>.
On 12/08/2011 06:54 PM, Anand L Ranganathan wrote:
> Hi
> 
> I am making a building in Ubuntu 10.4 LTS and I downloaded the trunk. When
> I try make a build
> 
> using the command
> 
> *sudo make apt* it throws following error.
> 
> 
> 
> dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
> aborting.
> dpkg-buildpackage: warning: (Use -d flag to override.)
> dpkg-buildpackage: warning: This is currently a non-fatal warning with -S,
> but
> dpkg-buildpackage: warning: will probably become fatal in the future.
>  debian/rules clean
> make[1]: Entering directory
> `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
> dh_testdir
> *make[1]: dh_testdir: Command not found*
> make[1]: *** [clean] Error 127
> make[1]: Leaving directory
> `/home/analog/bigtop_src/bigtop/trunk/build/hadoop/deb/hadoop-0.20.205.0'
> dpkg-buildpackage: error: debian/rules clean gave error exit status 2
> make: *** [/home/analog/bigtop_src/bigtop/trunk/build/hadoop//.sdeb] Error 2
> 
> 
> 
> Thanks
> Anand
> 

Hi Anand,

Could you check you have the package "debhelper" installed?

Thanks,
Bruno