Hi Constantine Please see below ... Am 27.02.2017 um 13:05 schrieb Constantine Frangos: > > Hi Kurt, > > Thanks for the fast response. > > I am using a system based on ubuntu 14.04 and I found a > package called ruby1.9.1-dev listed on the synaptic package > manager. >
I've read somehwere that ruby 2+ is required, but not sure. > I tried to mark this package for installation and there > was a message: Warning: NOT AUTHENTICATED. > > Should I go ahead and install the package anyway or is > there a risk that this may damage the system? I wouldn't recommend to proceed. Although there probably is no risk damaging your system by installing ruby-dev, I can't take any responsibility ;) Maybe a look into https://github.com/jordansissel/fpm/issues will give you a clue (especially https://github.com/jordansissel/fpm/issues/1264). BTW is your system up to date? apt update? apt upgrade? (Possibly it's still apt-get in LTS 14.0) > > Another alternative would be for somebody to put the > constructed fricas deb package on a website link > and for interested users to download it from there. The official tar.bz2 is really easy to install, I mean it makes no sense to download a *.deb file from a website. IMO it will make sense only if Fricas can be installed by "sudo apt install fricas" (including removal/update). Let's think about it (how, who and when?) > > Regards, > Constantine. > Best Kurt > ----- Original Message ----- > From: "Kurt Pagani" <nil...@gmail.com> > To: fricas-devel@googlegroups.com > Sent: Monday, February 27, 2017 2:13:09 AM > Subject: Re: [fricas-devel] Re: Debian package > > Hi Constantine > > You're right. I've tried on several machines and while the install properly > works on some, it goes wrong on others. > > Since all those were it didn't work are missing ruby2.3-dev I guess that > > sudo apt install ruby2.3-dev > > might solve the problem (it did for me actually). > > Hope it helps > Kurt > > > > > Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64) > > kfp@helix:~$ sudo gem install fpm > [sudo] password for kfp: > Fetching: cabin-0.9.0.gem (100%) > Successfully installed cabin-0.9.0 > Fetching: backports-3.6.8.gem (100%) > Successfully installed backports-3.6.8 > Fetching: arr-pm-0.0.10.gem (100%) > Successfully installed arr-pm-0.0.10 > Fetching: clamp-1.0.1.gem (100%) > Successfully installed clamp-1.0.1 > Fetching: ffi-1.9.17.gem (100%) > Building native extensions. This could take a while... > ERROR: Error installing fpm: > ERROR: Failed to build gem native extension. > > current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.17/ext/ffi_c > /usr/bin/ruby2.3 -r ./siteconf20170227-17672-4tkt43.rb extconf.rb > mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h > > extconf failed, exit code 1 > > Gem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-1.9.17 for > inspection. > Results logged to > /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.17/gem_make.out > kfp@helix:~$ > > > > Am 26.02.2017 um 23:43 schrieb Constantine Frangos: >> >> Hi Kurt, >> >> I tried to install fpm as shown in the indicated website but there >> was an error message - see below. >> >> Any suggestions on what to do would be helpful - thanks. >> >> Regards, >> Constantine. >> >> >> sudo gem install fpm >> >> Fetching: json-1.8.6.gem (100%) >> Building native extensions. This could take a while... >> ERROR: Error installing fpm: >> ERROR: Failed to build gem native extension. >> >> /usr/bin/ruby1.9.1 extconf.rb >> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load >> such file -- mkmf (LoadError) >> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> from extconf.rb:1:in `<main>' >> >> >> Gem files will remain installed in /var/lib/gems/1.9.1/gems/json-1.8.6 for >> inspection. >> Results logged to >> /var/lib/gems/1.9.1/gems/json-1.8.6/ext/json/ext/generator/gem_make.out >> >> >> >> ----- Original Message ----- >> From: "Kurt Pagani" <nil...@gmail.com> >> To: "FriCAS - computer algebra system" <fricas-devel@googlegroups.com> >> Sent: Saturday, February 25, 2017 7:50:21 PM >> Subject: [fricas-devel] Re: Debian package >> >> >> Constanitne Frangos asked in a previous post: >> >> (2) Is there a debian package for fricas that can be >> conveniently installed with the synaptic package manager >> in ubuntu based linux? >> >> AFAIK there isn't one at the moment, right? >> In case there is some interest I'd suggest using "fpm" >> >> https://github.com/jordansissel/fpm/wiki >> >> which is a really great tool to build various packages with ease. >> The following command, for example, builds a .deb from the official "tar": >> >> fpm -s tar -t deb -n fricas -v 1.3.1 fricas-1.3.1.amd64.tar.bz2 >> >> Check content with: dpkg -c fricas_1.3.1_amd64.deb >> >> It is also possible to build it from an already installed distribution by >> choosing "-s dir". >> Of course one may configure a lot of other things and nicely wrap it up into >> a script. >> >> >> >> >> >> >> >> >> >> On Saturday, 11 April 2009 15:08:31 UTC+2, Gregory Vanuxem wrote: >> >> Dear Fricas developper, >> >> I have built a Debian package with what is in the debian subdirectory of >> src/contrib. From memory I encountered the following things: >> >> . the efricas script is not installed with the executable bit set >> . the script that builds the debian package try to remove an unexisting >> file ('axiom') >> . several wrong things when trying to install the emacs lisp files. >> Problem of path I think >> >> Thats all if memory does not deserve me. >> >> Regards, >> >> Greg >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.