我想构建Inkscape。我已经解决了一些丢失的包裹,但旅程尚未完成......
这次是缺少bdw-gc:
checking for IMAGEMAGICK... no
checking for INKSCAPE... no
configure: error: Package requirements (bdw-gc >= 7.1
cairo >= 1.10
cairomm-1.0 >= 1.9.8
glib-2.0 >= 2.28
glibmm-2.4 >= 2.28
giomm-2.4
gsl
gthread-2.0 >= 2.0
libpng >= 1.2
libxml-2.0 >= 2.6.11
libxslt >= 1.0.15
pango >= 1.24
pangoft2 >= 1.24
sigc++-2.0 >= 2.0.12
) were not met:
No package 'bdw-gc' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
所以我下载bdwgc-master
解决了一些问题,然后安装了它:
$ make install
make[1]: Entering directory '/usr/src/bdwgc-master'
make[2]: Entering directory '/usr/src/bdwgc-master'
/usr/bin/mkdir -p '/usr/local/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libgc.la libcord.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgc.dll.a /usr/local/lib/libgc.dll.a
libtool: install: base_file=`basename libgc.la`
libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libgc.la'i; echo cyggc-1.dll'`
libtool: install: dldir=/usr/local/lib/`dirname ../bin/cyggc-1.dll`
libtool: install: test -d /usr/local/lib/../bin || mkdir -p /usr/local/lib/../bin
libtool: install: /usr/bin/install -c .libs/cyggc-1.dll /usr/local/lib/../bin/cyggc-1.dll
libtool: install: chmod a+x /usr/local/lib/../bin/cyggc-1.dll
libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /usr/local/lib/../bin/cyggc-1.dll' || exit 0; fi
libtool: install: /usr/bin/install -c .libs/libgc.lai /usr/local/lib/libgc.la
libtool: install: /usr/bin/install -c .libs/libcord.dll.a /usr/local/lib/libcord.dll.a
libtool: install: base_file=`basename libcord.la`
libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libcord.la'i; echo cygcord-1.dll'`
libtool: install: dldir=/usr/local/lib/`dirname ../bin/cygcord-1.dll`
libtool: install: test -d /usr/local/lib/../bin || mkdir -p /usr/local/lib/../bin
libtool: install: /usr/bin/install -c .libs/cygcord-1.dll /usr/local/lib/../bin/cygcord-1.dll
libtool: install: chmod a+x /usr/local/lib/../bin/cygcord-1.dll
libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /usr/local/lib/../bin/cygcord-1.dll' || exit 0; fi
libtool: install: /usr/bin/install -c .libs/libcord.lai /usr/local/lib/libcord.la
libtool: install: /usr/bin/install -c .libs/libgc.a /usr/local/lib/libgc.a
libtool: install: chmod 644 /usr/local/lib/libgc.a
libtool: install: ranlib /usr/local/lib/libgc.a
libtool: install: /usr/bin/install -c .libs/libcord.a /usr/local/lib/libcord.a
libtool: install: chmod 644 /usr/local/lib/libcord.a
libtool: install: ranlib /usr/local/lib/libcord.a
/usr/bin/mkdir -p '/usr/local/share/gc'
/usr/bin/install -c -m 644 AUTHORS README.md doc/README.DGUX386 doc/README.Mac doc/README.OS2 doc/README.amiga doc/README.arm.cross doc/README.autoconf doc/README.cmake doc/README.cords doc/README.darwin doc/README.environment doc/README.ews4800 doc/README.hp doc/README.linux doc/README.macros doc/README.rs6000 doc/README.sgi doc/README.solaris2 doc/README.symbian doc/README.uts doc/README.win32 doc/README.win64 doc/debugging.html doc/finalization.html doc/gc.man doc/gcdescr.html doc/gcinterface.html doc/leak.html doc/overview.html doc/porting.html doc/scale.html doc/simple_example.html doc/tree.html '/usr/local/share/gc'
/usr/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 include/extra/gc.h '/usr/local/include'
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 bdw-gc.pc '/usr/local/lib/pkgconfig'
/usr/bin/mkdir -p '/usr/local/include/gc'
/usr/bin/install -c -m 644 include/gc.h include/gc_allocator.h include/gc_backptr.h include/gc_config_macros.h include/gc_disclaim.h include/gc_gcj.h include/gc_inline.h include/gc_mark.h include/gc_pthread_redirects.h include/gc_tiny_fl.h include/gc_typed.h include/gc_version.h include/javaxfc.h include/leak_detector.h include/weakpointer.h include/cord.h include/cord_pos.h include/ec.h '/usr/local/include/gc'
make[2]: Leaving directory '/usr/src/bdwgc-master'
make[1]: Leaving directory '/usr/src/bdwgc-master'
所以我在我的系统中安装了bdw-gc
,但我仍然收到错误。这种问题经常发生在我身上。我想倾斜如何解决它们或至少如何调查。
我注意到/usr/local/
上安装了bwdgc。我还检查了inkscape
./configure
是否有正确的前缀:
$ ./configure --help | grep usr
[/usr/local]
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
--oldincludedir=DIR C header files for non-gcc [/usr/include]
所以我有点迷失了。下一步是什么?