delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <4305CEDC.5FA6DE10@dessent.net> |
Date: | Fri, 19 Aug 2005 05:21:48 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Trying to build crm114 (20050721) under CygWin 1.5.18-1 |
References: | <EILGX5Z-0006U4-D2 AT mail2 DOT learnquick DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Herb Martin wrote: > > Just prior to the error the make file outputs a warning that if TRE (the > regex library) is not installed you will get an error AND that to fix this > you must edit /etc/ld.so.conf to include /usr/local/lib, and then run > ldconfig. ld.so.conf and ldconfig are aspects of the Linux dynamic linker. There is no such thing under Windows or Cygwin, so those instructions are meaningless. The closest equivalent is to ensure that the installed DLL is in the path. This normally means that if you configured with --prefix=/usr/local (the default) that you should get a cyg<whatever>.dll in /usr/local/bin and hence you need /usr/local/bin in the path. Only static libraries and import libraries go in /usr/local/lib, and these do not need to be in the path. > /usr/local/lib/libtre.a(regerror.o): In function `regerror': > /etc/mail/spamassassin/crm114-20050721-BlameNeilArmstrong.src/tre-0.7.2/lib/ > regerror.c:68: undefined reference to `_libi ntl_gettext' > collect2: ld returned 1 exit status > make[1]: *** [crm114_tre] Error 1 > make[1]: Leaving directory > `/etc/mail/spamassassin/crm114-20050721-BlameNeilArmstrong.src' > make: *** [crm114] Error 2 I assume this is a copy and paste error and that there was no space in `_libintl_gettext'. It sounds like you need to add -lintl to the link command line. If I'm not mistaken, these functions are part of glibc on the Linux platform so there is no need for any extra -l switches there. If this is the case then it indicates that the configury for this program is seriously broken, because these things are supposed to be detected. You might try an autoreconf --install --force --verbose (or run the equivalent bootstrap.sh if included) before trying anything else. OT: Why in the hell are you compiling source code under /etc? Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |