Обсуждение: [GENERAL] Because PostgreSQL is compiling in old versions of OS?

Поиск
Список
Период
Сортировка

[GENERAL] Because PostgreSQL is compiling in old versions of OS?

От
DrakoRod
Дата:
Hi everyone!

I want to develop a installer for many purposes, but i have a question, when
I review the currently PostgreSQL versions, I see Ubuntu 5 or RHEL 4 , when
currently we have Ubuntu 16 or RHEL 7. for example:

/PostgreSQL 9.6.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7
20120313 (Red Hat 4.4.7-16), 64-bit

PostgreSQL 9.6.5 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu
5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609, 64-bit/

This is a standard, convention or is for compatibility? Which the best OS
version to complining with the goal to build binaries "standard" o "more
compatible"?

Thanks for your help!



-----
Dame un poco de fe, eso me bastará.
Rozvo Ware Solutions
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Because PostgreSQL is compiling in old versions of OS?

От
José María Terry Jiménez
Дата:
El 8/11/17 a las 20:28, DrakoRod escribió:

> Hi everyone!
>
> I want to develop a installer for many purposes, but i have a question, when
> I review the currently PostgreSQL versions, I see Ubuntu 5 or RHEL 4 , when
> currently we have Ubuntu 16 or RHEL 7. for example: 
>
> /PostgreSQL 9.6.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7
> 20120313 (Red Hat 4.4.7-16), 64-bit 
>
> PostgreSQL 9.6.5 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu
> 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609, 64-bit/
>
> This is a standard, convention or is for compatibility? Which the best OS
> version to complining with the goal to build binaries "standard" o "more
> compatible"?
>
> Thanks for your help! 
>
>
Hello

You're wrong, that are gcc versions, not OS versions.

For example in my CentOS 6 Box

cat /etc/redhat-release
CentOS release 6.9 (Final)

gcc -v
[...trimmed...]
gcc versión 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)

Best


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Because PostgreSQL is compiling in old versions of OS?

От
John R Pierce
Дата:
On 11/8/2017 11:28 AM, DrakoRod wrote:
> Which the best OS version to complining with the goal to build binaries "standard" o "more compatible"?


thats very difficult because library versions change between major 
distro releases.   Stuff compiled for RHEL6/CentOS6 will run on 
RHEL7/CentOS7 if you install the corresponding -compat libraries, but 
thats about as good as it gets.



-- 
john r pierce, recycling bits in santa cruz



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Because PostgreSQL is compiling in old versions of OS?

От
DrakoRod
Дата:
Oh!!


Jose Maria TJ wrote
> You're wrong, that are gcc versions, not OS versions.
>
> For example in my CentOS 6 Box
>
> cat /etc/redhat-release
> CentOS release 6.9 (Final)
>
> gcc -v
> [...trimmed...]
> gcc versión 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)

You're right!. Is the GGC version, not the OS version

Great! I think that I compiling in a GGC 4.X version is good for most SO
distribution right?

Thanks!




-----
Dame un poco de fe, eso me bastará.
Rozvo Ware Solutions
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Because PostgreSQL is compiling in old versions of OS?

От
Jose Maria Terry Jimenez
Дата:
El 11/11/17 a las 0:48, DrakoRod escribió:
> Oh!!
>
>
> Jose Maria TJ wrote
>> You're wrong, that are gcc versions, not OS versions.
>>
>> For example in my CentOS 6 Box
>>
>> cat /etc/redhat-release
>> CentOS release 6.9 (Final)
>>
>> gcc -v
>> [...trimmed...]
>> gcc versión 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)
> You're right!. Is the GGC version, not the OS version
>
> Great! I think that I compiling in a GGC 4.X version is good for most SO
> distribution right?
>
> Thanks!
>
>
You're welcome!


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general