compile problem v3.0.x on osx 10.9
I’m getting the following error building from the v3.0.x branch checked out just a few moments ago: CC jlibtool.c CC src/lib/cbuff.c In file included from src/lib/cbuff.c:26: /Users/ahurt/Projects/freeradius-server-upstream/src/freeradius-devel/libradius.h:60:10: fatal error: 'talloc.h' file not found #include <talloc.h> ^ 1 error generated. make: *** [build/objs/src/lib/cbuff.lo] Error 1 Branch state information: charlie:freeradius-server-upstream ahurt$ git log|head -3 commit 2f6c0a4ad8cca4f8bead2de3db3bc6000527aa05 Author: Arran Cudbard-Bell <a.cudbardb@freeradius.org> Date: Thu May 1 23:23:02 2014 +0100 System Information: charlie:freeradius-server-upstream ahurt$ uname -a Darwin charlie.anbcs.com 13.1.0 Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64 I can build the ‘master’ branch checked out at the same time without any issue. I can reproduce this same issue on three different OSX machines. -- Aaron
On 2 May 2014, at 02:11, Aaron Hurt <ahurt@ena.com> wrote:
I’m getting the following error building from the v3.0.x branch checked out just a few moments ago:
CC jlibtool.c CC src/lib/cbuff.c In file included from src/lib/cbuff.c:26: /Users/ahurt/Projects/freeradius-server-upstream/src/freeradius-devel/libradius.h:60:10: fatal error: 'talloc.h' file not found #include <talloc.h> ^ 1 error generated. make: *** [build/objs/src/lib/cbuff.lo] Error 1
Branch state information:
charlie:freeradius-server-upstream ahurt$ git log|head -3 commit 2f6c0a4ad8cca4f8bead2de3db3bc6000527aa05 Author: Arran Cudbard-Bell <a.cudbardb@freeradius.org> Date: Thu May 1 23:23:02 2014 +0100
System Information:
charlie:freeradius-server-upstream ahurt$ uname -a Darwin charlie.anbcs.com 13.1.0 Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64
I can build the ‘master’ branch checked out at the same time without any issue. I can reproduce this same issue on three different OSX machines.
It's an issue with the hack we put in to get it to build with the Apple SDK. As apple have now released a package which installs the headers if their usual place, i'm inclined to remove it. The server will build fine if you use the system CC. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 2 May 2014, at 06:18, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 2 May 2014, at 02:11, Aaron Hurt <ahurt@ena.com> wrote:
I’m getting the following error building from the v3.0.x branch checked out just a few moments ago:
CC jlibtool.c CC src/lib/cbuff.c In file included from src/lib/cbuff.c:26: /Users/ahurt/Projects/freeradius-server-upstream/src/freeradius-devel/libradius.h:60:10: fatal error: 'talloc.h' file not found #include <talloc.h> ^ 1 error generated. make: *** [build/objs/src/lib/cbuff.lo] Error 1
Removed the SDK hacks. Should work with a brewed clang/gcc ok now. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On May 2, 2014, at 7:41 AM, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 2 May 2014, at 06:18, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 2 May 2014, at 02:11, Aaron Hurt <ahurt@ena.com> wrote:
I’m getting the following error building from the v3.0.x branch checked out just a few moments ago:
CC jlibtool.c CC src/lib/cbuff.c In file included from src/lib/cbuff.c:26: /Users/ahurt/Projects/freeradius-server-upstream/src/freeradius-devel/libradius.h:60:10: fatal error: 'talloc.h' file not found #include <talloc.h> ^ 1 error generated. make: *** [build/objs/src/lib/cbuff.lo] Error 1
Removed the SDK hacks. Should work with a brewed clang/gcc ok now.
Thank you, it’s working great now with builtin clang and gcc from brew. -- Aaron
participants (2)
-
Aaron Hurt -
Arran Cudbard-Bell