Hi there, I'm having a PowerBuilder aplication that connects to a Sybase data base through an ODBC. The application works fine on Windows, but I want to make it run on a Mandriva 2010.2 distribution. The fact is, I could run it on a machine with Mandriva 2010.2, but now I want to do an installation from scratch to another computer, but it does't work. The kernel version that I'm using is: 2.6.33.7-desktop-2mnb The version of Wine on the computer that works is: 1.2.rc4 The version of Wine on the computer that doesn't work is: 1.3.22 This is what I have done on the PC that works: I have installed Wine 1.2-rc4, SQL Anywhere 12.0.1 for Windows on Wine, to get a Sybase driver for Wine, SQL Anywhere 12.0.1 for Linux to get the engine where the fisical data base runs. I run SQL Anywhere 12 Network Server (dbsrv12), that handles the fisical database file (xxx.db). With a odbcad32.exe I make on ODBC that do a "Network Connection" to localhost with the parameters that it needs. When I do a "Test Connection" I get the message "Conection Successful". When I execute the PowerBuilder Application, everything seems to be right. I can use the program and see the data base information. I do the same on the PC that don't work, with the Wine version difference. And when I do the "Test Connection", I get the same message: "Connection Successful", but when I execute the PowerBuilder Application I get an error message about the connection with the ODBC. Obviously, I have the same copy of the PowerBuilder application on bouth machines. I know that I can do a ODBC with unixODBC, but when I have tried this with a Sybase driver fot Linux, I can't get it work even on Linux. Could anyone help me know what is missing from the PC that does not work?
What happens if you copy the prefix folder over? That would prove if it is a WINE version regression of the WINE program itself, or if it's "just" a registry value or dll or something like that that needs to be tweaked. What I mean is, on the Linux installation that it is working in, if you copy the working WINE prefix folder (folder you installed the program into, by default a folder named ".wine" in your home folder) over to this other machine, and renamed the folder to, say, "PowerBuilder", and ran the program out of that prefix by specifying "WINEPREFIX=[path to PowerBuilder prefix folder]", would it work then? You'd just go to terminal and enter "WINEPREFIX=[path to PowerBuilder prefix folder] wine [path to PowerBuilder executable, or whatever it is that you run]". If it works, you can make a launcher that does all that for you so you can run it with a simple double-click. Cheers, Jake[/list]
RegShot and WhatChanged are both free, but only RegShot is open source. RegShot takes snapshots of the registry and compares them, telling you the registry values and keys that have been added, removed, and modified going from the first snapshot to the second. You can save snapshots of the registry with it to *.hiv files. You can run RegShot in one prefix, get the *.hiv, save it, run RegShot in the other prefix, save the snapshot *.hiv file, and have RegShot compare the two. That will show any registry differences. Maybe you can make a script that shows the differences between two directories: http://www.astahost.com/info.php/Bash-Shell-Scripting-Comparing-Directories_t19548.html Cheers, Jake
Sorry, I post that on spanish, hahahahhaa [Embarassed] I mean: Everything seems to work fine. I am doing test of functionability on every module of the application. I will post it on the AppDB :D Thanks for everything.
haha, its wonderful
japegamx wrote:> Sorry, I post that on spanish, hahahahhaa [Embarassed] > > I mean: > > Everything seems to work fine. I am doing test of functionability on every module of the application. > > I will post it on the AppDB :D > > Thanks for everything.Maybe I missed it, but could you tell us which version of PowerBuilder you are using?