Recent

Author Topic: Using dbexport  (Read 4143 times)

maurobio

  • Sr. Member
  • ****
  • Posts: 268
  • Ecology is everything.
    • GitHub
Re: Using dbexport
« Reply #15 on: September 14, 2021, 02:50:52 pm »
 :o

Unfortunately, as it turned out, the problem is not of a solution so simple as that...

When attempting to install any another component, the IDE kept complaining about missing packages which are in fact installed and I could not even rebuild the IDE itself anymore!

I then removed Lazarus completely from my system (including the configuration files in home directory) and did a fresh install. Right after that, I attempted to just rebuild the IDE (without installing any new component). I then get the IDE complaining that it "Cannot find lazcontrolsdsgn used by Lazarus" (which is, in fact, installed). And end up involved in this mess: https://forum.lazarus.freepascal.org/index.php?topic=38728.0, to which no one seems to have been able to provide a really working solution.

At this moment, I cannot any more use Lazarus under Linux!  >:(

Any hints and suggestions would be welcome.
UCSD Pascal / Burroughs 6700 / Master Control Program
Lazarus 1.8.2/2.0.8 - FPC 3.0.4 on GNU/Linux Mint 19, GNU/Linux Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

af0815

  • Hero Member
  • *****
  • Posts: 701
Re: Using dbexport
« Reply #16 on: September 14, 2021, 03:49:53 pm »
At this moment, I cannot any more use Lazarus under Linux!  >:(

Any hints and suggestions would be welcome.
You cannot use Lazarus build from the Distro Packages. This is the Problem.

I never use any package for fpc and lazarus from the distro for a long time, because i have always trouble with this packages and crosscompiling.

My personal suggestion is
  Plan A : use fpcupdeluxe (my absolute favorite)
  Plan B : use the packages comming from the fpc team and lazarus from git and selfcompiled

Plan A works for me on Ubuntu, Debian and Raspbian for years. I never tested Plan B :-)
regards
Andreas

maurobio

  • Sr. Member
  • ****
  • Posts: 268
  • Ecology is everything.
    • GitHub
Re: Using dbexport
« Reply #17 on: September 14, 2021, 04:13:18 pm »
@af0815,

I cannot agree, because I have used that installation, from the Linux Mint repository, for more than an year! I used to be able to install components and rebuild the IDE without any hassles. My current problems appeared when I attempted to install the lazdbexport component package which is shipped with Lazarus.

I have never heard of 'fpcupdeluxe' and do not want to install anything from git which will require compilation from scratch (which, in my personal experience in accordance with Murphy's Law, will only create more poblems!)

Regards,
UCSD Pascal / Burroughs 6700 / Master Control Program
Lazarus 1.8.2/2.0.8 - FPC 3.0.4 on GNU/Linux Mint 19, GNU/Linux Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

af0815

  • Hero Member
  • *****
  • Posts: 701
Re: Using dbexport
« Reply #18 on: September 14, 2021, 07:01:19 pm »
You have asked for a suggestion  ;D

I use fpc and Lazarus for my every day work for years, with fpcup and fpcupdeluxe.

So use your packages comming from the distros. Use it 'as is' and dont complain if somethings goes wrong. The packages from the distros and the real world for fpc/lazarus are not always compatible.
regards
Andreas

maurobio

  • Sr. Member
  • ****
  • Posts: 268
  • Ecology is everything.
    • GitHub
Re: Using dbexport
« Reply #19 on: September 14, 2021, 08:01:39 pm »
@af0815,

Quote
I use fpc and Lazarus for my every day work for years, with fpcup and fpcupdeluxe.

Good for you. Of what I have seen of the "deluxe" thing, it just adds yet another layer of complication on what should be simple and easy (like installing FPC/Lazarus and packages under MS-Windows).

I have myself used FPC/Lazarus for years too, under both Windows and Linux, without any hassles up to now.

Quote
So use your packages comming from the distros. Use it 'as is' and dont complain if somethings goes wrong. The packages from the distros and the real world for fpc/lazarus are not always compatible.

I am not "complaining", I am reporting a problem in the hope of some polite person come up with a simple working solution which does not involve imposing a favorite toy over me.

If the distribution packages which comes with Linuxes are so "useless", why are they there anyway? Well, I prefer to strick to them, thank you!
UCSD Pascal / Burroughs 6700 / Master Control Program
Lazarus 1.8.2/2.0.8 - FPC 3.0.4 on GNU/Linux Mint 19, GNU/Linux Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

maurobio

  • Sr. Member
  • ****
  • Posts: 268
  • Ecology is everything.
    • GitHub
Re: Using dbexport
« Reply #20 on: September 15, 2021, 11:33:48 pm »
Dear ALL,

Installation of FPC/Lazarus in Linux should be as easy as it is in Windows. And that is where Debian packages come to the rescue of (Debian-based) Linux users.

So, I have finally solved the problem, in the most simple and direct way: as suggested by user @del here (https://forum.lazarus.freepascal.org/index.php/topic,38728.0.html) I downloaded the Debian packages of a more recent version of FPC/Lazarus from the official SourceForge repository and installed them directly. Now the previous prpblem with 'missing packages' disappeared and I can install any component without any further problems.

It turned out that the whole problem was the version of FPC/Lazarus (1.8.2) available in the repository of my Linux Mint distribution and not (necessarily) the distro repository itself. It remains a mystery why it has worked well until I attempted to install the dbexport package, but this is immaterial now.

I suppose I owe an apology to user @af0815, and here it is. Sorry, man. (But I still have myself no need to user more than the Windows and the Linux Debian installation packages for getting FPC/Lazarus up and running).

With best wishes
UCSD Pascal / Burroughs 6700 / Master Control Program
Lazarus 1.8.2/2.0.8 - FPC 3.0.4 on GNU/Linux Mint 19, GNU/Linux Lubuntu 18.04, Windows XP SP3, Windows 7 Professional, Windows 10 Home

Soner

  • Sr. Member
  • ****
  • Posts: 251
Re: Using dbexport
« Reply #21 on: September 16, 2021, 12:01:28 am »
Sometimes I am getting trouble to build IDE from inside of the IDE then i change to Terminal/Console and type:
>make clean
>make bigide

it helps,the problems are solved but your components and not included. Now you must build it from inside of the IDE again.

https://wiki.lazarus.freepascal.org/Getting_Lazarus

 

TinyPortal © 2005-2018