./autogen not working on Ubuntu to install watchman for react-native
I am trying to install watchman in Ubuntu 17.10, to run npm run android
in command line to run React-Native in terminal.
I have tried sudo apt-get install -y autoconf automake build-essential python-dev
,
then when I run ./autogen.sh
, it throws this error:
./autogen.sh
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
software-installation 17.10 compiling android-emulator
add a comment |
I am trying to install watchman in Ubuntu 17.10, to run npm run android
in command line to run React-Native in terminal.
I have tried sudo apt-get install -y autoconf automake build-essential python-dev
,
then when I run ./autogen.sh
, it throws this error:
./autogen.sh
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
software-installation 17.10 compiling android-emulator
4
silly question, but have you installedpkg-config
, as insudo apt install pkg-config
?
– Zanna
Apr 6 '18 at 19:28
add a comment |
I am trying to install watchman in Ubuntu 17.10, to run npm run android
in command line to run React-Native in terminal.
I have tried sudo apt-get install -y autoconf automake build-essential python-dev
,
then when I run ./autogen.sh
, it throws this error:
./autogen.sh
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
software-installation 17.10 compiling android-emulator
I am trying to install watchman in Ubuntu 17.10, to run npm run android
in command line to run React-Native in terminal.
I have tried sudo apt-get install -y autoconf automake build-essential python-dev
,
then when I run ./autogen.sh
, it throws this error:
./autogen.sh
pkg-config appears to be missing (not available to autoconf tools)
please install the pkg-config package for your system.
software-installation 17.10 compiling android-emulator
software-installation 17.10 compiling android-emulator
edited Apr 6 '18 at 19:27
Zanna
50.4k13133241
50.4k13133241
asked Apr 6 '18 at 19:25
ganeshdeshmukhganeshdeshmukh
484513
484513
4
silly question, but have you installedpkg-config
, as insudo apt install pkg-config
?
– Zanna
Apr 6 '18 at 19:28
add a comment |
4
silly question, but have you installedpkg-config
, as insudo apt install pkg-config
?
– Zanna
Apr 6 '18 at 19:28
4
4
silly question, but have you installed
pkg-config
, as in sudo apt install pkg-config
?– Zanna
Apr 6 '18 at 19:28
silly question, but have you installed
pkg-config
, as in sudo apt install pkg-config
?– Zanna
Apr 6 '18 at 19:28
add a comment |
1 Answer
1
active
oldest
votes
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
# install watchman
sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev
cd $HOME
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0 # the latest stable release
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
# linux specific watchman configs
watchman --version
# increasing the watcher limits (need to do every time machine starts up)
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances &&
# restart server
watchman shutdown-server
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1022649%2fautogen-not-working-on-ubuntu-to-install-watchman-for-react-native%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
# install watchman
sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev
cd $HOME
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0 # the latest stable release
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
# linux specific watchman configs
watchman --version
# increasing the watcher limits (need to do every time machine starts up)
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances &&
# restart server
watchman shutdown-server
add a comment |
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
# install watchman
sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev
cd $HOME
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0 # the latest stable release
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
# linux specific watchman configs
watchman --version
# increasing the watcher limits (need to do every time machine starts up)
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances &&
# restart server
watchman shutdown-server
add a comment |
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
# install watchman
sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev
cd $HOME
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0 # the latest stable release
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
# linux specific watchman configs
watchman --version
# increasing the watcher limits (need to do every time machine starts up)
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances &&
# restart server
watchman shutdown-server
Had similar problem and turns out that I was missing some binaries and that needed to run the watchman scripts as root. Here is a shorts script that I used to get everything working:
# install watchman
sudo apt install -y libssl-dev autoconf automake libtool build-essential python-dev
cd $HOME
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.9.0 # the latest stable release
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
# linux specific watchman configs
watchman --version
# increasing the watcher limits (need to do every time machine starts up)
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events &&
echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances &&
# restart server
watchman shutdown-server
answered Jan 10 at 5:34
lampShadesDrifterlampShadesDrifter
1064
1064
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1022649%2fautogen-not-working-on-ubuntu-to-install-watchman-for-react-native%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
silly question, but have you installed
pkg-config
, as insudo apt install pkg-config
?– Zanna
Apr 6 '18 at 19:28