setup janus in ubuntu 18.04 lts issue in installing libnice - ubuntu-18.04

i am following this tutorial to setup janus on my machine
on step 2
install_libnice.sh
#!/bin/bash
# install_libnice.sh
git clone https://gitlab.freedesktop.org/libnice/libnice.git
cd libnice
./autogen.sh
./configure --prefix=/usr
make && sudo make install
and executing this command
bash install_libnice.sh
gives
Cloning into 'libnice'...
warning: redirecting to https://gitlab.freedesktop.org/libnice/libnice.git/
remote: Enumerating objects: 15336, done.
remote: Counting objects: 100% (15336/15336), done.
remote: Compressing objects: 100% (4011/4011), done.
remote: Total 15336 (delta 11795), reused 14714 (delta 11278), pack-reused 0
Receiving objects: 100% (15336/15336), 2.77 MiB | 429.00 KiB/s, done.
Resolving deltas: 100% (11795/11795), done.
install_libnice.sh: line 6: ./autogen.sh: No such file or directory
install_libnice.sh: line 7: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
how can i resolve this issue in ubuntu ?

Check: https://gitlab.freedesktop.org/libnice/libnice
libnice use now meson builder

Related

ROS apriltags3 isntalling with warning - preventing package identification

I am attempting to get ROS to run with the april tags library for robotics research. I am fairly new to ros and dont really know where to start with this troubleshooting.
OS: Ubuntu 18.04.4
ROS distro: melodic
I have followed the quick start tutorial from the april tag's github page
everything seems to happen without a hiccup until the catkin build command. The packages are found and all the dependencies are successfully installed. Then the packages claim to be successfully installed after the catkin build command is complete.
robertslab#robertslab-HP-Pavilion-Gaming-Laptop-15-cx0xxx:~/april_3$ catkin build
------------------------------------------------------------
Profile: default
Extending: [env] /opt/ros/melodic
Workspace: /home/robertslab/april_3
------------------------------------------------------------
Build Space: [exists] /home/robertslab/april_3/build
Devel Space: [exists] /home/robertslab/april_3/devel
Install Space: [unused] /home/robertslab/april_3/install
Log Space: [missing] /home/robertslab/april_3/logs
Source Space: [exists] /home/robertslab/april_3/src
DESTDIR: [unused] None
------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
------------------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
------------------------------------------------------------
[build] Found '2' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 1.5 seconds ]
Starting >>> apriltag
___________________________________________________________
Warnings << apriltag:install /home/robertslab/april_3/logs/apriltag/build.install.000.log
cp: cannot create regular file '/home/robertslab/.local/lib/python3.6/site-packages': No such file or directory
cd /home/robertslab/april_3/build/apriltag; catkin build --get-env apriltag | catkin env -si /usr/bin/make install; cd -
...........................................................
Finished <<< apriltag [ 7.0 seconds ]
Starting >>> apriltag_ros
Finished <<< apriltag_ros [ 15.2 seconds ]
[build] Summary: All 3 packages succeeded!
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: None.
[build] Runtime: 23.7 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Can someone please explain this warning.
Additionally, when I start Ros core and to a package search there is no April tag package installed and I am not sure why or how to install the package to Ros.
I have resourced the setup.bash file like the output says and april tags still does not show up in the rospack list output.
What am I missing?
Well this warning is quite self explanatory in which it is not able to copy some file to directory. I think it is looking for Python source directory which is not found.
apriltag_ros is dependent on april_tag these are two different packages.
As this package is officially on ROS Melodic so you can install it by:
sudo apt install ros-melodic-apriltag-ros
This will take care of all the dependencies needed and builds the project.
You can check the installtion directory by:
roscd apriltag_ros
pwd

Create-react-app deployment failure on Dokku

