strukturag / spreed-webrtc

WebRTC audio/video call and conferencing server.
GNU Affero General Public License v3.0
1.1k stars 259 forks source link

Building spreed-webrtc on FreeBSD not working\possible #244

Closed Pammetje closed 8 years ago

Pammetje commented 8 years ago

root@vps001:/usr/local # unzip master.zip Archive: master.zip d spreed-webrtc-master extracting: spreed-webrtc-master/.gitignore extracting: spreed-webrtc-master/.gitmodules extracting: spreed-webrtc-master/.hound.yml extracting: spreed-webrtc-master/.javascript_ignore extracting: spreed-webrtc-master/.jshint extracting: spreed-webrtc-master/.travis.yml extracting: spreed-webrtc-master/AUTHORS extracting: spreed-webrtc-master/COPYING extracting: spreed-webrtc-master/ChangeLog extracting: spreed-webrtc-master/Dockerfile extracting: spreed-webrtc-master/Godeps extracting: spreed-webrtc-master/LICENSE extracting: spreed-webrtc-master/Makefile.am extracting: spreed-webrtc-master/NEWS extracting: spreed-webrtc-master/README extracting: spreed-webrtc-master/README.md extracting: spreed-webrtc-master/autogen.sh d spreed-webrtc-master/build extracting: spreed-webrtc-master/build/build.js extracting: spreed-webrtc-master/build/r.js extracting: spreed-webrtc-master/configure.ac d spreed-webrtc-master/debian extracting: spreed-webrtc-master/debian/changelog d spreed-webrtc-master/doc extracting: spreed-webrtc-master/doc/APACHE.txt extracting: spreed-webrtc-master/doc/CHANNELING-API.txt extracting: spreed-webrtc-master/doc/CROSSCOMPILE.txt extracting: spreed-webrtc-master/doc/NGINX.txt extracting: spreed-webrtc-master/doc/REST-API.txt d spreed-webrtc-master/doc/file-sharing-issue extracting: spreed-webrtc-master/doc/file-sharing-issue/splitToCrc.py extracting: spreed-webrtc-master/doc/plugin-example.js extracting: spreed-webrtc-master/doc/plugin-test-authorize.js extracting: spreed-webrtc-master/doc/testfile.txt d spreed-webrtc-master/html extracting: spreed-webrtc-master/html/crawler.html extracting: spreed-webrtc-master/html/extra.html extracting: spreed-webrtc-master/html/head.html extracting: spreed-webrtc-master/html/main.html d spreed-webrtc-master/html/sandboxes extracting: spreed-webrtc-master/html/sandboxes/odfcanvas_sandbox.html extracting: spreed-webrtc-master/html/sandboxes/pdfcanvas_sandbox.html extracting: spreed-webrtc-master/html/sandboxes/youtubevideo_sandbox.html d spreed-webrtc-master/m4 extracting: spreed-webrtc-master/m4/ax_compare_version.m4 extracting: spreed-webrtc-master/package.json extracting: spreed-webrtc-master/server.conf.in extracting: spreed-webrtc-master/spreed-webrtc-server d spreed-webrtc-master/src d spreed-webrtc-master/src/app d spreed-webrtc-master/src/app/spreed-webrtc-server extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/api.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/buffercache.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/channelling.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/channelling_api.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/channelling_api_test.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/client.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/common_test.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/config.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/connection.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/contact.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/context.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/hub.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/images.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/incoming_codec.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/main.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/random.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/room_manager.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/room_manager_test.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/rooms.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/roomworker.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/roomworker_test.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/session.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/session_manager.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/sessions.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/stats.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/stats_manager.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/tickets.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/tls.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/tokenprovider.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/tokens.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/user.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/users.go extracting: spreed-webrtc-master/src/app/spreed-webrtc-server/ws.go d spreed-webrtc-master/src/artwork extracting: spreed-webrtc-master/src/artwork/spreedWaves.svg d spreed-webrtc-master/src/audio extracting: spreed-webrtc-master/src/audio/_build.py extracting: spreed-webrtc-master/src/audio/_encode.sh d spreed-webrtc-master/src/audio/files extracting: spreed-webrtc-master/src/audio/files/connect1.wav extracting: spreed-webrtc-master/src/audio/files/end1.wav extracting: spreed-webrtc-master/src/audio/files/entry1.wav extracting: spreed-webrtc-master/src/audio/files/leaving1.wav extracting: spreed-webrtc-master/src/audio/files/message1.wav extracting: spreed-webrtc-master/src/audio/files/question1.wav extracting: spreed-webrtc-master/src/audio/files/ringtone1.wav extracting: spreed-webrtc-master/src/audio/files/whistle1.wav extracting: spreed-webrtc-master/src/audio/sprite1.mp3 extracting: spreed-webrtc-master/src/audio/sprite1.ogg extracting: spreed-webrtc-master/src/audio/sprite1.wav d spreed-webrtc-master/src/hooks extracting: spreed-webrtc-master/src/hooks/pre-commit.hook d spreed-webrtc-master/src/i18n extracting: spreed-webrtc-master/src/i18n/Makefile.am extracting: spreed-webrtc-master/src/i18n/README.txt extracting: spreed-webrtc-master/src/i18n/babel.cfg d spreed-webrtc-master/src/i18n/helpers extracting: spreed-webrtc-master/src/i18n/helpers/checkHTML.py extracting: spreed-webrtc-master/src/i18n/helpers/languages.py extracting: spreed-webrtc-master/src/i18n/helpers/po2json extracting: spreed-webrtc-master/src/i18n/messages-de.po extracting: spreed-webrtc-master/src/i18n/messages-ja.po extracting: spreed-webrtc-master/src/i18n/messages-ko.po extracting: spreed-webrtc-master/src/i18n/messages-zh-cn.po extracting: spreed-webrtc-master/src/i18n/messages-zh-tw.po extracting: spreed-webrtc-master/src/i18n/messages.pot d spreed-webrtc-master/src/styles extracting: spreed-webrtc-master/src/styles/Makefile.am extracting: spreed-webrtc-master/src/styles/_shame.scss extracting: spreed-webrtc-master/src/styles/bootstrap.scss extracting: spreed-webrtc-master/src/styles/color-pallete.html d spreed-webrtc-master/src/styles/components extracting: spreed-webrtc-master/src/styles/components/_audiolevel.scss extracting: spreed-webrtc-master/src/styles/components/_audiovideo.scss extracting: spreed-webrtc-master/src/styles/components/_bar.scss extracting: spreed-webrtc-master/src/styles/components/_buddylist.scss extracting: spreed-webrtc-master/src/styles/components/_buddypicturecapture.scss extracting: spreed-webrtc-master/src/styles/components/_buddypictureupload.scss extracting: spreed-webrtc-master/src/styles/components/_chat.scss extracting: spreed-webrtc-master/src/styles/components/_contactsmanager.scss extracting: spreed-webrtc-master/src/styles/components/_fileinfo.scss extracting: spreed-webrtc-master/src/styles/components/_presentation.scss extracting: spreed-webrtc-master/src/styles/components/_rightslide.scss extracting: spreed-webrtc-master/src/styles/components/_roombar.scss extracting: spreed-webrtc-master/src/styles/components/_screenshare.scss extracting: spreed-webrtc-master/src/styles/components/_settings.scss extracting: spreed-webrtc-master/src/styles/components/_social.scss extracting: spreed-webrtc-master/src/styles/components/_usability.scss extracting: spreed-webrtc-master/src/styles/components/_youtubevideo.scss extracting: spreed-webrtc-master/src/styles/config.rb extracting: spreed-webrtc-master/src/styles/csp.scss extracting: spreed-webrtc-master/src/styles/font-awesome.scss d spreed-webrtc-master/src/styles/global extracting: spreed-webrtc-master/src/styles/global/_animations.scss extracting: spreed-webrtc-master/src/styles/global/_base.scss extracting: spreed-webrtc-master/src/styles/global/_loader.scss extracting: spreed-webrtc-master/src/styles/global/_mixins.scss extracting: spreed-webrtc-master/src/styles/global/_nicescroll.scss extracting: spreed-webrtc-master/src/styles/global/_overlaybar.scss extracting: spreed-webrtc-master/src/styles/global/_pages.scss extracting: spreed-webrtc-master/src/styles/global/_variables.scss extracting: spreed-webrtc-master/src/styles/global/_views.scss extracting: spreed-webrtc-master/src/styles/global/_withs.scss d spreed-webrtc-master/src/styles/libs extracting: spreed-webrtc-master/src/styles/libs/_dialogs.scss extracting: spreed-webrtc-master/src/styles/libs/_hidpi.scss extracting: spreed-webrtc-master/src/styles/libs/_libs.scss d spreed-webrtc-master/src/styles/libs/angular extracting: spreed-webrtc-master/src/styles/libs/angular/angular-csp.scss extracting: spreed-webrtc-master/src/styles/libs/angular/angular.scss d spreed-webrtc-master/src/styles/libs/bootstrap extracting: spreed-webrtc-master/src/styles/libs/bootstrap/CHANGELOG.md extracting: spreed-webrtc-master/src/styles/libs/bootstrap/LICENSE extracting: spreed-webrtc-master/src/styles/libs/bootstrap/README.md extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap.scss d spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_alerts.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_badges.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_breadcrumbs.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_button-groups.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_buttons.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_carousel.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_close.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_code.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_component-animations.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_dropdowns.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_forms.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_glyphicons.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_grid.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_input-groups.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_jumbotron.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_labels.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_list-group.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_media.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_mixins.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_modals.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_navbar.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_navs.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_normalize.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_pager.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_pagination.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_panels.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_popovers.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_print.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_progress-bars.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_responsive-embed.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_responsive-utilities.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_scaffolding.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_tables.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_theme.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_thumbnails.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_tooltip.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_type.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_utilities.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_variables.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/_wells.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/bootstrap.scss d spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_alerts.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_background-variant.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_border-radius.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_buttons.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_center-block.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_clearfix.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_forms.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_gradients.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_grid-framework.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_grid.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_hide-text.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_image.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_labels.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_list-group.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_nav-divider.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_nav-vertical-align.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_opacity.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_pagination.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_panels.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_progress-bar.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_reset-filter.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_resize.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_responsive-visibility.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_size.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_tab-focus.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_table-row.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_text-emphasis.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_text-overflow.scss extracting: spreed-webrtc-master/src/styles/libs/bootstrap/bootstrap/mixins/_vendor-prefixes.scss d spreed-webrtc-master/src/styles/libs/font-awesome extracting: spreed-webrtc-master/src/styles/libs/font-awesome/README.md d spreed-webrtc-master/src/styles/libs/font-awesome/fonts extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/FontAwesome.otf extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/LISCENCE extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/fontawesome-webfont.eot extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/fontawesome-webfont.svg extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/fontawesome-webfont.ttf extracting: spreed-webrtc-master/src/styles/libs/font-awesome/fonts/fontawesome-webfont.woff d spreed-webrtc-master/src/styles/libs/font-awesome/scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/LISCENCE extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_bordered-pulled.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_core.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_fixed-width.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_icons.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_larger.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_list.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_mixins.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_path.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_rotated-flipped.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_spinning.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_stacked.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/_variables.scss extracting: spreed-webrtc-master/src/styles/libs/font-awesome/scss/font-awesome.scss d spreed-webrtc-master/src/styles/libs/toastr extracting: spreed-webrtc-master/src/styles/libs/toastr/toastr.scss extracting: spreed-webrtc-master/src/styles/main.scss extracting: spreed-webrtc-master/src/styles/scss.yml d spreed-webrtc-master/static d spreed-webrtc-master/static/css extracting: spreed-webrtc-master/static/css/bootstrap.min.css extracting: spreed-webrtc-master/static/css/csp.min.css extracting: spreed-webrtc-master/static/css/font-awesome.min.css extracting: spreed-webrtc-master/static/css/main.min.css extracting: spreed-webrtc-master/static/favicon.ico d spreed-webrtc-master/static/img extracting: spreed-webrtc-master/static/img/bg-tiles.jpg extracting: spreed-webrtc-master/static/img/bg-tiles_x2.jpg extracting: spreed-webrtc-master/static/img/logo-16x16.png extracting: spreed-webrtc-master/static/img/logo-32x32.png extracting: spreed-webrtc-master/static/img/logo-48x48.png extracting: spreed-webrtc-master/static/img/logo-512x512.png extracting: spreed-webrtc-master/static/img/logo-overlay.png extracting: spreed-webrtc-master/static/img/logo-small.png extracting: spreed-webrtc-master/static/img/logo-square.svg extracting: spreed-webrtc-master/static/img/logo.svg d spreed-webrtc-master/static/js extracting: spreed-webrtc-master/static/js/app.js extracting: spreed-webrtc-master/static/js/base.js d spreed-webrtc-master/static/js/controllers extracting: spreed-webrtc-master/static/js/controllers/appcontroller.js extracting: spreed-webrtc-master/static/js/controllers/chatroomcontroller.js extracting: spreed-webrtc-master/static/js/controllers/contactsmanagercontroller.js extracting: spreed-webrtc-master/static/js/controllers/contactsmanagereditcontroller.js extracting: spreed-webrtc-master/static/js/controllers/controllers.js extracting: spreed-webrtc-master/static/js/controllers/statusmessagecontroller.js extracting: spreed-webrtc-master/static/js/controllers/uicontroller.js extracting: spreed-webrtc-master/static/js/controllers/usersettingscontroller.js d spreed-webrtc-master/static/js/directives extracting: spreed-webrtc-master/static/js/directives/audiolevel.js extracting: spreed-webrtc-master/static/js/directives/audiovideo.js extracting: spreed-webrtc-master/static/js/directives/bfi.js extracting: spreed-webrtc-master/static/js/directives/buddylist.js extracting: spreed-webrtc-master/static/js/directives/buddypicturecapture.js extracting: spreed-webrtc-master/static/js/directives/buddypictureupload.js extracting: spreed-webrtc-master/static/js/directives/chat.js extracting: spreed-webrtc-master/static/js/directives/contactrequest.js extracting: spreed-webrtc-master/static/js/directives/defaultdialog.js extracting: spreed-webrtc-master/static/js/directives/directives.js extracting: spreed-webrtc-master/static/js/directives/fileinfo.js extracting: spreed-webrtc-master/static/js/directives/menu.js extracting: spreed-webrtc-master/static/js/directives/odfcanvas.js extracting: spreed-webrtc-master/static/js/directives/onenter.js extracting: spreed-webrtc-master/static/js/directives/onescape.js extracting: spreed-webrtc-master/static/js/directives/page.js extracting: spreed-webrtc-master/static/js/directives/pdfcanvas.js extracting: spreed-webrtc-master/static/js/directives/presentation.js extracting: spreed-webrtc-master/static/js/directives/roombar.js extracting: spreed-webrtc-master/static/js/directives/screenshare.js extracting: spreed-webrtc-master/static/js/directives/settings.js extracting: spreed-webrtc-master/static/js/directives/socialshare.js extracting: spreed-webrtc-master/static/js/directives/statusmessage.js extracting: spreed-webrtc-master/static/js/directives/title.js extracting: spreed-webrtc-master/static/js/directives/ui.js extracting: spreed-webrtc-master/static/js/directives/usability.js extracting: spreed-webrtc-master/static/js/directives/welcome.js extracting: spreed-webrtc-master/static/js/directives/youtubevideo.js d spreed-webrtc-master/static/js/filters extracting: spreed-webrtc-master/static/js/filters/buddyimagesrc.js extracting: spreed-webrtc-master/static/js/filters/displayconference.js extracting: spreed-webrtc-master/static/js/filters/displayname.js extracting: spreed-webrtc-master/static/js/filters/displaynameforsession.js extracting: spreed-webrtc-master/static/js/filters/displayuserid.js extracting: spreed-webrtc-master/static/js/filters/filters.js extracting: spreed-webrtc-master/static/js/filters/formatbase1000.js d spreed-webrtc-master/static/js/libs d spreed-webrtc-master/static/js/libs/angular extracting: spreed-webrtc-master/static/js/libs/angular/angular-animate.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-animate.min.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-animate.min.js.map extracting: spreed-webrtc-master/static/js/libs/angular/angular-route.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-route.min.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-route.min.js.map extracting: spreed-webrtc-master/static/js/libs/angular/angular-sanitize.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-sanitize.min.js extracting: spreed-webrtc-master/static/js/libs/angular/angular-sanitize.min.js.map extracting: spreed-webrtc-master/static/js/libs/angular/angular.js extracting: spreed-webrtc-master/static/js/libs/angular/angular.min.js extracting: spreed-webrtc-master/static/js/libs/angular/angular.min.js.map extracting: spreed-webrtc-master/static/js/libs/angular/ui-bootstrap-tpls.min.js extracting: spreed-webrtc-master/static/js/libs/audiocontext.js extracting: spreed-webrtc-master/static/js/libs/avltree.js extracting: spreed-webrtc-master/static/js/libs/bigscreen.min.js extracting: spreed-webrtc-master/static/js/libs/bootstrap.file-input.js extracting: spreed-webrtc-master/static/js/libs/desktop-notify.js extracting: spreed-webrtc-master/static/js/libs/howler.min.js extracting: spreed-webrtc-master/static/js/libs/humanize.js extracting: spreed-webrtc-master/static/js/libs/jed.js d spreed-webrtc-master/static/js/libs/jquery extracting: spreed-webrtc-master/static/js/libs/jquery/README.jquery extracting: spreed-webrtc-master/static/js/libs/jquery/jquery.injectCSS.js extracting: spreed-webrtc-master/static/js/libs/jquery/jquery.js extracting: spreed-webrtc-master/static/js/libs/jquery/jquery.min.js extracting: spreed-webrtc-master/static/js/libs/jquery/jquery.min.js.map extracting: spreed-webrtc-master/static/js/libs/jquery/jquery.mobile-events.js extracting: spreed-webrtc-master/static/js/libs/lodash.min.js extracting: spreed-webrtc-master/static/js/libs/modernizr.js extracting: spreed-webrtc-master/static/js/libs/moment.min.js d spreed-webrtc-master/static/js/libs/pdf extracting: spreed-webrtc-master/static/js/libs/pdf/compatibility.js extracting: spreed-webrtc-master/static/js/libs/pdf/pdf.js extracting: spreed-webrtc-master/static/js/libs/pdf/pdf.worker.js extracting: spreed-webrtc-master/static/js/libs/rAF.js d spreed-webrtc-master/static/js/libs/require extracting: spreed-webrtc-master/static/js/libs/require/require.js extracting: spreed-webrtc-master/static/js/libs/require/text.js extracting: spreed-webrtc-master/static/js/libs/sha.js extracting: spreed-webrtc-master/static/js/libs/sjcl.js extracting: spreed-webrtc-master/static/js/libs/toastr.js extracting: spreed-webrtc-master/static/js/libs/ua-parser.js extracting: spreed-webrtc-master/static/js/libs/visibly.js extracting: spreed-webrtc-master/static/js/libs/webfont.js extracting: spreed-webrtc-master/static/js/libs/webodf.js extracting: spreed-webrtc-master/static/js/libs/webrtc.adapter.js extracting: spreed-webrtc-master/static/js/main.js d spreed-webrtc-master/static/js/mediastream extracting: spreed-webrtc-master/static/js/mediastream/api.js extracting: spreed-webrtc-master/static/js/mediastream/connector.js extracting: spreed-webrtc-master/static/js/mediastream/dummystream.js extracting: spreed-webrtc-master/static/js/mediastream/peercall.js extracting: spreed-webrtc-master/static/js/mediastream/peerconference.js extracting: spreed-webrtc-master/static/js/mediastream/peerconnection.js extracting: spreed-webrtc-master/static/js/mediastream/peerscreenshare.js extracting: spreed-webrtc-master/static/js/mediastream/peerxfer.js extracting: spreed-webrtc-master/static/js/mediastream/tokens.js extracting: spreed-webrtc-master/static/js/mediastream/usermedia.js extracting: spreed-webrtc-master/static/js/mediastream/utils.js extracting: spreed-webrtc-master/static/js/mediastream/webrtc.js d spreed-webrtc-master/static/js/modules extracting: spreed-webrtc-master/static/js/modules/angular-humanize.js d spreed-webrtc-master/static/js/sandboxes extracting: spreed-webrtc-master/static/js/sandboxes/pdf.js extracting: spreed-webrtc-master/static/js/sandboxes/webodf.js extracting: spreed-webrtc-master/static/js/sandboxes/youtube.js d spreed-webrtc-master/static/js/services extracting: spreed-webrtc-master/static/js/services/alertify.js extracting: spreed-webrtc-master/static/js/services/animationframe.js extracting: spreed-webrtc-master/static/js/services/api.js extracting: spreed-webrtc-master/static/js/services/appdata.js extracting: spreed-webrtc-master/static/js/services/buddydata.js extracting: spreed-webrtc-master/static/js/services/buddylist.js extracting: spreed-webrtc-master/static/js/services/buddypicture.js extracting: spreed-webrtc-master/static/js/services/buddysession.js extracting: spreed-webrtc-master/static/js/services/chromeextension.js extracting: spreed-webrtc-master/static/js/services/connector.js extracting: spreed-webrtc-master/static/js/services/constraints.js extracting: spreed-webrtc-master/static/js/services/contactdata.js extracting: spreed-webrtc-master/static/js/services/contacts.js extracting: spreed-webrtc-master/static/js/services/continueconnector.js extracting: spreed-webrtc-master/static/js/services/desktopnotify.js extracting: spreed-webrtc-master/static/js/services/dialogs.js extracting: spreed-webrtc-master/static/js/services/dummystream.js extracting: spreed-webrtc-master/static/js/services/enrichmessage.js extracting: spreed-webrtc-master/static/js/services/fastscroll.js extracting: spreed-webrtc-master/static/js/services/filedata.js extracting: spreed-webrtc-master/static/js/services/filedownload.js extracting: spreed-webrtc-master/static/js/services/filetransfer.js extracting: spreed-webrtc-master/static/js/services/fileupload.js extracting: spreed-webrtc-master/static/js/services/geolocation.js extracting: spreed-webrtc-master/static/js/services/localstatus.js extracting: spreed-webrtc-master/static/js/services/localstorage.js extracting: spreed-webrtc-master/static/js/services/mediadevices.js extracting: spreed-webrtc-master/static/js/services/mediasources.js extracting: spreed-webrtc-master/static/js/services/mediastream.js extracting: spreed-webrtc-master/static/js/services/modules.js extracting: spreed-webrtc-master/static/js/services/playsound.js extracting: spreed-webrtc-master/static/js/services/randomgen.js extracting: spreed-webrtc-master/static/js/services/resturl.js extracting: spreed-webrtc-master/static/js/services/roompin.js extracting: spreed-webrtc-master/static/js/services/rooms.js extracting: spreed-webrtc-master/static/js/services/safeapply.js extracting: spreed-webrtc-master/static/js/services/safedisplayname.js extracting: spreed-webrtc-master/static/js/services/safemessage.js extracting: spreed-webrtc-master/static/js/services/sandbox.js extracting: spreed-webrtc-master/static/js/services/screensharing.js extracting: spreed-webrtc-master/static/js/services/services.js extracting: spreed-webrtc-master/static/js/services/toastr.js extracting: spreed-webrtc-master/static/js/services/translation.js extracting: spreed-webrtc-master/static/js/services/usermedia.js extracting: spreed-webrtc-master/static/js/services/usersettingsdata.js extracting: spreed-webrtc-master/static/js/services/videolayout.js extracting: spreed-webrtc-master/static/js/services/videowaiter.js extracting: spreed-webrtc-master/static/js/services/visibility.js extracting: spreed-webrtc-master/static/js/services/webrtc.js d spreed-webrtc-master/static/partials extracting: spreed-webrtc-master/static/partials/audiovideo.html extracting: spreed-webrtc-master/static/partials/audiovideopeer.html extracting: spreed-webrtc-master/static/partials/buddy.html extracting: spreed-webrtc-master/static/partials/buddyactions.html extracting: spreed-webrtc-master/static/partials/buddyactionsforaudiomixer.html extracting: spreed-webrtc-master/static/partials/buddylist.html extracting: spreed-webrtc-master/static/partials/buddypicturecapture.html extracting: spreed-webrtc-master/static/partials/buddypictureupload.html extracting: spreed-webrtc-master/static/partials/chat.html extracting: spreed-webrtc-master/static/partials/chatroom.html extracting: spreed-webrtc-master/static/partials/contactrequest.html extracting: spreed-webrtc-master/static/partials/contactsmanager.html extracting: spreed-webrtc-master/static/partials/contactsmanageredit.html extracting: spreed-webrtc-master/static/partials/defaultdialog.html extracting: spreed-webrtc-master/static/partials/fileinfo.html extracting: spreed-webrtc-master/static/partials/geolocation.html extracting: spreed-webrtc-master/static/partials/menu.html extracting: spreed-webrtc-master/static/partials/page.html d spreed-webrtc-master/static/partials/page extracting: spreed-webrtc-master/static/partials/page/welcome.html extracting: spreed-webrtc-master/static/partials/picturehover.html extracting: spreed-webrtc-master/static/partials/presentation.html extracting: spreed-webrtc-master/static/partials/roombar.html extracting: spreed-webrtc-master/static/partials/screenshare.html extracting: spreed-webrtc-master/static/partials/screensharedialogff.html extracting: spreed-webrtc-master/static/partials/screensharepeer.html extracting: spreed-webrtc-master/static/partials/settings.html extracting: spreed-webrtc-master/static/partials/socialshare.html extracting: spreed-webrtc-master/static/partials/statusmessage.html extracting: spreed-webrtc-master/static/partials/ui.html extracting: spreed-webrtc-master/static/partials/usability.html extracting: spreed-webrtc-master/static/partials/youtubevideo.html extracting: spreed-webrtc-master/static/robots.txt d spreed-webrtc-master/static/sounds extracting: spreed-webrtc-master/static/sounds/sprite1.mp3 extracting: spreed-webrtc-master/static/sounds/sprite1.ogg d spreed-webrtc-master/static/translation extracting: spreed-webrtc-master/static/translation/languages.js extracting: spreed-webrtc-master/static/translation/messages-de.json extracting: spreed-webrtc-master/static/translation/messages-ja.json extracting: spreed-webrtc-master/static/translation/messages-ko.json extracting: spreed-webrtc-master/static/translation/messages-zh-cn.json extracting: spreed-webrtc-master/static/translation/messages-zh-tw.json root@vps001:/usr/local # rm master.zip root@vps001:/usr/local # cd spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # ./autogen.sh ln: .git/hooks/pre-commit: No such file or directory autoreconf-2.69: Entering directory .' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force -I m4 autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: running: automake --add-missing --copy --force-missing configure.ac:47: installing './install-sh' configure.ac:47: installing './missing' Makefile.am: installing './INSTALL' autoreconf-2.69: Leaving directory.' root@vps001:/usr/local/spreed-webrtc-master # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) nawk checking for find... /usr/bin/find checking for gpm... no checking for jshint... no checking for python2... /usr/local/bin/python2 checking for version of python2... 2.7.10 checking for go... /usr/local/bin/go checking for version of Go... 1.5.1 checking third-party Go source code path... /usr/local/spreed-webrtc-master/vendor checking for nodejs... no checking for node... /usr/local/bin/node checking for version of node.js... 4.1.1 checking for compass... /usr/local/bin/compass checking for version of compass... 1.0.3 checking for sass... /usr/local/bin/sass checking for version of sass... 3.4.19 checking for scss-lint... /usr/local/bin/scss-lint checking for version of scss-lint... 0.43.2 checking for compass support in sass... ok checking for autoprefixer... no configure: WARNING: Please install autoprefixer before trying to build styles. checking for pybabel... /usr/local/bin/pybabel checking for version of pybabel... [73909 refs] 2.1.1 checking for npm... /usr/local/bin/npm checking for version of npm... 2.14.4 checking for po2json support in node.js... not available configure: WARNING: Please install the node.js module po2json to build i18n. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/styles/Makefile config.status: creating src/i18n/Makefile root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master #

