Date: Wed, 23 Apr 2008 16:40:26 +0200 From: Martin Wilke <miwi@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: stas@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: djvulibre-3.5.20 => djvulibre-3.5.20_1: build fails Message-ID: <20080423144026.GA28297@bsdcrew.de> In-Reply-To: <480F356B.7010204@icyb.net.ua> References: <480F356B.7010204@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Apr 23, 2008 at 04:11:07PM +0300, Andriy Gapon wrote: > creating djview > /bin/sh ../../libtool --tag=disable-static --mode=compile cc > -I/usr/local/include -I/usr/local/include -I/usr/local/include > -D_GETOPT_H -I/usr/local/include -DHAVE_CONFIG_H -DNDEBUG -Wall > -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res > -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -o nsdejavu.lo > mkdir .libs > cc -I/usr/local/include -I/usr/local/include -I/usr/local/include > -D_GETOPT_H -I/usr/local/include -DHAVE_CONFIG_H -DNDEBUG -Wall > -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res > -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -fPIC -DPIC -o > .libs/nsdejavu.o > cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for > C++/ObjC++ but not for C > /bin/sh ../../libtool --tag=disable-static --mode=link cc > -I/usr/local/include -I/usr/local/include -I/usr/local/include > -D_GETOPT_H -I/usr/local/include -DHAVE_CONFIG_H -DNDEBUG -Wall > -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res > -I../../gui/npsdk -I/usr/X11R6/include nsdejavu.lo -no-undefined -L/lib > -R/lib -lSM -lICE -lXt -lXext -lX11 -rpath > /usr/local/lib/djvulibre/plugins -module -o nsdejavu.la > cc -shared .libs/nsdejavu.o -Wl,--rpath -Wl,/lib -L/lib -lSM -lICE > -lXt -lXext -lX11 -Wl,-soname -Wl,nsdejavu.so.0 -o .libs/nsdejavu.so.0 > /usr/bin/ld: cannot find -lSM > *** Error code 1 > > Stop in /usr/ports/graphics/djvulibre/work/djvulibre-3.5.20/gui/nsdejavu. > *** Error code 1 > > /usr/local/lib/libSM.so.6 exists, but -L/usr/local/lib doesn't seem to > present in the compiler/linker flags above. > I am build with X11 support, of course. Yes, please try this patch. http://miwi.homeunix.com/djvu.diff - - Martin > > -- > Andriy Gapon > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > - -- +-----------------------+-------------------------------+ | PGP : 0x05682353 | Jabber : miwi(at)BSDCrew.de | | ICQ : 169139903 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFID0pZFwpycAVoI1MRAgqbAKCnDa4o/zvd/p/7QSOA1uC0geqb/QCfeN99 WtDOIMj8ZZkTM+FDG1qm4Yk= =muc8 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080423144026.GA28297>