Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "make -j" during installation Sextractor #54

Open
YushengEdward opened this issue Aug 1, 2023 · 3 comments
Open

Problem with "make -j" during installation Sextractor #54

YushengEdward opened this issue Aug 1, 2023 · 3 comments

Comments

@YushengEdward
Copy link

Hi,
As the install says, because my computer doesn't download icc or MKL, i run the command line "./configure --enable-mkl --enable-auto-flags --enable-best-link". It seemed to succeed but failed when i ran the code "make -j".The error is following:
hyayh@vmastro:~/sextractor-master$ ./autogen.sh
Preparing the SExtractor build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.16.1
Found GNU Libtool version 2.4.6

Automatically preparing build ... done

The SExtractor build system is now prepared. To build here, run:
./configure
make
hyayh@vmastro:/sextractor-master$ ./configure --enable-mkl --enable-auto-flags --enable-best-link
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
******** Configuring: SExtractor 2.28.0 - 1 (2023-08-01) ********
checking if compilation flags are set automatically... yes
checking whether the classic INTEL compiler is enabled... no
checking whether the INTEL compiler is enabled... no
checking whether INTEL's MKL is enabled... yes
checking for icc... no
checking for icx... no
checking for cc... cc
checking whether make supports the include directive... yes (GNU style)
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for library containing strerror... none required
checking for C compiler optimization flags... -O3 -g -funroll-loops -fomit-frame-pointer -Wall
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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /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 cc 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 how to run the C preprocessor... cc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc 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... yes
checking for sin in -lm... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking mathimf.h usability... no
checking mathimf.h presence... no
checking for mathimf.h... no
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for atexit... yes
checking for getenv... yes
checking for gettimeofday... yes
checking for isinf... yes
checking for isnan... yes
checking for logf... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for posix_memalign... yes
checking for setlinebuf... yes
checking for sincosf... yes
checking for strstr... yes
checking for sysconf... yes
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 whether OpenBLAS is enabled... no
checking whether CFITSIO support should be disabled (default=enabled)... no
checking if model-fitting should be disabled (default=enabled)... no
checking for profiler mode... no
checking best linking option... yes
hyayh@vmastro:
/sextractor-master$ make -j
make: *** No targets specified and no makefile found. Stop.
hyayh@vmastro:~/sextractor-master$

Would you give me some help about this? Thank you very much!

@ebertin
Copy link
Member

ebertin commented Aug 2, 2023

Hi, sorry for the issue you are experiencing with the compilation. I would need some more details. What OS are you running? Thanks!

@YushengEdward
Copy link
Author

Hello, what i use is Ubuntu 20.04,so it should be linux system. Thanks!

@ebertin
Copy link
Member

ebertin commented Aug 9, 2023

I had not realized that your system does not seem to have the Intel compiler installed. The --enable-mkl configure option actually requires the intel compiler (either icc or icx) to be installed, together with the MKL itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants