Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

bootstrap file content :

!/usr/bin/env bash 
# The contents of this file are subject to the MonetDB Public License
# Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at 
# # Software distributed under the License is distributed on an     "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations # under the License.
# # The Original Code is the MonetDB Database System.
# # The Initial Developer of the Original Code is CWI.
# Portions created by CWI are Copyright (C) 1997-July 2008 CWI. 
# Copyright August 2008-2011 MonetDB B.V. # All Rights Reserved. 
# NOTE: if you happen to have bootstrap failures due to missing M4
# macros, export M4DIRS as a space separated list of directories where 
# aclocal should look in your environment.


# cope with systems where libtool is not GNU libtool, e.g. Darwin
type -P glibtoolize > /dev/null \
    && libtoolize=glibtoolize \
    || libtoolize=libtoolize

if [[ -n ${M4DIRS} ]] ; then
    for d in ${M4DIRS} ; do
        case ${d} in
            "-I")  d=          ;;
            "-I"*) d=${d#-I}   ;;
        [[ -n ${d} ]] && _m4_extra_dirs="${_m4_extra_dirs} -I ${d}"

python buildtools/autogen/ &&
# replace the line starting with AC_CONFIG_FILES in with
# the command to substitute the configure results into the .in files,
# making sure executable files remain executable.
while read f; do [ -x $ ] || echo $f; done <
echo '])'
while read f; do [ -x $ ] && echo "AC_CONFIG_FILES([$f], [chmod +x $f])"; done <
sed '1,/^AC_CONFIG_FILES/d'
) > &&
$libtoolize -c -f  &&
aclocal -I . -I buildtools/conf ${_m4_extra_dirs} &&
autoheader  &&
automake --add-missing --copy --foreign  &&

when i run command ./bootstrap , i get this error

python : can't open file 'buildtools/': [error 2] No such file or directory

what is the requirement to execute this command successfully.

share|improve this question
Where do this scripts located? It is said No such file or directory, can you try to execute this command locate, and put here output – c0rp Feb 26 '14 at 10:06
thanks i corrected that one but now i m getting problem for libtool – user3320227 Feb 28 '14 at 8:58
libtool command not found ...and i tried to solve this pbm with – user3320227 Feb 28 '14 at 9:00
sudo apt-get install libtool having error E: Package 'libtool' has no installation candidate. – user3320227 Feb 28 '14 at 9:04
Try run sudo apt-get update before install – c0rp Feb 28 '14 at 9:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.