Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 12:43:15 GMT
From:      Henrik Larsson <freebsd@spambox.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165133: ftp/proftpd: Unable to compile 1.3.4a
Message-ID:  <201202141243.q1EChFTq034148@red.freebsd.org>
Resent-Message-ID: <201202141250.q1ECo4na068455@freefall.freebsd.org>

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

>Number:         165133
>Category:       ports
>Synopsis:       ftp/proftpd: Unable to compile 1.3.4a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 12:50:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Larsson
>Release:        8.2
>Organization:
>Environment:
FreeBSD 8.2-STABLE
/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm unable to compile Proftpd 1.3.4a from ports.

--cut--
cd lib/ && gmake lib
gmake[1]: Går til katalog '/usr/ports/ftp/proftpd/work/proftpd-1.3.4a/lib'
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c pr_fnmatch.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c sstrncpy.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c strsep.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c vsnprintf.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c glibc-glob.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c glibc-hstrerror.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c glibc-mkstemp.c
cc -DHAVE_CONFIG_H  -DFREEBSD8_2 -DFREEBSD8 -I.. -I../include  -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall -c pr-syslog.c
In file included from ../include/conf.h:433,
                 from pr-syslog.c:33:
./include/regexp.h:38:19: error: pcre.h: No such file or directory
./include/regexp.h:39:24: error: pcreposix.h: No such file or directory
./include/regexp.h:46:3: error: #error "pcre-7.0 or later required"
In file included from ../include/conf.h:433,
                 from pr-syslog.c:33:
./include/regexp.h:81: error: expected declaration specifiers or '...' before 'regmatch_t'
gmake[1]: *** [pr-syslog.o] Fejl 1
gmake[1]: Forlader katalog '/usr/ports/ftp/proftpd/work/proftpd-1.3.4a/lib'
gmake: *** [lib] Fejl 2
*** Error code 1

Stop in /usr/ports/ftp/proftpd.
*** Error code 1

Stop in /usr/ports/ftp/proftpd.
--cut--

It looks like it does search for the PCRE header files in "/usr/include" and not "/usr/local/include".
>How-To-Repeat:
portmaster ftp/proftpd
>Fix:
Fix the include path in Make script

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



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