libacfutils icon indicating copy to clipboard operation
libacfutils copied to clipboard

Building errors on Linux Mint/Ubuntu 22.04

Open KSI65 opened this issue 1 year ago • 3 comments

Hi, Running build_redist on the above OS, produced these errors:

../src/conf.c:28:10: fatal error: curl/curl.h: No such file or directory 28 | #include <curl/curl.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile.Debug:515: debug/conf.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ../src/airportdb.c: In function ‘normalize_name’: ../src/airportdb.c:792:15: error: passing argument 2 of ‘libiconv’ from incompatible pointer type [-Werror=incompatible-pointer-types] 792 | iconv(*cd_p, &conv_in, &conv_in_sz, &conv_out, &conv_out_sz); | ^~~~~~~~ | | | char ** In file included from ../src/airportdb.c:19:

KSI65 avatar Oct 30 '23 08:10 KSI65

curl compilation failed during build_deps execution. Go to libacfutils/curl folder and execute build_curl_deps script. It will most probably fail again, but at least you'll be able to see the error in the output.

todirbg avatar Oct 30 '23 17:10 todirbg

Running build_redist on the above OS, produced these errors:

Was this with the DLL flag?

pilsnerish avatar Oct 30 '23 19:10 pilsnerish

Apologies for the delay in responding.

@pilsnerish I did not run it with DLL flag

@todirbg It maybe a while before I am able to try this due to personal circumstances.

KSI65 avatar Nov 06 '23 11:11 KSI65