ntop build problems

Bob Ababurko ababurko at adelphia.net
Wed Aug 11 11:40:04 PDT 2004


I am trying install the ntop port and this is my config .  I think it may 
ave to do with gmake, but I cannot be certain.  I do have gmake installed 
but when I try to use it to build the packacge i get:

bash-2.05b# gmake install
Makefile:22: *** missing separator.  Stop.
bash-2.05b#

Here is the last of the output for the ntop build:

bash-2.05b# uname -a
FreeBSD smtp1.webstakez.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Thu 
Aug  5 20:38:18 EDT 
2004     root at smtp1.webstakez.com:/usr/obj/usr/src/sys/DUMMYNET  i386

This is your ntop 2.2 configuration:

Host System Type  : i386-portbld-freebsd5.2.1
                         Note: --build=i386-portbld-freebsd5.2.1 specified
Compiler (cflags) : cc -g -DFREEBSD -O -pipe -mcpu=pentiumpro -g -Wshadow 
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs  -fPIC
Defines           :     -DHAVE_CONFIG_H
Loader (ldflags)  :  -rpath=/usr/lib:/usr/local/lib
Include path      : -I/usr/include 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/zlib-1.1.4 
-I/usr/local/include 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4
System Libs       : -lc_r -lpcap -lgdbm -lc -lcrypt -lcrypto -L/usr/lib 
-lssl -L/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/zlib-1.1.4 -lz 
-L/usr/local/lib -lgdc 
-L/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3 -lgd 
-L/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -lpng
MultiThread mode  : enabled
Install path      : /usr/local

*******************************************************************
*
* NOTE: ./configure is now complete!
*
*       All of the obviously FATAL errors would cause you to
*       abort before this point, so while you SHOULD scroll
*       back and check for error/warning/note messages,
*       you probably will not...
*
++
++    If you like ntop, please do not forget to support its
++    development. See SUPPORT_NTOP.txt for more information.
++
++              Thanks for supporting ntop!
++
*
* NEXT STEP(S):
*
*>>>>  A WARNING message was generated - please review the
*>>>>  output before continuing to make ntop!
*
*    Building ntop requires GNU Make, so to build ntop, type
*    'make' (or on *BSD and Solaris systems, 'gmake')
*
*******************************************************************

===>  Building for ntop-2.2_1
cd . && /bin/sh ./missing --run echo

cd . && /bin/sh ./missing --run echo

touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/ntop/work/ntop-2.2/ntop'
cd . && /bin/sh ./missing --run echo

Making all in .
gmake[2]: Entering directory `/usr/ports/net/ntop/work/ntop-2.2/ntop'
cd . && /bin/sh ./missing --run echo

source='address.c' object='address.lo' libtool=yes \
depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I. 
-I/usr/include -I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/zlib-1.1.4 
-I/usr/local/include 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4 
-g -DFREEBSD -O -pipe -mcpu=pentiumpro -g -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fPIC -g 
-DFREEBSD -O -pipe -mcpu=pentiumpro -g -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fPIC -c -o 
address.lo `test -f 'address.c' || echo './'`address.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/zlib-1.1.4 
-I/usr/local/include 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3 
-I/usr/ports/net/ntop/work/ntop-2.2/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -g 
-DFREEBSD -O -pipe -mcpu=pentiumpro -g -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g 
-DFREEBSD -O -pipe -mcpu=pentiumpro -g -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c 
address.c -MT address.lo -MF .deps/address.TPlo -MD -MP  -fPIC -DPIC -o 
.libs/address.lo
In file included from ntop.h:318,
                  from address.c:21:
/usr/include/sys/sched.h: In function `sched_pin':
/usr/include/sys/sched.h:106: error: `curthread' undeclared (first use in 
this function)
/usr/include/sys/sched.h:106: error: (Each undeclared identifier is 
reported only once
/usr/include/sys/sched.h:106: error: for each function it appears in.)
/usr/include/sys/sched.h: In function `sched_unpin':
/usr/include/sys/sched.h:112: error: `curthread' undeclared (first use in 
this function)
gmake[2]: *** [address.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-2.2/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-2.2/ntop'
gmake: *** [all] Error 2
*** Error code 2



More information about the freebsd-ports mailing list