I'm trying to deploy a fresh React app made via Create-react-app to my Dokku on DigitalOcean thank to this heroku buildpacks. Following their instructions it ends up failing ...
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git
=====> Detected Framework: Static HTML
remote: % Total % Received % Xferd Average Speed Time Time Time Current
remote: Dload Upload Total Spent Left Speed
remote: 100 838k 100 838k 0 0 514k 0 0:00:01 0:00:01 --:--:-- 514k
-----> Installed directory to /app/bin
Using release configuration from last framework (Static HTML).
remote: cat: /tmp/build/last_pack_release.out: input file is output file
--- {}
-----> Discovering process types
Procfile declares types ->
-----> Releasing justpushit-app (dokku/justpushit-app:latest)...
-----> Deploying justpushit-app (dokku/justpushit-app:latest)...
-----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
-----> App Procfile file found (/home/dokku/justpushit-app/DOKKU_PROCFILE)
-----> DOKKU_SCALE file found (/home/dokku/justpushit-app/DOKKU_SCALE)
=====> web=1
-----> Attempting pre-flight checks
For more efficient zero downtime deployments, create a file CHECKS.
See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
CHECKS file not found in container: Running simple container check...
-----> Waiting for 10 seconds ...
remote: App container failed to start!!
=====> justpushit-app web container output:
Injecting runtime env into /app/build/static/js/main.060925d8.js (from .profile.d/inject_react_app_env.sh)
setuidgid: usage: setuidgid account child
=====> end justpushit-app web container output
To pantouflesdokku:justpushit-app
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku#pantouflesdokku:justpushit-app'
Everything seems to work fine but the app is never launched. What am I missing here ?
Because I had the same problem I opened an issue for this specific build pack: https://github.com/mars/create-react-app-buildpack/issues/54 And luckily it's maintainer was kind enough to provide me with the correct Procfile content.
To fix this problem you should have a Procfile with the following line:
web: bin/boot
Instead of web: npm start this won't spawn a complete development server. So it should be a lot easier on your server's memory/cpu usage.
The solution was fairly simple. The whole build works but the application must be initialized somehow.
I added a Procfile and wrote the following line in it ...
web: npm start
Hope it helps.

Heroku Build fail node_modules/.bin/sshpk-conv (File name too long)

Could anyone help me? I have activated continous integration on heroku with github, since yesterday when I make "git push heroku master", gives me the below error:
Counting objects: 721, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (593/593), done.
Writing objects: 100% (721/721), 1.54 MiB | 68.00 KiB/s, done.
Total 721 (delta 154), reused 499 (delta 78)
remote: error: unable to create symlink node_modules/.bin/sshpk-conv (File name too long)
remote:
remote: ! Heroku Git error, please try again shortly.
remote: ! See http://status.heroku.com for current Heroku platform status
remote: ! If the problem persists, please open a ticket
remote: ! on https://help.heroku.com/tickets/new
remote: ! and provide the Request ID X
remote:
To https://git.heroku.com/weatheripca.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/weatheripca.git'
I already did the command: git config core.longpaths true, no success
Thank you all
I already get this problem fixed. Activate longpath and made a force push.
git config --system core.longpaths true
Thank you

Building mongodb C driver on MacOS

I tried this:
git clone git://github.com/mongodb/mongo-c-driver.git
cd mongo-c-driver
./autogen.sh --prefix=/usr --libdir=/usr/lib64
Output:
Error: libtoolize was not found on your system. Cannot continue.
On Darwin, this is named glibtoolize
Submodule 'src/libbson' (git://github.com/mongodb/libbson.git) registered for path 'src/libbson'
Cloning into 'src/libbson'...
remote: Reusing existing pack: 5211, done.
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 5277 (delta 35), reused 2 (delta 0)
Receiving objects: 100% (5277/5277), 5.18 MiB | 2.22 MiB/s, done.
Resolving deltas: 100% (3463/3463), done.
Checking connectivity... done.
Submodule path 'src/libbson': checked out '5fafb63060b08c477fa8e243e07de40869de691d'
Error: libtoolize was not found on your system. Cannot continue.
On Darwin, this is named glibtoolize
Error: autoreconf not found, please install it.
Error: autoreconf not found, please install it.
How can I fix this? (Sorry...not normally a C guy, so use small words.)
You need to install libtool. The easiest is to do it with Homebrew. If you don't already have Homebrew installed, you can install it with a simple command:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
You can find more information on the site. When Homebrew is installed, you can install libtool easily:
brew install libtool
You can also use Homebrew package manager for Mac
brew install mongo-c

GAE push-to-deploy returning internal server error

I've set up push-to-deploy for my application and the auth seems to work fine, but now I get this when I push:
Counting objects: 463, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (393/393), done.
Writing objects: 100% (397/397), 1.70 MiB | 105 KiB/s, done.
Total 397 (delta 295), reused 0 (delta 0)
remote: Scanning pack: 100% (397/397), done.
remote: Storing objects: 100% (397/397), done.
remote: Processing commits: 100% (58/58), done.
remote: Starting execution...
remote: Created deployment: sjf-nw.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1383853857059
remote: Created deployment: sjf-nw.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1383853857059
remote: Created deployment: sjf-nw.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1383853857059
remote: Error: internal server error
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: recursion detected in die handler
Everything up-to-date
Does anyone know if this is an error on GAE's side or something I could fix? I haven't been able to find anything about similar error messages.

Resources