how to install Genieacs on ubuntu 16.04 LTS

Enomoto Kanako kanakoe1 at gmail.com
Wed May 11 21:53:21 EDT 2016


Hi Mr. Sergio

Thanks for your sharing.
I follow your guide(
https://github.com/zaidka/genieacs/wiki/Installation-in-Ubuntu-14.04-&-15.10)
to try to install and everything works until installing GenieACS GUI with
"bundle" command.
An error occurred while installing json (1.8.1).

I attach the installation log for your reference and appreciate your
response.


Many Thanks
KE.

2016-05-11 18:19 GMT+08:00 Sergio <sergio.fernandez at electronicamartinez.com>
:

> Good morning, Mr. Kanako
>
> I haven't tried it yet, but I think this way should work.
>
>
> https://github.com/zaidka/genieacs/wiki/Installation-in-Ubuntu-14.04-&-15.10
>
> That is the guide I wrote for Ubuntu 15.10, so presumably it is working
> for 16.04. If it is not working, please tell me where does it fail, so next
> time I install it in an Ubuntu 16.04, I try to do a workaround.
>
> PS. If you want to install a production server in Ubuntu 16.04, I would
> not recommend using it now. I would wait until 16.04.1 is released. You
> will prevent some nasty headaches.
>
> Sergio Fernández Rubio.
>
> El 11/05/16 a las 11:43, Enomoto Kanako escribió:
>
>
> Hi Sir/Madam
>
> I ever succeeded to installed Genieacs on ubuntu 14.04 LTS.
> However , recently I have a desktop ubuntu 16.04 LTS installed.
> I would like to install Genieacs on ubuntu 16.04 but fail.
> I have searched on google and tried  various kinds of method ,but still
> failed at last.
> Could you provide me  installation guide ?
>
>
> Many Thanks
>
> KE
>
>
> _______________________________________________
> Users mailing listUsers at lists.genieacs.comhttp://lists.genieacs.com/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160512/97db1484/attachment.html>
-------------- next part --------------
root at ubuntu:/tmp/genieacs-gui# bundle
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as ro
non-root users on this machine.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 10.3.2
Installing i18n 0.6.11
Installing json 1.8.1 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator
/usr/bin/ruby2.3 -r ./siteconf20160511-6353-1px2nde.rb extconf.rb
creating Makefile

current directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR=" clean

current directory: /var/lib/gems/2.3.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:0:
../fbuffer/fbuffer.h: In function ��fbuffer_to_s��:
../fbuffer/fbuffer.h:175:47: error: macro "rb_str_new" requires 2 arguments, but only 1 given
     VALUE result = rb_str_new(FBUFFER_PAIR(fb));
                                               ^
../fbuffer/fbuffer.h:175:20: warning: initialization makes integer from pointer without a cast [-Wint
     VALUE result = rb_str_new(FBUFFER_PAIR(fb));
                    ^
Makefile:239: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.3.0/gems/json-1.8.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86-linux/2.3.0/json-1.8.1/gem_make.out
Installing minitest 5.4.0
Installing thread_safe 0.3.4
Installing builder 3.2.2
Installing erubis 2.7.0
Installing rack 1.5.2
Installing mime-types 1.25.1
Installing polyglot 0.3.5
Installing arel 5.0.1.20140414130214
Installing coffee-script-source 1.7.1
Installing execjs 2.2.1
Using thor 0.19.1
Installing hike 1.2.3
Installing multi_json 1.10.1
Installing libv8 3.16.14.3 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/ext/libv8
/usr/bin/ruby2.3 -r ./siteconf20160511-6353-6bcz9s.rb extconf.rb
creating Makefile
Compiling v8 for ia32
Using python 2.7.11+
Using compiler: /usr/bin/g++
../src/bignum.cc: In member function ��void v8::internal::Bignum::AssignDecimalString(v8::internal::Ve
../src/bignum.cc:103:6: error: assuming signed overflow does not occur when assuming that (X + c) < X
 void Bignum::AssignDecimalString(Vector<const char> value) {
      ^
cc1plus: all warnings being treated as errors
make[1]: *** [/var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out/ia32.release/obj.target/preparse
make: *** [ia32.release] Error 2
/var/lib/gems/2.3.0/gems/libv8-3.16.14.3/ext/libv8/location.rb:36:in `block in verify_installation!':inary v8 archive '/var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out/ia32.release/obj.target/tool found (Libv8::Location::Vendor::ArchiveNotFound)
        from /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/ext/libv8/location.rb:35:in `each'
        from /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/ext/libv8/location.rb:35:in `verify_installatio
        from /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/ext/libv8/location.rb:26:in `install!'
        from extconf.rb:7:in `<main>'
GYP_GENERATORS=make \
build/gyp/gyp --generator-output="out" build/all.gyp \
              -Ibuild/standalone.gypi --depth=. \
              -Dv8_target_arch=ia32 \
              -S.ia32  -Dv8_enable_backtrace=1 -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 -D=vfpv3
make[1]: Entering directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out'
  CXX(target) /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out/ia32.release/obj.target/preparse
  CXX(target) /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out/ia32.release/obj.target/preparse
  CXX(target) /var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out/ia32.release/obj.target/preparse
tools/gyp/preparser_lib.target.ia32.mk:112: recipe for target '/var/lib/gems/2.3.0/gems/libv8-3.16.14eparser_lib/src/bignum.o' failed
make[1]: Leaving directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.3/vendor/v8/out'
Makefile:195: recipe for target 'ia32.release' failed

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/libv8-3.16.14.3 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86-linux/2.3.0/libv8-3.16.14.3/gem_make.out
Using bundler 1.11.2
Installing tilt 1.4.1
Installing ref 1.0.5
Installing sass 3.2.19
Installing sqlite3 1.3.9 with native extensions
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.


More information about the Users mailing list