From owner-freebsd-ports Fri May 19 13:39: 2 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sabami.seaslug.org (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by hub.freebsd.org (Postfix) with ESMTP id A7B1537B5FA for ; Fri, 19 May 2000 13:39:00 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: from sabmail.rresearch.com (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by sabami.seaslug.org (Postfix) with SMTP id 3E4D01F87; Fri, 19 May 2000 13:38:39 -0700 (PDT) To: The Hermit Hacker Cc: freebsd-ports@freebsd.org Subject: Re: KDE2: make install 'fails' ... References: Reply-To: scott@sabami.seaslug.org From: Scott Blachowicz Date: 19 May 2000 13:38:38 -0700 In-Reply-To: The Hermit Hacker's message of "Fri, 19 May 2000 01:19:35 -0300 (ADT)" Message-ID: <877lcqff75.fsf@sabmail.rresearch.com> Lines: 23 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Just tried to do a 'make install', and it fails in kdebase2: > gmake[3]: Entering directory `/usr/local/base/ports/x11/kdebase2/work/kdebase-1.90/nsplugins/wrapper' > /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../nsplugins -O3 -mpentium -pipe -c wrapper.c > cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../nsplugins -O3 -mpentium -pipe -c wrapper.c -fPIC -DPIC -o wrapper.lo > In file included from ../../nsplugins/sdk/npupp.h:16, > from wrapper.c:6: > ../../nsplugins/sdk/npapi.h:39: X11/Xlib.h: No such file or directory > ../../nsplugins/sdk/npapi.h:40: X11/Xutil.h: No such file or directory I just got the same thing and fixed it in the Makefile.am in that directory: lib_LTLIBRARIES = libnswrapper.la libnswrapper_la_SOURCES = wrapper.c libnswrapper_la_LDFLAGS = -L$(x_libraries) INCLUDES = -I$(top_srcdir)/nsplugins -I$(x_includes) I added that LDFLAGS line and tacked on the -I$(x_includes) part to the last line. Whether or not it's a "correct" fix is another matter, but it built. -- Scott Blachowicz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message