Hey guys, can somebody please point me in the right direction? The README says "If you are using other operating systems, there is probably additional coding work required before you can get started. For starters, twisted.web2.dav requires Bob Ippolito's xattr library to access file system extended attributes. There are available on all file systems in Mac OS X, and on some file systems on Linux and FreeBSD." Where do I get this for FreeBSD?.. Thanks in advance for any pointers.. Best regards, Christian
Hi Christian, --On August 30, 2006 8:59:01 PM -0400 Christian Kuhtz <christian@kuhtz.com> wrote:
can somebody please point me in the right direction?
The README says
"If you are using other operating systems, there is probably additional coding work required before you can get started. For starters, twisted.web2.dav requires Bob Ippolito's xattr library to access file system extended attributes. There are available on all file systems in Mac OS X, and on some file systems on Linux and FreeBSD."
Where do I get this for FreeBSD?..
The xattr python package should be downlaoded by the CalendarServer/run script. Look in the xattr directory for details. -- Cyrus Daboo
Hi Cyrus, thanks for your reply.. see below.. On Aug 31, 2006, at 10:04 AM, Cyrus Daboo wrote:
The xattr python package should be downlaoded by the CalendarServer/ run script. Look in the xattr directory for details.
It's there, it just doesn't build.. :( Here's the part that blows up. building 'xattr._xattr' extension cc -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe - D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fPIC -I/usr/local/ include/python2.4 -c Modules/xattr/_xattr.c -o build/temp.freebsd-6.1- STABLE-i386-2.4/Modules/xattr/_xattr.o Modules/xattr/_xattr.c:2:23: sys/xattr.h: No such file or directory Modules/xattr/_xattr.c: In function `xattr_setxattr': Modules/xattr/_xattr.c:28: error: `XATTR_CREATE' undeclared (first use in this function) Modules/xattr/_xattr.c:28: error: (Each undeclared identifier is reported only once Modules/xattr/_xattr.c:28: error: for each function it appears in.) Modules/xattr/_xattr.c:30: error: `XATTR_REPLACE' undeclared (first use in this function) Modules/xattr/_xattr.c: In function `xattr_fsetxattr': Modules/xattr/_xattr.c:83: error: `XATTR_CREATE' undeclared (first use in this function) Modules/xattr/_xattr.c:85: error: `XATTR_REPLACE' undeclared (first use in this function) error: command 'cc' failed with exit status 1 Any ideas? Thanks, Christian
Anyone here who actually has successfully built this on FreeBSD? Best regards, Christian
I'm sorry to be such a pain guys, but is there anyone out there who actually has a confirmed report of CalendarServer building and running on FreeBSD? (namely, getting xattr to work) On Sep 3, 2006, at 6:59 PM, Christian Kuhtz wrote:
Anyone here who actually has successfully built this on FreeBSD?
Best regards, Christian
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
Hi Christian, --On September 11, 2006 6:14:26 PM -0400 Christian Kuhtz <christian@kuhtz.com> wrote:
I'm sorry to be such a pain guys, but is there anyone out there who actually has a confirmed report of CalendarServer building and running on FreeBSD? (namely, getting xattr to work)
Some hunting around shows that xattr may need to be manually enabled on a file system depending on the file system type. e.g.: <http://www.onlamp.com/pub/a/bsd/2003/08/14/freebsd_acls.html>. So I think you need to check the FreeBSD version and the file system type and how the file system was mounted (options). -- Cyrus Daboo
Cyrus, so, this is 6.1-STABLE from a cvsup less than 24 hours ago. options UFS_ACL is specified in the kernel. I don't think this has anything to do with xattr being enabled on the filesystem (I have attached the section of the build that fails), given that the build of xattr fails. It's looking for a couple of names in an include that doesn't exist and names which don't exist anywhere in the /usr/include tree. If anyone has this running on FreeBSD, please speak up. Right now, it doesn't look like this code can build at all. Best regards, Christian x pyOpenSSL-0.6/version.py src/ssl/context.c: In function `ssl_Context_set_info_callback': src/ssl/context.c:763: warning: assignment from incompatible pointer type Modules/xattr/_xattr.c:2:23: sys/xattr.h: No such file or directory Modules/xattr/_xattr.c: In function `xattr_setxattr': Modules/xattr/_xattr.c:28: error: `XATTR_CREATE' undeclared (first use in this function) Modules/xattr/_xattr.c:28: error: (Each undeclared identifier is reported only once Modules/xattr/_xattr.c:28: error: for each function it appears in.) Modules/xattr/_xattr.c:30: error: `XATTR_REPLACE' undeclared (first use in this function) Modules/xattr/_xattr.c: In function `xattr_fsetxattr': Modules/xattr/_xattr.c:83: error: `XATTR_CREATE' undeclared (first use in this function) Modules/xattr/_xattr.c:85: error: `XATTR_REPLACE' undeclared (first use in this function) error: command 'cc' failed with exit status 1 On Sep 11, 2006, at 5:01 PM, Cyrus Daboo wrote:
Hi Christian,
--On September 11, 2006 6:14:26 PM -0400 Christian Kuhtz <christian@kuhtz.com> wrote:
I'm sorry to be such a pain guys, but is there anyone out there who actually has a confirmed report of CalendarServer building and running on FreeBSD? (namely, getting xattr to work)
Some hunting around shows that xattr may need to be manually enabled on a file system depending on the file system type. e.g.: <http://www.onlamp.com/pub/a/bsd/2003/08/14/freebsd_acls.html>. So I think you need to check the FreeBSD version and the file system type and how the file system was mounted (options).
-- Cyrus Daboo
On Tue, Sep 12, 2006 at 12:57:39AM -0700, Christian Kuhtz wrote:
src/ssl/context.c: In function `ssl_Context_set_info_callback': src/ssl/context.c:763: warning: assignment from incompatible pointer type Modules/xattr/_xattr.c:2:23: sys/xattr.h: No such file or directory
Make sure this header file is available. It might be at a different location on freebsd. Cheers, -- Guido
Hi Christian, --On September 12, 2006 12:57:39 AM -0700 Christian Kuhtz <christian@kuhtz.com> wrote:
so, this is 6.1-STABLE from a cvsup less than 24 hours ago. options UFS_ACL is specified in the kernel.
I don't think this has anything to do with xattr being enabled on the filesystem (I have attached the section of the build that fails), given that the build of xattr fails. It's looking for a couple of names in an include that doesn't exist and names which don't exist anywhere in the /usr/include tree.
If anyone has this running on FreeBSD, please speak up. Right now, it doesn't look like this code can build at all.
Looks like you are missing /include/sys/xattr.h. Try to see if xattr.h is located somewhere else on your system. Failing that you may need to install the xattr development package (or FreeBSD equivalent) to allow compiling in xattr support. -- Cyrus Daboo
On Sep 12, 2006, at 9:29 AM, Cyrus Daboo wrote:
Hi Christian,
--On September 12, 2006 12:57:39 AM -0700 Christian Kuhtz <christian@kuhtz.com> wrote:
so, this is 6.1-STABLE from a cvsup less than 24 hours ago. options UFS_ACL is specified in the kernel.
I don't think this has anything to do with xattr being enabled on the filesystem (I have attached the section of the build that fails), given that the build of xattr fails. It's looking for a couple of names in an include that doesn't exist and names which don't exist anywhere in the /usr/include tree.
If anyone has this running on FreeBSD, please speak up. Right now, it doesn't look like this code can build at all.
Looks like you are missing /include/sys/xattr.h. Try to see if xattr.h is located somewhere else on your system. Failing that you may need to install the xattr development package (or FreeBSD equivalent) to allow compiling in xattr support.
There is no xattr.h on the system (or in the source tree for that matter) and there are also no definitions of the missing symbols anywhere else in the /usr/include tree. Where would one obtain such a dev pkg? Again, is there actually anyone out there who has this built on FreeBSD? It really looks like that is wishful thinking at the moment. Best regards, Christian
Looks like you are missing /include/sys/xattr.h. Try to see if xattr.h is located somewhere else on your system. Failing that you may need to install the xattr development package (or FreeBSD equivalent) to allow compiling in xattr support.
There is no xattr.h on the system (or in the source tree for that matter) and there are also no definitions of the missing symbols anywhere else in the /usr/include tree.
FreeBSD provides extended attributes through the <sys/extattr.h> API.
Again, is there actually anyone out there who has this built on FreeBSD? It really looks like that is wishful thinking at the moment.
To build on FreeBSD, I guess the code would need to be modified to handle both the <sys/extattr.h> and <sys/xattr.h> APIs. Doug
On Sep 13, 2006, at 5:49 PM, Douglas Kosovic wrote:
Looks like you are missing /include/sys/xattr.h. Try to see if xattr.h is located somewhere else on your system. Failing that you may need to install the xattr development package (or FreeBSD equivalent) to allow compiling in xattr support.
There is no xattr.h on the system (or in the source tree for that matter) and there are also no definitions of the missing symbols anywhere else in the /usr/include tree.
FreeBSD provides extended attributes through the <sys/extattr.h> API.
Again, is there actually anyone out there who has this built on FreeBSD? It really looks like that is wishful thinking at the moment.
To build on FreeBSD, I guess the code would need to be modified to handle both the <sys/extattr.h> and <sys/xattr.h> APIs.
Thanks. That explains a lot (specifically, why I wasn't to find anything by grepping the tree). I just took a look at how to map it, going to take a crack at it later tonight. At least we have confirmation now that the build does not currently work on FreeBSD. Best regards, Christian
participants (4)
-
Christian Kuhtz
-
Cyrus Daboo
-
Douglas Kosovic
-
Guido Guenther