FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.26k stars 217 forks source link

Add a switch to build linux binaries with builtin libtommath [CORE5205] #5486

Closed firebird-automations closed 8 years ago

firebird-automations commented 8 years ago

Submitted by: @paulbeach

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.

Commits: FirebirdSQL/firebird@8729f2b9f3c1d5b27c19bdd1b1b1c7718e10c59c FirebirdSQL/firebird@a11b0adb1e5ac12ec780fbdbf0740a7043cd7d98

firebird-automations commented 8 years ago
Modified by: @AlexPeshkoff assignee: Alexander Peshkov \[ alexpeshkoff \]
firebird-automations commented 8 years ago
Modified by: @AlexPeshkoff reporter: Alexander Peshkov \[ alexpeshkoff \] =\> Paul Beach \[ pbeach \]
firebird-automations commented 8 years ago

Commented by: @mkubecek

Can you be more specific about the problems on SLES? The packages from

http://download.opensuse.org/repositories/home:/mkubecek:/firebird30/SLE_11_SP4/ http://download.opensuse.org/repositories/home:/mkubecek:/firebird30/SLE_12/ http://download.opensuse.org/repositories/home:/mkubecek:/firebird30/SLE_12_SP1/

(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.

firebird-automations commented 8 years ago

Commented by: @AlexPeshkoff

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.

firebird-automations commented 8 years ago
Modified by: @AlexPeshkoff status: Open \[ 1 \] =\> Resolved \[ 5 \] resolution: Fixed \[ 1 \] Fix Version: 3\.0\.1 \[ 10730 \] Fix Version: 4\.0 Alpha 1 \[ 10731 \]
firebird-automations commented 8 years ago

Commented by: @mkubecek

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.

firebird-automations commented 8 years ago

Commented by: @paulbeach

This is also an issue for MacOSX where libtommath is not installed by default.

firebird-automations commented 8 years ago
Modified by: @pavel-zotov status: Resolved \[ 5 \] =\> Resolved \[ 5 \] QA Status: No test =\> Cannot be tested
firebird-automations commented 5 years ago

Commented by: Julien Nabet (julien2412)

On pc Debian x86-64 testing updated today, I can't build Firebird core updated today. I used ./autogen.sh --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