Linux Lite Forums

Software - Support => Installing Software => Topic started by: Sprintrdriver on November 07, 2019, 01:56:31 PM

Title: Noob problems trying to compile Gnumeric
Post by: Sprintrdriver on November 07, 2019, 01:56:31 PM
Hi.
I'm trying to compile Gnumeric, following the INSTALL file - but runs into problem imediately.
Code: [Select]
gnumeric-1.12.46  ./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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... no
checking whether NLS is requested... yes
./configure: line 3819: intltool-update: command not found
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.
And then:
Code: [Select]
gnumeric-1.12.46  make check
make: *** No rule to make target 'check'.  Stop.


I'll post updates - if I manage to get any way forward with this.

[edit]So using Synaptic, I didn't find gtk-doc directly,  but gtk-doc-tools. I hope this one include the gtk-doc also.
Title: Re: Noob problems trying to compile Gnumeric
Post by: Jerry on November 07, 2019, 02:25:08 PM
You're trying to compile software - Gnumeric, that requires newer packages. You should be able to get the version of software you need from Synaptic. There is a mismatch between what you are trying to install and what versions of dependencies you have. If you absolutely must have this version of Gnumeric, you'll have to find another way.

Sent from my Mobile phone using Tapatalk
Title: Re: Noob problems trying to compile Gnumeric
Post by: Sprintrdriver on November 07, 2019, 02:38:06 PM
Thanks Jerry.

However, I won't just give up - so I'm sorry if I waste time, but I want to try to figure out if I can do this - or if it somehow is completely impossible, or if it would take eons to guide me through it.

Anyway, I get slightly closer - one error message less now, after installing the gtk-doc-tools using Synaptic:

Code: [Select]
gnumeric-1.12.46  ./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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... no
checking whether NLS is requested... yes
./configure: line 3819: intltool-update: command not found
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.

So next one is to upgrade intltool - (I do that tomorrow, now is an important football match I just have to see, bye)
Title: Re: Noob problems trying to compile Gnumeric
Post by: Jerry on November 07, 2019, 02:39:45 PM
I've given you the best practice advise. Just be aware that if you try to force install this, there will be no Support for it.
Title: Re: Noob problems trying to compile Gnumeric
Post by: DeepThought on November 07, 2019, 03:26:32 PM
@Sprintrdriver  I'm interested in why you have chosen to compile gnumeric when it is available in the ubuntu repository.
A simple sudo apt install gnumeric should be enough to install.

I have gnumeric-1.12.35 installed myself using that command and I doubt there's any major difference with the gnumeric-1.12.46 you are trying to install.
Title: Re: Noob problems trying to compile Gnumeric
Post by: Sprintrdriver on November 09, 2019, 10:50:48 AM
@Sprintrdriver  I'm interested in why you have chosen to compile gnumeric when it is available in the ubuntu repository.
Not because it is easy. And maybe because I'm too stupid to realize it is too hard and should give up.


Anyway - this is as far I've got - after installing several packages according to output list from the ./configure command

Code: [Select]
checking for gzread in -lz... yes
Package libgoffice-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgoffice-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgoffice-0.10' found
Package libgoffice-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgoffice-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgoffice-0.10' found
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.18... yes
checking for GTK... no
configure: error: Package requirements (
gtk+-3.0 >= 3.8.7
) were not met:

No package 'gtk+-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

The last packages installed by Synfig is "libgoffice-0.10-10" and "libgoffice-0.10-10-common" (before above command output).

So that wasn't enough - maybe I also need to install the "libgoffice-0.10-dev" package ?
Title: Re: Noob problems trying to compile Gnumeric
Post by: Sprintrdriver on November 09, 2019, 11:02:41 AM
Update: Didn't work too well - here is what error I got when tried to install the "libgoffice-0.10-dev" package using Synaptic:

Code: [Select]
E: Unable to correct missing packages

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1_2.2.5-3ubuntu0.1_i386.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1_2.2.5-3ubuntu0.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libwayland-egl1-mesa_19.0.8-0ubuntu0~18.04.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxslt/libxslt1.1_1.1.29-5ubuntu0.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1-dev_2.2.5-3ubuntu0.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-common-dev_19.0.8-0ubuntu0~18.04.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libegl1-mesa-dev_19.0.8-0ubuntu0~18.04.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]


W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxslt/libxslt1-dev_1.1.29-5ubuntu0.1_amd64.deb
  404  Not Found [IP: 91.189.91.23 80]
Title: Re: Noob problems trying to compile Gnumeric
Post by: Moltke on November 09, 2019, 05:02:55 PM
You might be better off by installing virtualbox, create a Linux Lite virtual machine and try whatever it is you want to try there, so you don't mess your OS up. Just my 2 cents.