leonklingele commented 8 years ago

Hey Pammetje ,

looks like your GOROOT is invalid. Please try this: http://stackoverflow.com/a/20459819

If this doesn't help, please post the output of:

$ go env
longsleep commented 8 years ago

Somehow your go installation does not find Spreed WebRTC.

What does make gopath show? (should have /path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc). If it is different for you, check your Go environment. It might also be related to our Makefile, which uses export to export the GOPATH to the go binary which might not work as intended on freebsd.

Pammetje commented 8 years ago

I do not have very much knowledge about this. Anyway this is what happens. Her some more info.

root@vps001:/usr/local # echo $GOPATH /root/go root@vps001:/usr/local # echo $GOROOT /usr/local/go root@vps001:/usr/local # cd spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # ./autogen.sh ln: .git/hooks/pre-commit: No such file or directory autoreconf-2.69: Entering directory .' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force -I m4 autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: running: automake --add-missing --copy --force-missing configure.ac:47: installing './install-sh' configure.ac:47: installing './missing' Makefile.am: installing './INSTALL' autoreconf-2.69: Leaving directory.' root@vps001:/usr/local/spreed-webrtc-master # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) nawk checking for find... /usr/bin/find checking for gpm... no checking for jshint... no checking for python2... /usr/local/bin/python2 checking for version of python2... 2.7.10 checking for go... /usr/local/bin/go checking for version of Go... 1.5.1 checking third-party Go source code path... /usr/local/spreed-webrtc-master/vendor checking for nodejs... no checking for node... /usr/local/bin/node checking for version of node.js... 4.1.1 checking for compass... /usr/local/bin/compass checking for version of compass... 1.0.3 checking for sass... /usr/local/bin/sass checking for version of sass... 3.4.19 checking for scss-lint... /usr/local/bin/scss-lint checking for version of scss-lint... 0.43.2 checking for compass support in sass... ok checking for autoprefixer... no configure: WARNING: Please install autoprefixer before trying to build styles. checking for pybabel... /usr/local/bin/pybabel checking for version of pybabel... [73909 refs] 2.1.1 checking for npm... /usr/local/bin/npm checking for version of npm... 2.14.4 checking for po2json support in node.js... not available configure: WARNING: Please install the node.js module po2json to build i18n. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/styles/Makefile config.status: creating src/i18n/Makefile root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master # make gopath GOPATH=/root/go root@vps001:/usr/local/spreed-webrtc-master # ls -la /usr/local/go total 128 drwxr-xr-x 10 root wheel 512 Nov 30 09:52 . drwxr-xr-x 19 root wheel 512 Dec 10 09:41 .. -rw-r--r-- 1 root wheel 21146 Sep 9 03:24 AUTHORS -rw-r--r-- 1 root wheel 1107 Sep 9 03:24 CONTRIBUTING.md -rw-r--r-- 1 root wheel 28953 Sep 9 03:24 CONTRIBUTORS -rw-r--r-- 1 root wheel 1479 Sep 9 03:24 LICENSE -rw-r--r-- 1 root wheel 1303 Sep 9 03:24 PATENTS -rw-r--r-- 1 root wheel 1519 Sep 9 03:24 README.md -rw-r--r-- 1 root wheel 7 Sep 9 03:24 VERSION drwxr-xr-x 2 root wheel 512 Nov 30 09:52 api drwxr-xr-x 2 root wheel 512 Nov 30 09:52 bin drwxr-xr-x 8 root wheel 1024 Nov 30 09:52 doc -rw-r--r-- 1 root wheel 1150 Sep 9 03:24 favicon.ico drwxr-xr-x 3 root wheel 512 Nov 30 09:52 lib drwxr-xr-x 12 root wheel 512 Nov 30 09:52 misc drwxr-xr-x 7 root wheel 512 Nov 30 09:52 pkg -rw-r--r-- 1 root wheel 26 Sep 9 03:24 robots.txt drwxr-xr-x 43 root wheel 1536 Nov 30 09:52 src drwxr-xr-x 16 root wheel 5120 Nov 30 09:52 test

