Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile failure Debian 12
#1
When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1
Reply
#2
Looks like you're missing the dev package for libcurl.

You need to install the matching dev package to the flavour of libcurl4 you have installed (if installed).

If you have already installed the GNU flavour then install...
libcurl4-gnutls-dev

If you have already installed the NSS flavour then install...
libcurl4-nss-dev

If you have already installed the OpenSSL flavour then install...
libcurl4-openssl-dev

Hope this helps.
Reply
#3
(03-15-2025, 06:03 AM)bigriverguy Wrote: When I run setup_lnx.sh I get the following error and the install aborts.

internal/c/libqb/src/http.cpp:2:10: fatal error: curl/curl.h: No such file or directory
    2 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [internal/c/libqb/build.mk:56: internal/c/libqb/src/http.o] Error 1
Parece que te falta `libcurl-dev`. Instálalo con:

```
sudo apt-get install libcurl4-openssl-dev
```

Y luego prueba de nuevo. ¡Debería funcionar.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compile error when .bas name is same as a directory (linux) Dav 3 774 10-18-2024, 03:32 PM
Last Post: Kernelpanic
Question compile speed/options? BlameTroi 5 1,293 06-05-2023, 06:08 AM
Last Post: mnrvovrfc
Lightbulb 3.5.0 can't compile on my iMac Fifi 3 1,164 01-11-2023, 10:46 PM
Last Post: DSMan195276
  <Solved> QB64PE 4.3.1 can't compile itself anymore. Fifi 2 819 01-09-2023, 06:01 AM
Last Post: Fifi
  BUG? Compile errors with filenames that contain $ in them. Dav 3 991 06-10-2022, 03:31 AM
Last Post: DSMan195276

Forum Jump:


Users browsing this thread: 1 Guest(s)