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
Alexander Peshkov made changes - 23/Apr/16 09:26 AM
Field Original Value New Value
Assignee Alexander Peshkov [ alexpeshkoff ]
Alexander Peshkov made changes - 23/Apr/16 09:26 AM
Reporter Alexander Peshkov [ alexpeshkoff ] Paul Beach [ pbeach ]
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.

Alexander Peshkov made changes - 24/Apr/16 03:11 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.1 [ 10730 ]
Fix Version/s 4.0 Alpha 1 [ 10731 ]
Resolution Fixed [ 1 ]
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.

Pavel Zotov made changes - 25/Apr/16 06:25 PM
Status Resolved [ 5 ] Resolved [ 5 ]
QA Status No test Cannot be tested
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

Paul Beach made changes - 03/Feb/19 03:25 PM
Comment [ The goal of --with-builtin-tommath is to allow users to deploy builds of Firebird without havong to install
libtommath.... if you want to build Firebird from source code you need to install the libraries on your
development system.