Op 9-12-2015 om 23:42 schreef Simon Eisenmann:

Somehow your go installation does not find Spreed WebRTC.

What does |make gopath| show? (should have /path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc). If it is different for you, check your Go environment. It might also be related to our Makefile, which uses export to export the GOPATH to the go binary which might not work as intended on freebsd.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163424425.Web Bug from https://github.com/notifications/beacon/APePBg3Gd_uf1M46zDWFuLnrnDnat3XRks5pOKW5gaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Pammetje commented 8 years ago

http://stackoverflow.com/a/20459819 did not work for me I use an csh shell by the way (default on FreeBSD) I do not have very much knowledge about this. Anyway this is what happens. Here some more info.

root@vps001:/usr/local # echo $GOPATH /root/go root@vps001:/usr/local # echo $GOROOT /usr/local/go root@vps001:/usr/local # cd spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # ./autogen.sh ln: .git/hooks/pre-commit: No such file or directory autoreconf-2.69: Entering directory .' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force -I m4 autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: running: automake --add-missing --copy --force-missing configure.ac:47: installing './install-sh' configure.ac:47: installing './missing' Makefile.am: installing './INSTALL' autoreconf-2.69: Leaving directory.' root@vps001:/usr/local/spreed-webrtc-master # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) nawk checking for find... /usr/bin/find checking for gpm... no checking for jshint... no checking for python2... /usr/local/bin/python2 checking for version of python2... 2.7.10 checking for go... /usr/local/bin/go checking for version of Go... 1.5.1 checking third-party Go source code path... /usr/local/spreed-webrtc-master/vendor checking for nodejs... no checking for node... /usr/local/bin/node checking for version of node.js... 4.1.1 checking for compass... /usr/local/bin/compass checking for version of compass... 1.0.3 checking for sass... /usr/local/bin/sass checking for version of sass... 3.4.19 checking for scss-lint... /usr/local/bin/scss-lint checking for version of scss-lint... 0.43.2 checking for compass support in sass... ok checking for autoprefixer... no configure: WARNING: Please install autoprefixer before trying to build styles. checking for pybabel... /usr/local/bin/pybabel checking for version of pybabel... [73909 refs] 2.1.1 checking for npm... /usr/local/bin/npm checking for version of npm... 2.14.4 checking for po2json support in node.js... not available configure: WARNING: Please install the node.js module po2json to build i18n. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/styles/Makefile config.status: creating src/i18n/Makefile root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master # make gopath GOPATH=/root/go root@vps001:/usr/local/spreed-webrtc-master # ls -la /usr/local/go total 128 drwxr-xr-x 10 root wheel 512 Nov 30 09:52 . drwxr-xr-x 19 root wheel 512 Dec 10 09:41 .. -rw-r--r-- 1 root wheel 21146 Sep 9 03:24 AUTHORS -rw-r--r-- 1 root wheel 1107 Sep 9 03:24 CONTRIBUTING.md -rw-r--r-- 1 root wheel 28953 Sep 9 03:24 CONTRIBUTORS -rw-r--r-- 1 root wheel 1479 Sep 9 03:24 LICENSE -rw-r--r-- 1 root wheel 1303 Sep 9 03:24 PATENTS -rw-r--r-- 1 root wheel 1519 Sep 9 03:24 README.md -rw-r--r-- 1 root wheel 7 Sep 9 03:24 VERSION drwxr-xr-x 2 root wheel 512 Nov 30 09:52 api drwxr-xr-x 2 root wheel 512 Nov 30 09:52 bin drwxr-xr-x 8 root wheel 1024 Nov 30 09:52 doc -rw-r--r-- 1 root wheel 1150 Sep 9 03:24 favicon.ico drwxr-xr-x 3 root wheel 512 Nov 30 09:52 lib drwxr-xr-x 12 root wheel 512 Nov 30 09:52 misc drwxr-xr-x 7 root wheel 512 Nov 30 09:52 pkg -rw-r--r-- 1 root wheel 26 Sep 9 03:24 robots.txt drwxr-xr-x 43 root wheel 1536 Nov 30 09:52 src drwxr-xr-x 16 root wheel 5120 Nov 30 09:52 test

