Re: [Firebird-devel] Fb3 and embedded
On 06/06/12 19:18, Paul Reeves wrote: So, to summarize, I've got empbuild.exe to work by copying fbclient.dll to the empbuild dir, creating a plugins sub directory and copying engine12.dll to it. This seems a bit clumsy. make_examples.bat adds the newly built engine to the path. empbuild.exe can load fbclient.dll correctly but that fbclient does not seem to be able to load engine12 from the plugins dir underneath it. However, if the files are copied as I mentioned above it all works. (Ie, empbuild.exe builds empbuild.fdb.) So, is this how embedded is meant to work on windows? All files must be physically located in the correct dir structure local to the executable? I've always thought that plugins dir is meant to be found where fbclient.dll is placed. At the first glance this looks like incorrect FbRoot detection. Can you try to set FIREBIRD in environment to where files are built initially and check, does it help to find engine12.dll at original place? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Thursday 07 Jun 2012 12:10:57 Alex Peshkoff wrote: Can you try to set FIREBIRD in environment to where files are built initially and check, does it help to find engine12.dll at original place? Yes, that works! At least, my quick test shows it works. I'll clean things up and add it to the batch file and test more thoroughly. Thanks, Alex. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Thursday 07 Jun 2012 13:34:07 Alex Peshkoff wrote: Certainly setting environment in batch file is better than having running server, but ideally it should work without environment variable. Suppose FbRoot detection on windows should be checked. Yes, it would be better if the env var was not necessary. But at least for now I can get on fixing the packaging for Fb 3 on windows. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On 06/06/12 14:43, Paul Reeves wrote: How does embedded work in FB3? I'm wondering because make_examples.bat fails unless fb3 is running. It would be nice to build the employee database using the newly built engine but I can't see how to do that at the moment. Paul, telling true I hardly understand why do you have such a problem. On linux employee database is built using new engine in embedded mode, and that works fine. Possible reason may be failure (no idea - why) loading engine12 library by plugin manager. On linux tools needed (isql, empbuild) are just linked against newly built fbclient. It works with local databases in embedded mode by default. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Wednesday 06 Jun 2012 16:48:40 Alex Peshkoff wrote: On 06/06/12 14:43, Paul Reeves wrote: How does embedded work in FB3? I'm wondering because make_examples.bat fails unless fb3 is running. It would be nice to build the employee database using the newly built engine but I can't see how to do that at the moment. Paul, telling true I hardly understand why do you have such a problem. No, I don't understand it either. If firebird is not running I'm just getting 'unavaliable database' when empbuild tries to build employee.fdb. Anyway, I'll run it through the debugger and see what happens. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
From: Alex Peshkoff [mailto:peshk...@mail.ru] Sent: Wednesday, June 06, 2012 3:00 PM To: firebird-devel@lists.sourceforge.net Subject: Re: [Firebird-devel] Fb3 and embedded On 06/06/12 14:43, Paul Reeves wrote: How does embedded work in FB3? I'm wondering because make_examples.bat fails unless fb3 is running. It would be nice to build the employee database using the newly built engine but I can't see how to do that at the moment. Paul, telling true I hardly understand why do you have such a problem. On linux employee database is built using new engine in embedded mode, and that works fine. Possible reason may be failure (no idea - why) loading engine12 library by plugin manager. On linux tools needed (isql, empbuild) are just linked against newly built fbclient. It works with local databases in embedded mode by default. I had to modify the make_examples.bat for version 2.5 to build the example database. In the following section, fbembed.dll must be copied to fbclient.dll,and not the fbclient.dll to fbclient.dll as in repository stored. :BUILD_EMPBUILD @echo. @echo Building empbuild.fdb @copy /y %FB_OUTPUT_DIR%\bin\isql.exe %FB_GEN_DIR%\examples\ nul @copy /y %FB_OUTPUT_DIR%\bin\fbembed.dll %FB_GEN_DIR%\examples\fbclient.dll nul Regards Christian Waldmann -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
-Original Message- From: Alex Peshkoff [mailto:peshk...@mail.ru] Sent: Wednesday, June 06, 2012 3:00 PM To: firebird-devel@lists.sourceforge.net Subject: Re: [Firebird-devel] Fb3 and embedded On 06/06/12 14:43, Paul Reeves wrote: How does embedded work in FB3? I'm wondering because make_examples.bat fails unless fb3 is running. It would be nice to build the employee database using the newly built engine but I can't see how to do that at the moment. Paul, telling true I hardly understand why do you have such a problem. On linux employee database is built using new engine in embedded mode, and that works fine. Possible reason may be failure (no idea - why) loading engine12 library by plugin manager. On linux tools needed (isql, empbuild) are just linked against newly built fbclient. It works with local databases in embedded mode by default. I had to modify the make_examples.bat for version 2.5 to build the example database. In the following section, fbembed.dll must be copied,and not the fbclient as in repository stored. :BUILD_EMPBUILD @echo. @echo Building empbuild.fdb @copy /y %FB_OUTPUT_DIR%\bin\isql.exe %FB_GEN_DIR%\examples\ nul @copy /y %FB_OUTPUT_DIR%\bin\fbembed.dll %FB_GEN_DIR%\examples\fbclient.dll nul Regards Christian Waldmann -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
From: Alex Peshkoff [mailto:peshk...@mail.ru] Sent: Wednesday, June 06, 2012 3:00 PM To: firebird-devel@lists.sourceforge.net Subject: Re: [Firebird-devel] Fb3 and embedded On 06/06/12 14:43, Paul Reeves wrote: How does embedded work in FB3? I'm wondering because make_examples.bat fails unless fb3 is running. It would be nice to build the employee database using the newly built engine but I can't see how to do that at the moment. Paul, telling true I hardly understand why do you have such a problem. On linux employee database is built using new engine in embedded mode, and that works fine. Possible reason may be failure (no idea - why) loading engine12 library by plugin manager. On linux tools needed (isql, empbuild) are just linked against newly built fbclient. It works with local databases in embedded mode by default. I had to modify the make_examples.bat for version 2.5 to build the example database. In the following section, fbembed.dll must be copied,and not the fbclient.dll as in repository stored. :BUILD_EMPBUILD @echo. @echo Building empbuild.fdb @copy /y %FB_OUTPUT_DIR%\bin\isql.exe %FB_GEN_DIR%\examples\ nul @copy /y %FB_OUTPUT_DIR%\bin\fbembed.dll %FB_GEN_DIR%\examples\fbclient.dll nul Regards Christian Waldmann -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Wednesday 06 Jun 2012 15:35:13 Christian Waldmann wrote: I had to modify the make_examples.bat for version 2.5 to build the example database. In the following section, fbembed.dll must be copied,and not the fbclient as in repository stored. Thanks for the reminder. Only problem is that fbembed.dll doesn't exist in Fb 3.0 :-) But that reminded me about Alex's earlier comment - engine12.dll is needed but is not being found,even though the path is set. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
Hello Paul Here is the link to the issues I had reported to the version 2.5.1 make scripts: http://sourceforge.net/mailarchive/message.php?msg_id=27081999 At least the modification for make_examples.bat are not in the trunk. Maybe the same is missing in FB3 trunk Best regards Christian P.S.: Sorry for triple posting, sometimes I am too impatient... -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Wednesday 06 Jun 2012 16:21:25 Paul Reeves wrote: But that reminded me about Alex's earlier comment - engine12.dll is needed but is not being found,even though the path is set. So, to summarize, I've got empbuild.exe to work by copying fbclient.dll to the empbuild dir, creating a plugins sub directory and copying engine12.dll to it. This seems a bit clumsy. make_examples.bat adds the newly built engine to the path. empbuild.exe can load fbclient.dll correctly but that fbclient does not seem to be able to load engine12 from the plugins dir underneath it. However, if the files are copied as I mentioned above it all works. (Ie, empbuild.exe builds empbuild.fdb.) So, is this how embedded is meant to work on windows? All files must be physically located in the correct dir structure local to the executable? Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Fb3 and embedded
On Wednesday 06 Jun 2012 17:18:19 Paul Reeves wrote: However, if the files are copied as I mentioned above it all works. (Ie, empbuild.exe builds empbuild.fdb.) Whoops, I meant to write empbuild.exe builds employee.fdb. empbuild.fdb already exists. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel