public inbox for [email protected]  
help / color / mirror / Atom feed
Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database
2+ messages / 2 participants
[nested] [flat]

* Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database
@ 2024-05-29 00:27  Ian Lawrence Barwick <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Ian Lawrence Barwick @ 2024-05-29 00:27 UTC (permalink / raw)
  To: Sumit Kochar <[email protected]>; +Cc: [email protected] <[email protected]>

2024年5月29日(水) 6:10 Sumit Kochar <[email protected]>:
>
> Installation of Foreign data Wrapper on EDB Postgres to connect to SQL server database is not working.
>
>
>
> https://github.com/tds-fdw/tds_fdw/issues/357
>
>
>
> Please advise if this has been encountered or a workaround is available.
(...)

> [root@hostip tds_fdw-2.0.3]# make USE_PGXS=1 install
>
> /opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I./include/ -fvisibility=hidden  -I. -I./ -I/usr/edb/as13/include/server -I/usr/edb/as13/include/internal -I/usr/libexec/edb-icu66/include/ -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include -flto=thin -emit-llvm -c -o src/tds_fdw.bc src/tds_fdw.c
>
> make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found

IIRC you'll need to find and install the SCLO package for Oracle Linux
7, assuming it's
available. For CentOS it's this repository:
http://mirror.centos.org/centos/7/sclo/ .

Regards

Ian Barwick






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database
@ 2024-05-29 03:43  Muhammad Imtiaz <[email protected]>
  parent: Ian Lawrence Barwick <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Muhammad Imtiaz @ 2024-05-29 03:43 UTC (permalink / raw)
  To: Ian Lawrence Barwick <[email protected]>; +Cc: Sumit Kochar <[email protected]>; [email protected] <[email protected]>

Hi ,

You need to install the  LLVM toolset.

1)Check that if it is installed or not :

yum list installed | grep llvm-toolset

2)If it is not installed, you can install it using the following command.
sudo yum install llvm-toolset-7

Regards,
Muhammad Imtiaz



On Wed, 29 May 2024 at 05:27, Ian Lawrence Barwick <[email protected]>
wrote:

> 2024年5月29日(水) 6:10 Sumit Kochar <[email protected]>:
> >
> > Installation of Foreign data Wrapper on EDB Postgres to connect to SQL
> server database is not working.
> >
> >
> >
> > https://github.com/tds-fdw/tds_fdw/issues/357
> >
> >
> >
> > Please advise if this has been encountered or a workaround is available.
> (...)
>
> > [root@hostip tds_fdw-2.0.3]# make USE_PGXS=1 install
> >
> > /opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes
> -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2
> -I./include/ -fvisibility=hidden  -I. -I./ -I/usr/edb/as13/include/server
> -I/usr/edb/as13/include/internal -I/usr/libexec/edb-icu66/include/
> -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include -flto=thin -emit-llvm
> -c -o src/tds_fdw.bc src/tds_fdw.c
> >
> > make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found
>
> IIRC you'll need to find and install the SCLO package for Oracle Linux
> 7, assuming it's
> available. For CentOS it's this repository:
> http://mirror.centos.org/centos/7/sclo/ .
>
> Regards
>
> Ian Barwick
>
>
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-05-29 03:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29 00:27 Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database Ian Lawrence Barwick <[email protected]>
2024-05-29 03:43 ` Muhammad Imtiaz <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox