| Summary: | Cannot compile LyX 1.1.5.1 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Erich Zigler <erich> |
| Component: | Individual Port(s) | Assignee: | dirk |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Erich Zigler
2000-08-16 07:50:00 UTC
Responsible Changed From-To: freebsd-ports->dirk Over to maintainer I found that gmake is involved in this problem. If make(1) is used, LyX is linked fine. It seems that gmake invokes the configure script (for second time) just before starting the compilation. This second invocation overwrites src/Makefile with a broken makefile which does not include any "-lintl". I don't know why gmake invokes configure again. This can be easily tested: type "make configure", and then check src/Makefile: lyx_LDADD includes "-lintl". Then, type "make" to continue building the port, and see how the configure script runs again. Interrupt the compilation, and check again src/Makefile: "-lintl" is gone... However, deleting "USE_GMAKE=yes" from the port's Makefile is not a definitive solution. LyX is successfully built, indeed, but the installation fails (see http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20516). I think that this port is suffering the chaos inherent to Linux and some GNU tools :-( There is also an ugly workaround: add "--with-included-gettext" to CONFIGURE_ARGS in the port's Makefile. -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** State Changed From-To: open->feedback Please test the latest version of the lyx port and tell me if the problem still exists: Makefile: $FreeBSD: ports/print/lyx/Makefile,v 1.51 2000/09/10 11:06:01 dirk Exp $ State Changed From-To: feedback->closed Timeout error... ;-) Other users reported that it works, now. |