Error - FreeBSD 9.0 Won't compile

Amitay Isaacs amitay at gmail.com
Wed Jan 25 15:31:36 MST 2012


On Thu, Jan 26, 2012 at 9:25 AM, William Brown
<william.e.brown at adelaide.edu.au> wrote:
>
>> You were correct. I have removed these ports and will get back to you shortly about how the build goes
>>
>> For those who are following and want to know how to remove these
>>
>> Run pkg_info | less to find the ports. Then run
>>
>> pkg_delete tdb-1.2.9,1
>> pkg_delete tevent-0.9.13
>> pkg_delete talloc-2.0.7
>>
>
> Yet another new complication rears it's head.
>
> WAF_MAKE=1 ./buildtools/bin/waf build
> Waf: Entering directory `/root/samba-master/bin'
> [ 128/3915] Generating VERSION
> [ 163/3915] Generating smbd/build_options.c
> [2350/3915] Compiling source3/lib/netapi/cm.c
> In file included from ../source3/lib/netapi/cm.c:21:
> ../source3/include/popt_common.h:23:18: error: popt.h: No such file or directory
> In file included from ../source3/lib/netapi/cm.c:21:
> ../source3/include/popt_common.h:26: error: array type has incomplete element type
> ../source3/include/popt_common.h:27: error: array type has incomplete element type
> ../source3/include/popt_common.h:28: error: array type has incomplete element type
> ../source3/include/popt_common.h:29: error: array type has incomplete element type
> ../source3/include/popt_common.h:30: error: array type has incomplete element type
> ../source3/include/popt_common.h:31: error: array type has incomplete element type
> ../source3/include/popt_common.h:32: error: array type has incomplete element type
> ../source3/include/popt_common.h:33: error: array type has incomplete element type
> Waf: Leaving directory `/root/samba-master/bin'
> Build failed:  -> task failed (err #1):
>        {task: cc cm.c -> cm_3.o}
> *** Error code 1
>
> Stop in /root/samba-master.
>
> Popt is installed
>
> pkg_info | grep popt
> popt-1.16           A getopt(3) like library with a number of enhancements, fro
>
> And I can find /usr/local/include/popt.h
>
> Perhaps this isn't in the include path? How do I add this?
>

What does configure script say about popt? You can check in bin/config.log.

Amitay.


More information about the samba-technical mailing list