当我在 make install 步骤中遇到以下错误时,我试图从其源代码安装 magic vlsi。
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
在我的 rules.mak 文件中,第 24 行是 -
@echo --- compiling ${MODULE}/$*.o
前后几行是-
.c.o: ../database/database.h
@echo --- compiling ${MODULE}/$*.o
${RM} $*.o
${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} -c $*.c
sudo ./configure 之后的输出是 -
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
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 how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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 size of void *... 8
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for gcore... /usr/bin/gcore
checking for csh... /usr/bin/csh
checking for python3... /usr/bin/python3
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDevice in -lXi... no
checking for XmuInternAtom in -lXmu... no
checking for XextFindDisplay in -lXext... yes
checking for tclConfig.sh... /usr/local/lib/tclConfig.sh
checking for tkConfig.sh... /usr/local/lib/tkConfig.sh
checking for wish executable... /usr/local/bin/wish8.6
checking for tclsh executable... /usr/local/bin/tclsh8.6
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glXCreateContext in -lGL... yes
checking for gluNewTess in -lGLU... yes
checking cairo/cairo.h usability... yes
checking cairo/cairo.h presence... yes
checking for cairo/cairo.h... yes
checking for cairo_user_to_device in -lcairo... yes
configure: creating ./config.status
config.status: creating defs.mak
config.status: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting
-----------------------------------------------------------
Configuration Summary (principle requirements):
X11: yes
Python3: yes
OpenGL: yes
Vector fonts: yes
Cairo: yes
Tcl/Tk: yes
-----------------------------------------------------------
Use 'make' to compile and 'make install' to install.
Errors may not be printed to stdout: see files 'make.log'
and 'install.log' for complete error summary.
-----------------------------------------------------------
sudo make 之后的输出是 -
--- errors and warnings logged in file make.log
--- making dependencies
--- making modules
--- making Tcl shared libraries
sudo make install 后的输出是 -
--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition
../rules.mak:24: warning: ignoring prerequisites on suffix rule definition