Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 1999 15:39:20 +0200 (CEST)
From:      Vadim Belman <voland@plab.ku.dk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12153: lyx doesn't compile because of lack of /usr/local/include in include path.
Message-ID:  <199906121339.PAA57449@eagle.plab.ku.dk>

next in thread | raw e-mail | index | archive | help

>Number:         12153
>Category:       ports
>Synopsis:       lyx doesn't compile because of lack of /usr/local/include in include path.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 12 06:40:03 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Vadim Belman
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
The Protein Laboratory, University of Copenhagen
>Environment:

>Description:

	Compilation of lyx-1.0.2 package fails due to absence of
/usr/local/include in include path. This led to the following error:

	[...]
c++ -c -O -pipe -I. -I. -I../images  -I/usr/X11R6/include  -I/usr/X11R6/include/X11    -I/usr/X11R6/include -DPACKAGE=\"lyx\" -DLOCALEDIR=\"/usr/local/share/locale\" ../src/main.C
In file included from ../src/main.C:14:
../src/gettext.h:36: libintl.h: No such file or directory
	[...]

>How-To-Repeat:

cd /usr/ports/print/lyx
make

>Fix:

--- /usr/ports/print/lyx/Makefile.orig	Sat Jun 12 15:28:30 1999
+++ /usr/ports/print/lyx/Makefile	Sat Jun 12 15:28:52 1999
@@ -27,7 +27,7 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CXXFLAGS="${CFLAGS}"
 STRIP=
-CONFIGURE_ARGS= --with-extra-lib=${X11BASE}/lib --with-extra-inc="${X11BASE}/include ${X11BASE}/include/X11"
+CONFIGURE_ARGS= --with-extra-lib=${X11BASE}/lib --with-extra-inc="${X11BASE}/include ${X11BASE}/include/X11 ${LOCALBASE}/include"
 MAN1=		lyx.1 reLyX.1
 
 pre-fetch:


>Release-Note:
>Audit-Trail:
>Unformatted:


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?199906121339.PAA57449>