Op 9-12-2015 om 22:58 schreef leonklingele:

Hey Pammetje ,

looks like your |GOPATH| is invalid. Please try this: http://stackoverflow.com/a/20459819

If this doesn't help, please post the output of:

$ go env

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163407623.Web Bug from https://github.com/notifications/beacon/APePBpMXToyONCh-ooXAXrBbAQl_6S6Pks5pOJt7gaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Pammetje commented 8 years ago

Forgot to add the following requested information

root@vps001:~ # go env GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="freebsd" GOOS="freebsd" GOPATH="/root/go" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/freebsd_amd64" GO15VENDOREXPERIMENT="" CC="cc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1"

Op 10-12-2015 om 9:50 schreef M.Kloens:

http://stackoverflow.com/a/20459819 did not work for me I use an csh shell by the way (default on FreeBSD) I do not have very much knowledge about this. Anyway this is what happens. Here some more info.

root@vps001:/usr/local # echo $GOPATH /root/go root@vps001:/usr/local # echo $GOROOT /usr/local/go root@vps001:/usr/local # cd spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # ./autogen.sh ln: .git/hooks/pre-commit: No such file or directory autoreconf-2.69: Entering directory .' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force -I m4 autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: running: automake --add-missing --copy --force-missing configure.ac:47: installing './install-sh' configure.ac:47: installing './missing' Makefile.am: installing './INSTALL' autoreconf-2.69: Leaving directory.' root@vps001:/usr/local/spreed-webrtc-master # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) nawk checking for find... /usr/bin/find checking for gpm... no checking for jshint... no checking for python2... /usr/local/bin/python2 checking for version of python2... 2.7.10 checking for go... /usr/local/bin/go checking for version of Go... 1.5.1 checking third-party Go source code path... /usr/local/spreed-webrtc-master/vendor checking for nodejs... no checking for node... /usr/local/bin/node checking for version of node.js... 4.1.1 checking for compass... /usr/local/bin/compass checking for version of compass... 1.0.3 checking for sass... /usr/local/bin/sass checking for version of sass... 3.4.19 checking for scss-lint... /usr/local/bin/scss-lint checking for version of scss-lint... 0.43.2 checking for compass support in sass... ok checking for autoprefixer... no configure: WARNING: Please install autoprefixer before trying to build styles. checking for pybabel... /usr/local/bin/pybabel checking for version of pybabel... [73909 refs] 2.1.1 checking for npm... /usr/local/bin/npm checking for version of npm... 2.14.4 checking for po2json support in node.js... not available configure: WARNING: Please install the node.js module po2json to build i18n. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/styles/Makefile config.status: creating src/i18n/Makefile root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master # make gopath GOPATH=/root/go root@vps001:/usr/local/spreed-webrtc-master # ls -la /usr/local/go total 128 drwxr-xr-x 10 root wheel 512 Nov 30 09:52 . drwxr-xr-x 19 root wheel 512 Dec 10 09:41 .. -rw-r--r-- 1 root wheel 21146 Sep 9 03:24 AUTHORS -rw-r--r-- 1 root wheel 1107 Sep 9 03:24 CONTRIBUTING.md -rw-r--r-- 1 root wheel 28953 Sep 9 03:24 CONTRIBUTORS -rw-r--r-- 1 root wheel 1479 Sep 9 03:24 LICENSE -rw-r--r-- 1 root wheel 1303 Sep 9 03:24 PATENTS -rw-r--r-- 1 root wheel 1519 Sep 9 03:24 README.md -rw-r--r-- 1 root wheel 7 Sep 9 03:24 VERSION drwxr-xr-x 2 root wheel 512 Nov 30 09:52 api drwxr-xr-x 2 root wheel 512 Nov 30 09:52 bin drwxr-xr-x 8 root wheel 1024 Nov 30 09:52 doc -rw-r--r-- 1 root wheel 1150 Sep 9 03:24 favicon.ico drwxr-xr-x 3 root wheel 512 Nov 30 09:52 lib drwxr-xr-x 12 root wheel 512 Nov 30 09:52 misc drwxr-xr-x 7 root wheel 512 Nov 30 09:52 pkg -rw-r--r-- 1 root wheel 26 Sep 9 03:24 robots.txt drwxr-xr-x 43 root wheel 1536 Nov 30 09:52 src drwxr-xr-x 16 root wheel 5120 Nov 30 09:52 test

