drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.62k stars 1.12k forks source link

Please add precompiled binaries of dragon #1798

Closed HODAKdev closed 10 months ago

HODAKdev commented 1 year ago

Why do I have to compile the library myself? I think it would be good if she was already there.

Mis1eader-dev commented 1 year ago

It is possible to provide precompiled drogon binaries, and with the amount of options drogon provides, there can only be few precompiled binaries with specific options.

Windows

  1. drogon-core
  2. drogon-core + MySQL
  3. drogon-core + PostgreSQL
  4. drogon-core + Sqlite3

Linux

Provide both .a and .so

1. x86_64

  1. drogon-core
  2. drogon-core + MySQL
  3. drogon-core + PostgreSQL
  4. drogon-core + Sqlite3

2. AArch64

  1. drogon-core
  2. drogon-core + MySQL
  3. drogon-core + PostgreSQL
  4. drogon-core + Sqlite3

macOS

  1. drogon-core
  2. drogon-core + MySQL
  3. drogon-core + PostgreSQL
  4. drogon-core + Sqlite3

There can be packages to be downloaded and installed with package managers.

sudo apt install libdrogon-dev -y
sudo apt install libdrogon-dev-mysql -y
sudo apt install libdrogon-dev-postgresql -y
sudo apt install libdrogon-dev-sqlite3 -y
drizzle042 commented 1 year ago

Why do I have to compile the library myself? I think it would be good if she was already there.

I guess what @Mis1eader-dev is saying is that if we go that route, it will open up a Pandora’s box. How many Linux Distros alone will we provide binaries for?

papel commented 1 year ago

I had problem to compile it. It only worked when I followed all steps presented in the wiki exactly. The problem is that I don't know how to uninstall and how to update it.

I think the project should provide only a .deb file compatible to Debian/Ubuntu, which are the base of most distros.

There is no point in generating precompiled binaries to Windows and OSX because they aren't good as web server. Arch Linux and Fedora aren't good as web server because they aren't stable distros. And CentOs has been discontinued.