Recent

Author Topic: IBX 2.3-4 Fails to install  (Read 369 times)

dfergfla

  • New Member
  • *
  • Posts: 48
IBX 2.3-4 Fails to install
« on: September 20, 2020, 04:27:16 am »
I just have to say this.  My overall frustration with Lazarus as a tool is reaching a boiling point.  Every time I turn around I have to spend hours and hours trying to work out why things don't work. 

The install for IBX is fairly straight forward.
From page 7 of the manual:

Unpack the source code archive into some suitable permanent location, as described above, and open the dclibx.lpk package description file using the Package->Open Package File menu item to open the file.  When the Package Editor opens, click on Use->Install. Lazarus will now recompile itself and restart.

I am not a stupid person so even I a total newbie can follow these directions.  But as with installing almost anything that isn't included with Lazarus by default.  It simply fails.  I am so tired and frustrated by this type of thing happening over and over and over.  I am so ready to just pay the 600.00 for Xojo.  It may be expensive but at least it works.  Yes, I know this is "open source" and people work on it in their spare time and I am grateful.  But is it too much to expect for it to work?  I'm sorry I'm being mean and bitchy.  But seriously, every day I have used this it's been one thing after an other... again and again... and again.   I have spent more hours just trying to get things working in the IDE than I have spent trying to learn how to code.

I would use Online Package Manager, but the version on there seems to be old at 2.3.0 and after installing that one, which it did install.  I got all kinds of strange errors including random "access violation" errors and absolutely nothing would compile with it.  So, I downloaded the latest version from the website 2.3.4 and can't get that one to install at all.

Windows 10 64bit.
Lazarus 2.0.10
« Last Edit: September 20, 2020, 04:35:08 am by dfergfla »

dsiders

  • Sr. Member
  • ****
  • Posts: 373
Re: IBX 2.3-4 Fails to install
« Reply #1 on: September 20, 2020, 05:39:37 am »
I just have to say this.  My overall frustration with Lazarus as a tool is reaching a boiling point.  Every time I turn around I have to spend hours and hours trying to work out why things don't work. 

The install for IBX is fairly straight forward.
From page 7 of the manual:

Unpack the source code archive into some suitable permanent location, as described above, and open the dclibx.lpk package description file using the Package->Open Package File menu item to open the file.  When the Package Editor opens, click on Use->Install. Lazarus will now recompile itself and restart.

I am not a stupid person so even I a total newbie can follow these directions.  But as with installing almost anything that isn't included with Lazarus by default.  It simply fails.  I am so tired and frustrated by this type of thing happening over and over and over.  I am so ready to just pay the 600.00 for Xojo.  It may be expensive but at least it works.  Yes, I know this is "open source" and people work on it in their spare time and I am grateful.  But is it too much to expect for it to work?  I'm sorry I'm being mean and bitchy.  But seriously, every day I have used this it's been one thing after an other... again and again... and again.   I have spent more hours just trying to get things working in the IDE than I have spent trying to learn how to code.

I would use Online Package Manager, but the version on there seems to be old at 2.3.0 and after installing that one, which it did install.  I got all kinds of strange errors including random "access violation" errors and absolutely nothing would compile with it.  So, I downloaded the latest version from the website 2.3.4 and can't get that one to install at all.

Windows 10 64bit.
Lazarus 2.0.10

You're not reading the error messages.

There are two copies of the library on your system and the IDE is confused by the duplication. Remove one (or the other) entirely and the problem goes away.

Lazarus 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1

dfergfla

  • New Member
  • *
  • Posts: 48
Re: IBX 2.3-4 Fails to install
« Reply #2 on: September 20, 2020, 06:20:28 am »
1st Thank You.

now 10 min after I got past that.  I was able to put together a very simple ibx app using the employee.fb.  When in design mode I am all connected up and I can see live data from the employee table in the grid.  then when I try to compile it I get "Transaction not active."  So, this one I am pretty sure is my fault.  So, I am off trying to figure out what this is.  I'm sure it has something to do with the transaction component.  But it is set to 'active' at design time and the documentation says (5.2.1 When set at design time will cause the transaction to be started as soon as it has loaded" so not sure what's up yet.  But again, so much of this is not written for a beginner.  I'm sure there is something missing but it doesn't seem to be in the documentation.  The only other database I have tried was an sqlight demo and that went ok.  Is this really just an IDE for former Delphi devs with years of experience?  I am really serious about this question.  I have looked at youtube for videos on this and I have found a few, but all in other languages I don't speak.  While I'm not saying there is anything at all wrong with that.  I'm just not sure what to do.  It's clear the documentation for this IBX and so many other things in Lazarus is written by developers for other developers.  I even tried something on my own.  I put BTransaction1.Active := True; into the from open even, the from activate event... nothing works.

But, I have gotten farther and learned more..  Too tired, off to bed.  I try again tomorrow.
« Last Edit: September 20, 2020, 06:40:06 am by dfergfla »

mobilevil

  • Jr. Member
  • **
  • Posts: 59
    • http://www.kachun.com
Re: IBX 2.3-4 Fails to install
« Reply #3 on: September 20, 2020, 07:56:44 am »
I am not an IBX expert but...

procedure TForm1.FormCreate(Sender: TObject);
begin
  IBDatabase1.Open;
  IBTransaction1.Active:=true;
  IBDataset1.Open;
end;     

zeljkoc

  • Full Member
  • ***
  • Posts: 125
    • Zeljko Cvijanovic
Re: IBX 2.3-4 Fails to install
« Reply #4 on: September 20, 2020, 09:31:00 am »
maybe it will help

 IBDataSet1.AllowAutoActivateTransaction := true;     

dfergfla

  • New Member
  • *
  • Posts: 48
Re: IBX 2.3-4 Fails to install
« Reply #5 on: September 21, 2020, 12:19:20 am »
I want to take a moment to thank those who tried to help.  Unfortunately after an other 6 hours of trying the suggestions here, google, searching the manual.  I am still not able to actually run a very, very simple program.  With seemingly no way to find the answers I need as a beginner I am moving to Xojo.  I am disappointed.  I really wanted to learn Pascal and Lazarus.  I had tried in the past just a little here and there.  This is the  farthest I have gotten.  Lazarus and FPC are the only tools in my reach to allow me to fiddle with software on my favorite alternative platforms.  Amiga and Haiku OS.  But is not to be.  I want to state that I do not think that Lazarus or FPC are in anyway bad tools.  They just are not for beginners.  Just in case anyone is interested in my experience as a total beginner here is what I ran into.

There are just too many old examples that don't apply anymore due to changes made over the years.  But, as a newbie I had no way to know this.  So, I would fight with it and fight with it.  There is very, very little documentation geared toward teaching someone this tool.  Almost, but not all, is geared toward a person coming from Delphi who only needs to know a how Lazarus is different.  I am sure the IBX manual would be of great benefit to someone who already knew the basics of how to use databases in Lazarus.  The manual is very detailed on all the different controls and properties and what is there.  What it doesn't have is any kind of basic beginner information on how to start.   While I would never say that the developer "must" provide this it really would have been nice.  In fact I downloaded and tried IBX because there was so much documentation with it that I thought I could work with it.  The dev should be commended for going to that level for an open source project. 

My problems with trying to figure this out do not only stem from this IBX experience.  I have found that trying to venture outside of anything other than the most basic of things would result in a great deal of frustration in trying to figure them out.  The Lazarus Wiki is nice, but again is mainly written with seasoned devs in mind.  Yes, there are tutorials there, but I found a number of them outdated and subsequently do not work in Lazarus now.  Also I found some tutorials that seemed to be for newbies but some information was left out.  This made the overall experience not so good.   This is not to say I am down on Lazarus.  It is what it is.

OTH Xojo while being a commercial product has a great deal of material and such that is written to take a newbie and get them up and running.  It is updated and the examples work.  While on Lazarus a great number of the examples I tried would not.  I know that documentation and tutorials for novice programmers is extremely boring and not anyone's idea of a fun thing to do for free.  It does make it difficult for people me like to to get going.  And Lazarus is not the only open source project with this type of issue.  It is rather common in the open source world.  Documentation is boring so no one wants to do it.  Especially for free.  Then having to maintain that documentation to make sure it is still relevant with any changes to the project over time is again a boring job that doesn't really seem to get done.  It's a shame.  I would have liked to do this.

Again, thanks to everyone who tried to help.


mobilevil

  • Jr. Member
  • **
  • Posts: 59
    • http://www.kachun.com
Re: IBX 2.3-4 Fails to install
« Reply #6 on: September 21, 2020, 04:41:16 pm »
I literally installed IBX and firebird after seeing your post and it was all OK, except the IBX SVN was down. the default download worked for me.

I have previous experience with IBX but it is not that hard I think. Tell us more about the problem you see things can be fixed

Welcome to the world of opensource software. Yes you are that documentation is always bad but it's the nature of software engineering. Source code is the ultimate document.

 

TinyPortal © 2005-2018