Op 9-12-2015 om 22:58 schreef leonklingele:

Hey Pammetje ,

looks like your |GOPATH| is invalid. Please try this: http://stackoverflow.com/a/20459819

If this doesn't help, please post the output of:

$ go env

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163407623.Web Bug from https://github.com/notifications/beacon/APePBpMXToyONCh-ooXAXrBbAQl_6S6Pks5pOJt7gaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

Try again without having set any local Go environment (unset all the GO* env vars). It will not work until make gopath stops returning /root/go.

Pammetje commented 8 years ago

root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master # /usr/local/bin/go Go is a tool for managing Go source code.

Usage:

     go command [arguments]

The commands are:

     build       compile packages and dependencies
     clean       remove object files
     doc         show documentation for package or symbol
     env         print Go environment information
     fix         run go tool fix on packages
     fmt         run gofmt on package sources
     generate    generate Go files by processing source
     get         download and install packages and dependencies
     install     compile and install packages and dependencies
     list        list packages
     run         compile and run Go program
     test        test packages
     tool        run specified go tool
     version     print Go version
     vet         run go tool vet on packages

Use "go help [command]" for more information about a command.

Additional help topics:

     c           calling between Go and C
     buildmode   description of build modes
     filetype    file types
     gopath      GOPATH environment variable
     environment environment variables
     importpath  import path syntax
     packages    description of package lists
     testflag    description of testing flags
     testfunc    description of testing functions

Use "go help [topic]" for more information about that topic.

Op 10-12-2015 om 12:27 schreef Simon Eisenmann:

Try again without having set any local Go environment (unset all the GO* env vars). It will not work until |make gopath| stops returning /root/go.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163584103.Web Bug from https://github.com/notifications/beacon/APePBmsIBD1M1jRjLkNhgiTk5pblcXldks5pOVkxgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Pammetje commented 8 years ago

/usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

I can find an app/ directory under spreed-webrtc-master/src/app

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

Well did you unset GOPATH environment variable? What does make gopath show? It probably still is wrong as it did not find the sources.

Pammetje commented 8 years ago

root@vps001:/usr/local/spreed-webrtc-master # setenv TERM=xterm BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/usr/local/spreed-webrtc-master LOGNAME=root GROUP=wheel HOST=vps001 REMOTEHOST=85.119.104.98 EDITOR=vi PAGER=more

root@vps001:/usr/local/spreed-webrtc-master # make gopath GOPATH= root@vps001:/usr/local/spreed-webrtc-master #

Op 10-12-2015 om 13:19 schreef Simon Eisenmann:

Well did you unset GOPATH environment variable? What does make gopath show? It probably still is wrong as it did not find the sources.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163594176.Web Bug from https://github.com/notifications/beacon/APePBjJ18a6CVwEEhTSdMTY9RnBg0NPbks5pOWVUgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Pammetje commented 8 years ago

Where should the GOPATH variable point to ?

To /usr/local/go/bin/go To /usr/local/go/bin/ To /usr/local/go

?

root@vps001:/usr/local/spreed-webrtc-master # /usr/local/go/bin/go Go is a tool for managing Go source code.

Usage:

     go command [arguments]

The commands are:

     build       compile packages and dependencies
     clean       remove object files
     doc         show documentation for package or symbol
     env         print Go environment information
     fix         run go tool fix on packages
     fmt         run gofmt on package sources
     generate    generate Go files by processing source
     get         download and install packages and dependencies
     install     compile and install packages and dependencies
     list        list packages
     run         compile and run Go program
     test        test packages
     tool        run specified go tool
     version     print Go version
     vet         run go tool vet on packages

Use "go help [command]" for more information about a command.

Additional help topics:

     c           calling between Go and C
     buildmode   description of build modes
     filetype    file types
     gopath      GOPATH environment variable
     environment environment variables
     importpath  import path syntax
     packages    description of package lists
     testflag    description of testing flags
     testfunc    description of testing functions

Use "go help [topic]" for more information about that topic.

Op 10-12-2015 om 13:19 schreef Simon Eisenmann:

Well did you unset GOPATH environment variable? What does make gopath show? It probably still is wrong as it did not find the sources.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163594176.Web Bug from https://github.com/notifications/beacon/APePBjJ18a6CVwEEhTSdMTY9RnBg0NPbks5pOWVUgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

It should point nowhere at all. It should not be defined. The Makefile sets it up internally as required.

Pammetje commented 8 years ago

Just to be sure

root@vps001:/usr/local # unsetenv GOPATH

root@vps001:/usr/local/spreed-webrtc-master # setenv TERM=xterm BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/usr/local/spreed-webrtc-master LOGNAME=root GROUP=wheel HOST=vps001 REMOTEHOST=85.119.104.98 EDITOR=vi PAGER=more

No GOPATH variable

root@vps001:/usr/local # cd spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # ./autogen.sh ln: .git/hooks/pre-commit: No such file or directory autoreconf-2.69: Entering directory .' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force -I m4 autoreconf-2.69: configure.ac: tracing autoreconf-2.69: configure.ac: not using Libtool autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force autoreconf-2.69: configure.ac: not using Autoheader autoreconf-2.69: running: automake --add-missing --copy --force-missing configure.ac:47: installing './install-sh' configure.ac:47: installing './missing' Makefile.am: installing './INSTALL' autoreconf-2.69: Leaving directory.' root@vps001:/usr/local/spreed-webrtc-master # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... (cached) nawk checking for find... /usr/bin/find checking for gpm... no checking for jshint... no checking for python2... /usr/local/bin/python2 checking for version of python2... 2.7.10 checking for go... /usr/local/bin/go checking for version of Go... 1.5.1 checking third-party Go source code path... /usr/local/spreed-webrtc-master/vendor checking for nodejs... no checking for node... /usr/local/bin/node checking for version of node.js... 4.1.1 checking for compass... /usr/local/bin/compass checking for version of compass... 1.0.3 checking for sass... /usr/local/bin/sass checking for version of sass... 3.4.19 checking for scss-lint... /usr/local/bin/scss-lint checking for version of scss-lint... 0.43.2 checking for compass support in sass... ok checking for autoprefixer... no configure: WARNING: Please install autoprefixer before trying to build styles. checking for pybabel... /usr/local/bin/pybabel checking for version of pybabel... [73909 refs] 2.1.1 checking for npm... /usr/local/bin/npm checking for version of npm... 2.14.4 checking for po2json support in node.js... not available configure: WARNING: Please install the node.js module po2json to build i18n. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/styles/Makefile config.status: creating src/i18n/Makefile root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... package app/...: unrecognized import path "app/..." *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master

It is also not working, with no GOPATH variable set

Op 10-12-2015 om 13:34 schreef Simon Eisenmann:

It should point nowhere at all. It should not be defined. The Makefile sets it up internally as required.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163597833.Web Bug from https://github.com/notifications/beacon/APePBt26wusQzeuMo6evHv6vlGwoV3Ecks5pOWjugaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

Mhm ok, what does make gopath show then? If for whatever reason the automatic setting of GOPATH does not work, you can try to set it manually (see my example above on how it should look).

Pammetje commented 8 years ago

root@vps001:/usr/local/spreed-webrtc-master # make gopath GOPATH= root@vps001:/usr/local/spreed-webrtc-master # setenv SHELL=/bin/csh SSH_CLIENT=83.162.228.86 58524 22 LOGNAME=matthijs PAGER=more MAIL=/var/mail/matthijs PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin EDITOR=vi ENV=/home/matthijs/.shrc PWD=/usr/local/spreed-webrtc-master TERM=xterm-256color SSH_TTY=/dev/pts/0 HOME=/root USER=matthijs SSH_CONNECTION=xx.xx.xx.xx xx.x.x.x BLOCKSIZE=K HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 GROUP=wheel HOST=vps001 REMOTEHOST=xx.xxx.xx.xx

I do not see your example Where should I point the GOPATH variable to ?

Op 10-12-15 om 14:50 schreef Simon Eisenmann:

Mhm ok, what does |make gopath| show then? If for whatever reason the automatic setting of GOPATH does not work, you can try to set it manually (see my example above on how it should look).

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163624095.Web Bug from https://github.com/notifications/beacon/APePBj-g7Th3qKjBwwf2-vSf3Wa4_LAnks5pOXq5gaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

See https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163424425

What does make gopath show? (should have /path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc)

Pammetje commented 8 years ago

Sorry but I dont know what you mean by "/path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc" So I did

root@vps001:/usr/local/spreed-webrtc-master # setenv GOPATH /usr/local/spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... go: missing Mercurial command. See https://golang.org/s/gogetcmd package code.google.com/p/goconf/conf: exec: "hg": executable file not found in $PATH *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master

Op 10-12-15 om 15:52 schreef Simon Eisenmann:

See #244 (comment) https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163424425

What does make gopath show? (should have /path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc)

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163647891.Web Bug from https://github.com/notifications/beacon/APePBsFLg-jAVhSLDgIVdmtvryY3TdoJks5pOYkdgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

Well that is some progress. You missed the vendor path in the gopath. Try with

setenv GOPATH /usr/local/spreed-webrtc-master/vendor:/usr/local/spreed-webrtc-master

You are also missing the hg executable (thats mercurial vcs), which is needed to fetch some of the third party sources

Pammetje commented 8 years ago

after installing hg

root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... warning: code.google.com is shutting down; import path code.google.com/p/goconf/conf will stop working

app/spreed-webrtc-server

src/app/spreed-webrtc-server/main.go:370: cannot use uint64(maxfd) (type uint64) as type int64 in assignment src/app/spreed-webrtc-server/main.go:371: cannot use uint64(maxfd) (type uint64) as type int64 in assignment *\ Error code 2

Stop. make: stopped in /usr/local/spreed-webrtc-master

Op 10-12-15 om 16:13 schreef Matthijs Kloens:

Sorry but I dont know what you mean by "/path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc" So I did

root@vps001:/usr/local/spreed-webrtc-master # setenv GOPATH /usr/local/spreed-webrtc-master/ root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/... go: missing Mercurial command. See https://golang.org/s/gogetcmd package code.google.com/p/goconf/conf: exec: "hg": executable file not found in $PATH *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc-master

Op 10-12-15 om 15:52 schreef Simon Eisenmann:

See #244 (comment) https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163424425

