Annexes:FreeTds : Différence entre versions
(Page créée avec « Téléchargez les sources et mettez-les dans /tmp : <pre> [root@vmsqwarebox tmp]# su - mssql $ cd /applis/mssql $ tar zxvf /tmp/freetds-patched.tar.gz freetds-0.95.69/incl... ») |
|||
Ligne 1 : | Ligne 1 : | ||
Téléchargez les sources et mettez-les dans /tmp : | Téléchargez les sources et mettez-les dans /tmp : | ||
<pre> | <pre> | ||
− | [root@vmsqwarebox | + | # https://www.freetds.org/ |
− | $ cd /applis/mssql | + | # ftp://ftp.freetds.org/pub/freetds/stable/ |
− | $ tar zxvf /tmp/freetds- | + | # freetds-1.2.13.tar.gz |
− | + | ||
− | + | [root@vmsqwarebox ~]# su - mssql | |
− | + | mssql@vmsqwarebox:/home/mssql () $ cd /applis/mssql/ | |
+ | mssql@vmsqwarebox:/applis/mssql () $ tar zxvf /tmp/freetds-1.2.13.tar.gz | ||
</pre> | </pre> | ||
<br> | <br> | ||
Ligne 12 : | Ligne 13 : | ||
Compilation : | Compilation : | ||
<pre> | <pre> | ||
− | $ cd /applis/mssql/freetds- | + | mssql@vmsqwarebox:/applis/mssql () $ cd /applis/mssql/freetds-1.2.13 |
− | $ ./configure --prefix=/applis/mssql/freetds | + | mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ ./configure --prefix=/applis/mssql/freetds |
checking for a BSD-compatible install... /usr/bin/install -c | checking for a BSD-compatible install... /usr/bin/install -c | ||
checking whether build environment is sane... yes | checking whether build environment is sane... yes | ||
Ligne 20 : | Ligne 21 : | ||
... | ... | ||
− | $ make | + | mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ make |
Making all in include | Making all in include | ||
− | make[1]: Entering directory `/applis/mssql/freetds- | + | make[1]: Entering directory `/applis/mssql/freetds-1.2.13/include' |
make all-recursive | make all-recursive | ||
− | make[2]: Entering directory `/applis/mssql/freetds- | + | make[2]: Entering directory `/applis/mssql/freetds-1.2.13/include' |
... | ... | ||
− | $ make install | + | mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ make install |
Making install in include | Making install in include | ||
− | make[1]: Entering directory `/applis/mssql/freetds- | + | make[1]: Entering directory `/applis/mssql/freetds-1.2.13/include' |
... | ... | ||
</pre> | </pre> | ||
Ligne 35 : | Ligne 36 : | ||
Ménage : | Ménage : | ||
<pre> | <pre> | ||
− | $ rm -rf /applis/mssql/freetds- | + | $ rm -rf /applis/mssql/freetds-1.2.13 |
− | $ rm -f /tmp/freetds- | + | $ rm -f /tmp/freetds-1.2.13.tar.gz |
</pre> | </pre> | ||
<br> | <br> |
Version du 20 décembre 2020 à 15:07
Téléchargez les sources et mettez-les dans /tmp :
# https://www.freetds.org/ # ftp://ftp.freetds.org/pub/freetds/stable/ # freetds-1.2.13.tar.gz [root@vmsqwarebox ~]# su - mssql mssql@vmsqwarebox:/home/mssql () $ cd /applis/mssql/ mssql@vmsqwarebox:/applis/mssql () $ tar zxvf /tmp/freetds-1.2.13.tar.gz
Compilation :
mssql@vmsqwarebox:/applis/mssql () $ cd /applis/mssql/freetds-1.2.13 mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ ./configure --prefix=/applis/mssql/freetds checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes ... mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ make Making all in include make[1]: Entering directory `/applis/mssql/freetds-1.2.13/include' make all-recursive make[2]: Entering directory `/applis/mssql/freetds-1.2.13/include' ... mssql@vmsqwarebox:/applis/mssql/freetds-1.2.13 () $ make install Making install in include make[1]: Entering directory `/applis/mssql/freetds-1.2.13/include' ...
Ménage :
$ rm -rf /applis/mssql/freetds-1.2.13 $ rm -f /tmp/freetds-1.2.13.tar.gz
Lien lib 64bits :
$ cd /applis/mssql/freetds $ ln -s lib lib64 $ ls -l |grep lib drwxr-xr-x 2 mssql dba 4096 Nov 23 09:38 lib lrwxrwxrwx 1 mssql dba 3 Nov 23 09:41 lib64 -> lib