Bug 165133 - ftp/proftpd: Unable to compile 1.3.4a
Summary: ftp/proftpd: Unable to compile 1.3.4a
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-14 12:50 UTC by freebsd
Modified: 2012-02-14 13:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2012-02-14 12:50:03 UTC
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".

Fix: 

Fix the include path in Make script
How-To-Repeat: portmaster ftp/proftpd
Comment 1 Edwin Groothuis freebsd_committer 2012-02-14 12:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-02-14 13:02:55 UTC
mm          2012-02-14 13:02:44 UTC

  FreeBSD ports repository

  Modified files:
    ftp/proftpd          Makefile 
  Log:
  Fix includes/libs if using WITH_PCRE
  
  PR:             ports/165133
  Reported by:    Henrik Larsson <freebsd@spambox.dk>
  
  Revision  Changes    Path
  1.204     +2 -0      ports/ftp/proftpd/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Matuska freebsd_committer 2012-02-14 13:18:44 UTC
State Changed
From-To: open->closed

Resolved. Thanks!