Where are Teradata header files downloaded from? (DBD::Teradata build)

旧巷老猫 提交于 2019-12-11 18:48:23

问题


I am attempting to build the Perl DBD::Teradata DBI driver on 64 bit linux. However, I do not have the header files necessary to do so. According to the documentation (http://www.presicient.com/tdatdbd/), the following files are required:

parcel.h
dbcarea.h
coperr.h
coptypes.h 

I've spent hours scouring Teradata's site and the internet at large with no success. I saw mention of a CLIv2 developer's kit, but could not locate this either.

Could anyone point me to where I can get these files? I would sincerely appreciate the help.


回答1:


You should have searched your PC instead :-)

Installing the Teradata Client usually includes CLI, the header files are located in the Teradata Client directory under cliv2, e.g. in Windows

C:\program files\teradata\client\14.10\cliv2\inc

If you're running a different OS you might check the installation guide




回答2:


I was able to find the headers in one of the rpm files from the cliv2 linux download. I missed the second rpm file last time around and so I didn't find my files.

Here's the download link (as pointed out by dnoeth in comments below): downloads.teradata.com/download/connectivity/cliv2/linux

if you decompress the tarball you'll find the headers in this rpm: cliv2/cliv2-15.00.00.03-1.noarch.rpm

I am still not able to install the rpm, but I was able to pull the headers out for my DBD::Teradata build:

plxc16479> rpm2cpio cliv2/cliv2-15.00.00.03-1.noarch.rpm | cpio -idmv
./opt/teradata
./opt/teradata/client
./opt/teradata/client/15.00
./opt/teradata/client/15.00/include
./opt/teradata/client/15.00/include/cliv2if.h
./opt/teradata/client/15.00/include/coperr.h
./opt/teradata/client/15.00/include/coptypes.h
./opt/teradata/client/15.00/include/dbca2px.h
./opt/teradata/client/15.00/include/dbcarea.h
./opt/teradata/client/15.00/include/dbcerr.h
./opt/teradata/client/15.00/include/dbchqep.h
./opt/teradata/client/15.00/include/mosiif.h
./opt/teradata/client/15.00/include/parcel.h

Thanks for those that took the time to help out!



来源:https://stackoverflow.com/questions/24747452/where-are-teradata-header-files-downloaded-from-dbdteradata-build

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!