Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 02:09:48 -0500
From:      parv <parv_@yahoo.com>
To:        f-q <freebsd-questions@freebsd.org>
Subject:   problem w/ regex.c while compiling mutt
Message-ID:  <20020301070948.GA89900@moo.holy.cow>

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

i am trying to compile mutt-devel w/ gnu-regex library (--with-regex
option) from the ports, but can't due to following during build
phase....

...
cc -I/usr/local/include -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"  -DBINDIR=\"/usr/local/bin\" -DMUTTLO
CALEDIR=\"/usr/local/share/locale\"     -DHAVE_CONFIG_H=1 -I. -I. -I./imap -Iintl  -I/include -I/usr/local/include/sasl -I./intl -I/
usr/local/include  -Wall -pedantic -O -pipe -march=pentiumpro -c mutt_sasl.c
cc -I/usr/local/include -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"  -DBINDIR=\"/usr/local/bin\" -DMUTTLO
CALEDIR=\"/usr/local/share/locale\"     -DHAVE_CONFIG_H=1 -I. -I. -I./imap -Iintl  -I/include -I/usr/local/include/sasl -I./intl -I/
usr/local/include  -Wall -pedantic -O -pipe -march=pentiumpro -c regex.c
regex.c: In function `regex_compile':
regex.c:2214: syntax error before `wt'
regex.c:2217: `wt' undeclared (first use in this function)
regex.c:2217: (Each undeclared identifier is reported only once
regex.c:2217: for each function it appears in.)
regex.c:2217: warning: implicit declaration of function `wctype'
regex.c:2229: warning: implicit declaration of function `iswctype'
regex.c:2229: warning: implicit declaration of function `btowc'
regex.c:2411: warning: suggest explicit braces to avoid ambiguous `else'
regex.c:2431: warning: suggest explicit braces to avoid ambiguous `else'
regex.c: In function `re_compile_fastmap':
regex.c:3117: warning: unused variable `num_regs'
*** Error code 1

Stop in /source/ports/mail/mutt-devel/work/mutt-1.3.27.
*** Error code 1


...i would have sent this message to -ports but i don't think that
it's a port problem per se, only w/ regex.c.  i couldn't find
anything related via google or in the pr database.  is there any
solution for the above problem?

if it helps, find finds these files...

/source/ports/mail/mutt-devel/work/mutt-1.3.27/regex.c
/source/src-stable/contrib/awk/regex.c
/source/src-stable/contrib/cvs/lib/regex.c
/source/src-stable/gnu/lib/libregex/regex.c
/source/src-stable/lib/libcompat/4.3/regex.c


a related question is is it possible to specify word boundary in a
regex in some other way?


 - parv

-- 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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