What does make gopath show? (should have /path/to/spreed-webrtc/vendor:/path/to/spreed-webrtc)

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163647891.Web Bug from https://github.com/notifications/beacon/APePBsFLg-jAVhSLDgIVdmtvryY3TdoJks5pOYkdgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Pammetje commented 8 years ago

Build hg and Mercurial (with FreeBSD patches)

root@vps001:/usr/local/spreed-webrtc-master # setenv GOPATH /usr/local/spreed-webrtc-master/vendor:/usr/local/spreed-webrtc-master root@vps001:/usr/local/spreed-webrtc-master # make /usr/local/bin/go get app/...

app/spreed-webrtc-server

src/app/spreed-webrtc-server/main.go:370: cannot use uint64(maxfd) (type uint64) as type int64 in assignment src/app/spreed-webrtc-server/main.go:371: cannot use uint64(maxfd) (type uint64) as type int64 in assignment *\ Error code 2

Stop. make: stopped in /usr/local/spreed-webrtc-master

Op 10-12-15 om 16:17 schreef Simon Eisenmann:

Well that is some progress. You missed the vendor path in the gopath. Try with

|setenv GOPATH /usr/local/spreed-webrtc-master/vendor:/usr/local/spreed-webrtc-master |

You are also missing the |hg| executable (thats mercurial vcs), which is needed to fetch some of the third party sources

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163655253.Web Bug from https://github.com/notifications/beacon/APePBsYTMe5DYIo4brHYFAXdpvnnN1sbks5pOY78gaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

Well we cannot give you step by step compile support for FreeBSD here. Please try to figure out what is needed to compile on FreeBSD. It seems that the code block you see this error might need to be different for FreeBSD. You can just remove the block which tries to handle maxfd setting.

Pammetje commented 8 years ago

Ok thanks for all the help

Op 10-12-15 om 16:22 schreef Simon Eisenmann:

Well we cannot give you step by step compile support for FreeBSD here. Please try to figure out what is needed to compile on FreeBSD. It seems that the code block you see this error might need to be different for FreeBSD. You can just remove the block which tries to handle maxfd setting.

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-163656788.Web Bug from https://github.com/notifications/beacon/APePBmX37LvVa-9BF704NvcdY0GiOUfJks5pOZBJgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

rLimits are uint64 in Linux but int64 in FreeBSD. Thus the code cannot compile on FreeBSD and needs to be put in platform specific files. Example at https://github.com/bradfitz/runsit/commit/b5768b6a34bf710c6a871b0f4c32d9b59fcb08f6

Pammetje commented 8 years ago

I am not a develeoper, but if can help to test let me know

Op 5-1-2016 om 13:54 schreef Simon Eisenmann:

rLimits are uint64 in Linux but int64 in FreeBSD. Thus the code cannot compile on FreeBSD and needs to be put in platform specific files. Example at bradfitz/runsit@b5768b6 https://github.com/bradfitz/runsit/commit/b5768b6a34bf710c6a871b0f4c32d9b59fcb08f6

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-168991203.Web Bug from https://github.com/notifications/beacon/APePBkYttOD0PFgeo1g3UsAQuaOIERiNks5pW7ShgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

oparoz commented 8 years ago

Looks like it requires a lot of fixing and not just in this package, so FreeBSD is probably a no-go.

