Skip site navigation (1)Skip section navigation (2)
Date:      19 May 2000 13:38:38 -0700
From:      Scott Blachowicz <scott@sabami.seaslug.org>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: KDE2: make install 'fails' ...
Message-ID:  <877lcqff75.fsf@sabmail.rresearch.com>
In-Reply-To: The Hermit Hacker's message of "Fri, 19 May 2000 01:19:35 -0300 (ADT)"
References:  <Pine.BSF.4.21.0005190118370.243-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877lcqff75.fsf>