Re: FreeBSD Install
Mirko Viviani <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Message-ID | <[email protected]> |
Helge Hess wrote: >>> Is it possible to install OpenGroupware on a FreeBSD? >>> And if so, how? >> >> Yes, I've installed it on FreeBSD 5.1 with minor changed to some >> packages. > > Small sidenote: thanks to Marcus Mueller, we added some patches to > gnustep-objc and libFoundation to work with FreeBSD. > > Maybe someone could retry compilation and post an updated description - > certainly some issues are left (and apparently Marcus didn't walk over > some of the issues of Mirko yet). It's better but not enough because with this release the libobjc shipped with gcc 3.2.2 has thread enabled and to compile objc sources you have to add -pthread to the command line. This is correctly defined in gnustep-make/config.make[objc_threaded] but it is not used by the configure used by libFoundation so it fails the objc tests. The switch --with-gnustep does not work and sincerely I haven't know why! >> [js1.5] >> 1. configure and copy config/linux.mk to config/FREEBSDxxx.mk where >> xxx is your distribution (in my case 5.1-RELEASE) > > > So I should probably add this to the CVS. What is the exact copy I > should add: > > "FREEBSD5.1-RELEASE" > > ? Any other versions in widespread use? Rename it FreeBSD.mk and apply this patch to config.mk, it should work with other fbsd versions. diff -c -r1.1.1.1 config.mk *** config.mk 9 Jul 2003 22:57:43 -0000 1.1.1.1 --- config.mk 21 Jul 2003 16:21:17 -0000 *************** *** 85,90 **** --- 85,93 ---- ifeq ($(OS_ARCH),Linux) OS_CONFIG := Linux_All else + ifeq ($(OS_ARCH),FreeBSD) + OS_CONFIG := FreeBSD + else ifeq ($(OS_ARCH),dgux) OS_CONFIG := dgux else *************** *** 92,97 **** --- 95,101 ---- OS_CONFIG := Darwin else OS_CONFIG := $(OS_ARCH)$(OS_OBJTYPE)$(OS_RELEASE) + endif endif endif endif >> [gnustep-db] >> 1. Change the path of includes and lib > > > Could you be more specific ? The FBSD postgres 7.3.3 port puts the includes in /usr/local/include instead in the subdir pgsql/ as before, so I modified the files like this: diff -c -r1.1.1.1 EOAttribute+PostgreSQL72.h *** EOAttribute+PostgreSQL72.h 9 Jul 2003 22:57:43 -0000 1.1.1.1 --- EOAttribute+PostgreSQL72.h 21 Jul 2003 16:27:22 -0000 *************** *** 28,34 **** #define ___PostgreSQL72_EOAttribute_H___ #import <GDLAccess/EOAttribute.h> ! #include <pgsql/libpq-fe.h> @class NSString; --- 28,34 ---- #define ___PostgreSQL72_EOAttribute_H___ #import <GDLAccess/EOAttribute.h> ! #include <libpq-fe.h> @class NSString; The PGSQL var used in GNUmakefile is not defined and here should be /usr/local Ciao, Mirko