src/app/spreed-webrtc-server/main.go:                   log.Printf("Set max open files successfully to %d\n", uint64(maxfd))
src/app/spreed-webrtc-server/session.go:        UpdateRev     uint64
src/app/spreed-webrtc-server/session.go:func (s *Session) Update(update *SessionUpdate) uint64 {
src/app/spreed-webrtc-server/channelling.go:    Rev     uint64      `json:",omitempty"`
src/app/spreed-webrtc-server/channelling.go:    Chunks uint64 `json:"chunks"`
src/app/spreed-webrtc-server/channelling.go:    Size   uint64 `json:"size"`
src/app/spreed-webrtc-server/channelling.go:    Alive uint64
src/app/spreed-webrtc-server/images.go:         count := binary.PutUvarint(tmp, uint64(img.lastChange.UnixNano()))
src/app/spreed-webrtc-server/stats_manager.go:  Count                 uint64                  `json:"count"`
src/app/spreed-webrtc-server/stats_manager.go:  BroadcastChatMessages uint64                  `json:"broadcastchatmessages"`
src/app/spreed-webrtc-server/stats_manager.go:  UnicastChatMessages   uint64                  `json:"unicastchatmessages"`
src/app/spreed-webrtc-server/stats_manager.go:  CountConnection() uint64
src/app/spreed-webrtc-server/stats_manager.go:  connectionCount       uint64
src/app/spreed-webrtc-server/stats_manager.go:  broadcastChatMessages uint64
src/app/spreed-webrtc-server/stats_manager.go:  unicastChatMessages   uint64
src/app/spreed-webrtc-server/stats_manager.go:func (stats *statsManager) CountConnection() uint64 {
src/app/spreed-webrtc-server/connection.go:     Index() uint64
src/app/spreed-webrtc-server/connection.go:     Idx uint64
src/app/spreed-webrtc-server/connection.go:func NewConnection(index uint64, ws *websocket.Conn, handler ConnectionHandler) Connection {
src/app/spreed-webrtc-server/connection.go:func (c *connection) Index() uint64 {
src/app/spreed-webrtc-server/client.go: Index() uint64
src/app/spreed-webrtc-server/stats.go:  Goroutines uint64 `json:"goroutines"`
src/app/spreed-webrtc-server/stats.go:  Alloc      uint64 `json:"alloc"`
src/app/spreed-webrtc-server/stats.go:  Mallocs    uint64 `json:"mallocs"`
src/app/spreed-webrtc-server/stats.go:  Frees      uint64 `json:"frees"`
src/app/spreed-webrtc-server/stats.go:  Pauses     uint64 `json:"pauses"`
src/app/spreed-webrtc-server/stats.go:  Heap       uint64 `json:"heap"`
src/app/spreed-webrtc-server/stats.go:  Stack      uint64 `json:"stack"`
src/app/spreed-webrtc-server/stats.go:  stat.Goroutines = uint64(runtime.NumGoroutine())
src/app/spreed-webrtc-server/stats.go:  stat.Alloc = uint64(memStats.Alloc)
src/app/spreed-webrtc-server/stats.go:  stat.Mallocs = uint64(memStats.Mallocs)
src/app/spreed-webrtc-server/stats.go:  stat.Frees = uint64(memStats.Frees)
src/app/spreed-webrtc-server/stats.go:  stat.Pauses = uint64(memStats.PauseTotalNs) / uint64(time.Millisecond)
src/app/spreed-webrtc-server/stats.go:  stat.Heap = uint64(memStats.HeapAlloc)
src/app/spreed-webrtc-server/stats.go:  stat.Stack = uint64(memStats.StackInuse)
vendor/src/github.com/gorilla/websocket/conn.go:                binary.BigEndian.PutUint64(c.writeBuf[framePos+2:], uint64(length))
vendor/src/github.com/satori/go.uuid/uuid.go:   lastTime      uint64
vendor/src/github.com/satori/go.uuid/uuid.go:func unixTimeFunc() uint64 {
vendor/src/github.com/satori/go.uuid/uuid.go:   return epochStart + uint64(time.Now().UnixNano()/100)
vendor/src/github.com/satori/go.uuid/uuid.go:func getStorage() (uint64, uint16, []byte) {
vendor/src/github.com/satori/go.uuid/uuid_test.go:      epochFunc = func() uint64 { return 0 }
Pammetje commented 8 years ago

No problem bye bye Spreed-webrtc Multi-platform coding, anyone ?

Op 10-02-16 om 19:09 schreef Olivier Paroz:

Looks like it requires a lot of fixing and not just in this package, so FreeBSD is probably a no-go.

|src/app/spreed-webrtc-server/main.go: log.Printf("Set max open files successfully to %d\n", uint64(maxfd)) src/app/spreed-webrtc-server/session.go: UpdateRev uint64 src/app/spreed-webrtc-server/session.go:func (s Session) Update(update SessionUpdate) uint64 { src/app/spreed-webrtc-server/channelling.go: Rev uint64 json:",omitempty" src/app/spreed-webrtc-server/channelling.go: Chunks uint64 json:"chunks" src/app/spreed-webrtc-server/channelling.go: Size uint64 json:"size" src/app/spreed-webrtc-server/channelling.go: Alive uint64 src/app/spreed-webrtc-server/images.go: count := binary.PutUvarint(tmp, uint64(img.lastChange.UnixNano())) src/app/spreed-webrtc-server/stats_manager.go: Count uint64 json:"count" src/app/spreed-webrtc-server/stats_manager.go: BroadcastChatMessages uint64 json:"broadcastchatmessages" src/app/spreed-webrtc-server/stats_manager.go: UnicastChatMessages uint64 json:"unicastchatmessages" src/app/spreed-webrtc-server/stats_manager.go: CountConnection() uint64 src/app/spreed-webrtc-server/stats_manager.go: connectionCount uint64 src/app/spreed-webrtc-server/stats_manager.go: broadcastChatMessages uint64 src/app/spreed-webrtc-server/stats_manager.go: unicastChatMessages uint64 src/app/spreed-webrtc-server/stats_manager.go:func (stats statsManager) CountConnection() uint64 { src/app/spreed-webrtc-server/connection.go: Index() uint64 src/app/spreed-webrtc-server/connection.go: Idx uint64 src/app/spreed-webrtc-server/connection.go:func NewConnection(index uint64, ws websocket.Conn, handler ConnectionHandler) Connection { src/app/spreed-webrtc-server/connection.go:func (c *connection) Index() uint64 { src/app/spreed-webrtc-server/client.go: Index() uint64 src/app/spreed-webrtc-server/stats.go: Goroutines uint64 json:"goroutines" src/app/spreed-webrtc-server/stats.go: Alloc uint64 json:"alloc" src/app/spreed-webrtc-server/stats.go: Mallocs uint64 json:"mallocs" src/app/spreed-webrtc-server/stats.go: Frees uint64 json:"frees" src/app/spreed-webrtc-server/stats.go: Pauses uint64 json:"pauses" src/app/spreed-webrtc-server/stats.go: Heap uint64 json:"heap" src/app/spreed-webrtc-server/stats.go: Stack uint64 json:"stack" src/app/spreed-webrtc-server/stats.go: stat.Goroutines = uint64(runtime.NumGoroutine()) src/app/spreed-webrtc-server/stats.go: stat.Alloc = uint64(memStats.Alloc) src/app/spreed-webrtc-server/stats.go: stat.Mallocs = uint64(memStats.Mallocs) src/app/spreed-webrtc-server/stats.go: stat.Frees = uint64(memStats.Frees) src/app/spreed-webrtc-server/stats.go: stat.Pauses = uint64(memStats.PauseTotalNs) / uint64(time.Millisecond) src/app/spreed-webrtc-server/stats.go: stat.Heap = uint64(memStats.HeapAlloc) src/app/spreed-webrtc-server/stats.go: stat.Stack = uint64(memStats.StackInuse) vendor/src/github.com/gorilla/websocket/conn.go: binary.BigEndian.PutUint64(c.writeBuf[framePos+2:], uint64(length)) vendor/src/github.com/satori/go.uuid/uuid.go: lastTime uint64 vendor/src/github.com/satori/go.uuid/uuid.go:func unixTimeFunc() uint64 { vendor/src/github.com/satori/go.uuid/uuid.go: return epochStart + uint64(time.Now().UnixNano()/100) vendor/src/github.com/satori/go.uuid/uuid.go:func getStorage() (uint64, uint16, []byte) { vendor/src/github.com/satori/go.uuid/uuid_test.go: epochFunc = func() uint64 { return 0 } |

— Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-182507711.Web Bug from https://github.com/notifications/beacon/APePBiUiNix-08GoSzv75oUgx5R2m9M0ks5pi3RFgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

longsleep commented 8 years ago

@oparoz did you just grep for uint64 or what is the output you posted? What makes you think that the lines you posted need fixing? Only very few system level calls might be platform dependent and have different types. I still think it will be fine if you just remove the code which tries to set the uid/gid.

oparoz commented 8 years ago

did you just grep for uint64 or what is the output you posted?

@longsleep - That's correct. I just wanted to see where those specific types were used (and I suppose there are more).

What makes you think that the lines you posted need fixing?

I assumed it was a platform difference since the fix you've linked to specifically creates two different files, one for each platform.

I still think it will be fine if you just remove the code which tries to set the uid/gid.

I did try to apply the fix, but changing the type using rlim_t() raised a compilation error as apparently the platform files are not automatically picked up.

oparoz commented 8 years ago

OK, so the good news @Pammetje, is that it compiles if the fix mentioned above is properly applied, but there are more issues.

spreed-webrtc-server is a bash script, but the shebang needs to be fixed before it can run.

Also, the documentation is incomplete. server.conf needs to be modified before running the server sessionSecret and encryptionSecret need to be defined properly, but the examples are using xxd which isn't available on FreeBSD.

longsleep commented 8 years ago

The platform files should be picked up if they are put into src/app/spreed-webrtc-server folder. What compilation error do you get? The code i linked works just fine.

oparoz commented 8 years ago

The platform files should be picked up if they are put into src/app/spreed-webrtc-server folder

Yes, that was my bad, I assumed they needed to be put in the root folder so that gmake would pick them up.

longsleep commented 8 years ago

Ok good. What shebang does FreeBSD need? Just do not use the bash script then (it does not do anything, exect executing the binary in bin).

Regarding the documentation, the server.conf does not need to be modified - though you should modify it and use better secrets.

xxd is part of vim - i am pretty sure it is available on FreeBSD as well. Check http://www.freshports.org/editors/vim. Anyhow this is also only an example - you can use any other command to create hex encoded random data. Eg. use openssl rand -hex 32 assuming OpenSSL on FreeBSD can generate good quality random data.

oparoz commented 8 years ago

What shebang does FreeBSD need?

I've just created a PR with the change https://github.com/strukturag/spreed-webrtc/pull/256 :)

Just do not use the bash script then

I just wanted to follow the instructions, as a user wanting to quickly test the server. That way things can work the same for everybody instead of having to write workarounds.

Regarding the documentation, the server.conf does not need to be modified

If you don't you get warnings:

server 2016/02/10 22:12:40.980624 Warning: sessionSecret value is not a hex encoded encoding/hex: odd length hex string
server 2016/02/10 22:12:40.980871 Warning: encryptionSecret value is not a hex encoded encoding/hex: invalid byte: U+0074 't'

I wasn't sure what the impact would be.

Check http://www.freshports.org/editors/vim

Yep, but that's another port to install with it dependencies. It's a shame it isn't available on its own.

Eg. use openssl rand -hex 32 assuming OpenSSL on FreeBSD can generate good quality random data.

Thanks! I was about to use hd or hexdump, but that will do :)

longsleep commented 8 years ago

Just committed what i wrote while testing. So this is fixed and Spreed WebRTC should compile fine on FreeBSD now. Try it out (develop branch until it is released).

dacbarbos commented 8 years ago

@longsleep it seems to me that you created another error by changing the shebang. This was first reported by frederictr on Jan 18 2016. Because I hit the same issue, I decided to spend a bit of time to find out the root cause. Here it is: me@vm:~$ head -n1 /etc/init.d/spreed-webrtc #!/bin/sh me@vm:~$ egrep -n source /etc/init.d/spreed-webrtc 30: source /etc/default/$NAME This will raise an error on Ubuntu as source is a Bash built-in (valid for those trying the ppa package instead of building from source).

oparoz commented 8 years ago

@dacbarbos - Please try this change: https://github.com/strukturag/spreed-webrtc/pull/256/files

longsleep commented 8 years ago

Good catch, the source command should not be used, instead "." will do the trick. Will change asap.

Pammetje commented 8 years ago

I thought I would give it a new try on FreeBSD

I get the following error while compiling ==>

root@vps001:/usr/local/spreed-webrtc # setenv GOPATH /usr/local/spreed-webrtc-master/vendor:/usr/local/spreed-webrtc/ root@vps001:/usr/local/spreed-webrtc # make /usr/local/bin/go get app/... /usr/local/bin/go build -o bin/spreed-webrtc-server -ldflags '' app/spreed-webrtc-server ./install-sh -c -d /build/out /usr/local/bin/node /build/r.js -o /build/build.js dir=/build/out module.js:341 throw err; ^

Error: Cannot find module '/build/r.js' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Function.Module.runMain (module.js:447:10) at startup (node.js:142:18) at node.js:939:3 *\ Error code 1

Stop. make: stopped in /usr/local/spreed-webrtc

<==

Op 27-03-16 om 23:09 schreef Simon Eisenmann:

Good catch, the source command should not be used, instead "." will do the trick. Will change asap.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/strukturag/spreed-webrtc/issues/244#issuecomment-202145503Web Bug from https://github.com/notifications/beacon/APePBncA6f5Gak3kxqqORwv5ACvg6CQlks5pxvIHgaJpZM4GxzX-.gif

This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/, and is believed to be clean.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.