Skip to content

No instructions on how to build the project #190

Description

@solsticedhiver

Not every one is fluent in Free Pascal and know how to use Lazarus IDE either.

Also most of the time, a simple command or script is used to build a project.
Here there is none.

And I wanted to build from the CLI.
I had to spend more than 3 hours to find on how to compile it.

At first, I tried lazbuild but it failed (because of the way it is installed here)

I tried with fpc but it gave a lot of errors along the way, that I didn't understand.

Once, I knew how to fix my lazbuild installation (by using --lazarusdir=/usr/lib/lazarus), it gave more errors.

One is in src/translator.pas line 83, I removed Words[0]
Then, I had to know how to install the indylaz dependency, because this is not done automatically. And make it available to the project build (lazbuild).
Then, it keep on bugging me about windres, whereas I am on linux, and I don't have a windres avialable. I had to turn sql.rc into sql.res with lazres. I found some people to help me.
Finally, I end up with 4 errors, that are very weird because I think those should not be errors; but as I have no knowledge of pascal, I can't debug hard things

(3104) Compiling src/maintenance.pas
src/maintenance.pas(49,15) Error: (5038) identifier idents no member "KeepConnectionTimeout"
src/maintenance.pas(50,15) Error: (5038) identifier idents no member "KeepConnections"
src/maintenance.pas(72,7) Error: (5000) Identifier not found "ThreadMode"
src/maintenance.pas(72,19) Error: (5000) Identifier not found "tmNone"
maintenance.pas(214) Fatal: (10026) There were 4 errors compiling module, stopping

I still don't know how to fix those.

So you see the nightmare. And I still couldn't build it from source, like I wanted...

On most open source project, you just run make, or use meson, or cmake, or whatever, and even if you don't know the language, you could build the project...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions