Error - FreeBSD 9.0 Won't compile

William Brown william.e.brown at adelaide.edu.au
Wed Jan 25 15:25:18 MST 2012


> 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?


Sincerely,

William Brown

Research & Teaching, Technology Services
The University of Adelaide, AUSTRALIA 5005

CRICOS Provider Number 00123M
-----------------------------------------------------------------------------
IMPORTANT: This message may contain confidential or legally privileged
information. If you think it was sent to you by mistake, please delete all
copies and advise the sender. For the purposes of the SPAM Act 2003, this
email is authorised by The University of Adelaide.

pgp.mit.edu
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120126/981d52b3/attachment.pgp>


More information about the samba-technical mailing list