Issue Details (XML | Word | Printable)

Key: CORE-5205
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Paul Beach
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

Add a switch to build linux binaries with builtin libtommath

Created: 23/Apr/16 09:26 AM   Updated: 03/Feb/19 03:25 PM
Component/s: None
Affects Version/s: 4.0 Initial, 3.0.0
Fix Version/s: 3.0.1, 4.0 Alpha 1

Environment: linux

QA Status: Cannot be tested

 Description  « Hide
Some popular linux distro (SLES) have problems with tommath install. It will be good idea if SF binaries can install own copy of tommath in that case.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michal Kubeček added a comment - 23/Apr/16 10:10 AM
Can you be more specific about the problems on SLES? The packages from

(built in OBS project home:mkubecek:firebird30) seem to work for me. I recently disabled builds for SLE11 SP3 when it went to LTSS but I haven't seen any problems there either.

Alexander Peshkov added a comment - 24/Apr/16 11:47 AM
There are definitely a lot of ways to install that library (build from source s is also trivial) but tommath is not supported by official repository.

Michal Kubeček added a comment - 24/Apr/16 08:57 PM
I see. I agree that allowing to use embedded libtommath source is useful (it just shouldn't be default, IMHO). It was just the phrase "have problems with tommath install" which sounded as if there was some problem with building libtommath on SLE, installing it there or using it to build or run Firebird. If it was only about the absence in official repositories, that's something I cannot help with, or at least not in SLE <= 12.

Paul Beach added a comment - 25/Apr/16 07:20 AM
This is also an issue for MacOSX where libtommath is not installed by default.

Julien Nabet added a comment - 03/Feb/19 10:22 AM
On pc Debian x86-64 testing updated today, I can't build Firebird core updated today.
I used ./ --with-builtin-tommath --with-editline=no
but building gives:
/usr/bin/ld: cannot find -ltommath
collect2: error: ld returned 1 exit status

Of course, I can install tommath but the goal is to build without installing the package and take benefit of --with-builtin-tommath