This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trying to build crm114 (20050721) under CygWin 1.5.18-1


[I would of course love a solution for this, but even hints on how to
approach such a problem will be greatly appreciated.]

Trying to install current version of crm114
(crm114-20050721-BlameNeilArmstrong.src) under cygwin 1.5.18 without success
(see relevant output below).

	http://crm114.sourceforge.net/

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.

I have made, tested and installed TRE (tre-0.7.2, the version included with
the crm114 source) but there was no file '/usr/local/lib' and "which
ldconfig" does not find that program. (make, make check, and make install
all succeed for TRE.

Documentation indicates TRE must be prepared with './configure
--enable-static' (which I did.)
(CRM114 & Mailfilter HOWTO
<http://crm114.sourceforge.net/CRM114_Mailfilter_HOWTO.txt>)

[Needless to say, I am not very familiar with linking or writing make files
on cygwin.]

--
Herb Martin

[There is a SourceForge project for ports that are NOT included in the
standard CygWin release:
<http://sourceforge.net/project/showfiles.php?group_id=99645>
...which has crm114 20040328-1 from 2004-04-21 (most/all of the packages
there are dated from 2004.
This one doesn't make for me either.]


Failure of crm114 20050721 output:
$ make
make crm114_tre
make[1]: Entering directory
`/etc/mail/spamassassin/crm114-20050721-BlameNeilArmstrong.src'
#
#   Note: if you haven't installed TRElib, the next step
#   will get an error.
#       For TRElib, look in the TRE sub-directory of this kit.
#   Remember to use ./configure --enable-static for static libs.
#   You will also need to add /usr/local/lib to /etc/ld.so.conf,
#   and then run ldconfig (as root) to set the library up and make
#   the library known to the static and runtime linkers.
#
gcc -static -L/usr/local/lib  crm_main.o crm_compiler.o crm_errorhandlers.o
crm_exec_engine.o crm_preprocessor.o crm_var_hash_table.o crm_math_exec.o
crm_expandvar.o crm_stmt_parser.o crm_expr_alter.o crm_expr_match.o
crm_css_maintenance.o crm_markovian.o crm_osb_bayes.o crm_osb_hyperspace.o
crm_correlate.o crm_osb_winnow.o crm_winnow_maintenance.o crm_osbf_bayes.o
crm_osbf_maintenance.o crm_expr_window.o crm_expr_isolate.o
crm_expr_file_io.o crm_expr_syscall.o crm_expr_clas sify.o crm_debugger.o
crm_str_funcs.o  \
  crmregex_tre.o \
  -lm -ltre -o crm114_tre
/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

--
Herb Martin


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]