| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| Hi Gang: I'm trying to build the Perl DBD for Ingres on Windows XP. So, ActiveState Perl is installed. Both nmake and dmake are installed. (dmake fails to run cleanly and crashes, nmake runs through ok). Ingres r3 is installed. MinGW and Msys to provide a gcc environment are installed, and I can satisfactorily make and install and run Math::FFT for example. I had to tweak the makefile in several ways; the makefile as generated was looking for the libs in abflnk.opt (libingres.lib, shell32.lib etc), whereas it looks to me as if I need to link against shell32.a etc. Libingres.lib is ok. Got it to compile - lots of warnings, which I can post if it helps, but when I try a simple connect to an r3 database perl just dies - there is an error report that I can post too, if needed. (I can use DBD::ODBC to connect to the same database ok, but then that was a precompiled module from Active State) The question is - has anyone got DBD::Ingres working on Windows with Active State Perl? If so, pointers would be appreciated. Roger |
|
#2
|
| Roger Hill > Ingres r3 is installed. I know of people who have installed DBD::Ingres on Win32 and ActiveState Perl, but using earlier versions of Ingres, ie. 6.4 or OI 1.2. I have not heard of anyone using r3 with success on Win32 - but not of the opposite till now. > MinGW and Msys to provide a gcc environment are installed, and I can > satisfactorily make and install and run Math::FFT for example. > > I had to tweak the makefile in several ways; the makefile as generated > was looking for the libs in abflnk.opt (libingres.lib, shell32.lib etc), > whereas it looks to me as if I need to link against shell32.a etc. > Libingres.lib is ok. DBD::Ingres is an ESQL/C program, as you no doubt are aware, and the best guesstimate of which libraries to use is abflnk.opt - if you can point me at another and better place, then please do so. > > Got it to compile - lots of warnings, which I can post if it helps, but > when I try a simple connect to an r3 database perl just dies - there is > an error report that I can post too, if needed. (I can use DBD::ODBC to > connect to the same database ok, but then that was a precompiled module > from Active State) Have you tried setting DBI_TRACE to a high value (4 or 5 should do it) and see where it hangs? > > The question is - has anyone got DBD::Ingres working on Windows with > Active State Perl? If so, pointers would be appreciated. Please - to me also! -- Henrik Tougaard, DBD::Ingres maintainer htoug-at-cpan.org |
![]() |
| Thread Tools | |
| Display Modes | |