meganz / sdk

MEGA C++ SDK
BSD 2-Clause "Simplified" License
1.33k stars 504 forks source link

No make file when installing under Linux Mint #2603

Closed jpercyasnet closed 2 years ago

jpercyasnet commented 2 years ago

get the following output from ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether make supports nested variables... (cached) yes checking for size_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for pid_t... yes checking for off_t... yes checking for ssize_t... yes checking for g++... g++ checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether build environment is sane... yes checking for cppcheck... no checking whether g++ supports C++11 features by default... yes checking for ANSI C header files... (cached) yes checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for off_t... (cached) yes checking size of uint64_t... 8 checking whether struct tm is in sys/time.h or time.h... time.h checking for off_t... (cached) yes checking for size_t... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking htonl usability... no checking htonl presence... no checking for htonl... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/malloc.h usability... no checking sys/malloc.h presence... no checking for sys/malloc.h... no checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking whether C++ compiler accepts -fPIC... yes checking whether the linker accepts -fPIC... yes checking for dlopen in -ldl... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking mcheck.h usability... yes checking mcheck.h presence... yes checking for mcheck.h... yes checking for inotify_init1... yes checking for fdopendir... yes checking for select... yes checking for sendfile in -lsendfile... no checking for socket in -lsocket... no checking for clock_gettime in -lrt... yes checking platform options... no checking for pthread_create in -lpthread... yes checking if building Java bindings... no checking for libcryptopp... --with-cryptopp not specified checking cryptopp/cryptlib.h usability... yes checking cryptopp/cryptlib.h presence... yes checking for cryptopp/cryptlib.h... yes checking for main in -lcryptopp... yes checking for libsodium... --with-sodium not specified checking sodium.h usability... yes checking sodium.h presence... yes checking for sodium.h... yes checking for sodium_init in -lsodium... yes checking for libpcrecpp... checking for libraw... checking libraw/libraw.h usability... yes checking libraw/libraw.h presence... yes checking for libraw/libraw.h... yes checking for libraw_init in -lraw... yes checking for libuv... --with-libuv not specified checking uv.h usability... yes checking uv.h presence... yes checking for uv.h... yes checking for uv_run in -luv... yes checking for zlib... --with-zlib not specified checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lz... yes checking for SQLite... --with-sqlite not specified configure: Using SQLite3 as the default DB access layer. checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for ffmpeg... --with-ffmpeg not specified checking ffmpeg-mega/libavutil/macros.h usability... no checking ffmpeg-mega/libavutil/macros.h presence... no checking for ffmpeg-mega/libavutil/macros.h... no checking libavutil/macros.h usability... no checking libavutil/macros.h presence... no checking for libavutil/macros.h... no checking for libzen... --with-libzen not specified checking ZenLib/Ztring.h usability... no checking ZenLib/Ztring.h presence... no checking for ZenLib/Ztring.h... no checking for pthread_create in -lpthread... (cached) yes libmediainfo requires libzen checking for aio_write in -lrt... yes checking for OpenSSL... --with-openssl not specified checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for SSL_new in -lssl... yes checking for c-ares... --with-cares not specified checking ares.h usability... yes checking ares.h presence... yes checking for ares.h... yes checking for ares_library_init in -lcares... yes checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for main in -lcurl... yes checking whether cURL is built with OpenSSL support... yes checking if building example applications... yes checking for FreeImage... --with-freeimage not specified checking FreeImage.h usability... yes checking FreeImage.h presence... yes checking for FreeImage.h... yes checking for main in -lfreeimage... yes checking for PDFium... --with-pdfium not specified checking fpdfview.h usability... no checking fpdfview.h presence... no checking for fpdfview.h... no checking for termcap... --with-termcap not specified checking for tputs in -ltermcap... yes checking for Readline... --with-readline not specified checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no configure: error: readline/readline.h header not found or not usable jp@jp-Aspire-T3-710 ~/MEGAsdk/sdk-master $ make make: *** No targets specified and no makefile found. Stop.

jpercyasnet commented 2 years ago

install libreadline fixed problem