pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
various GNUstep issues
Hi!
I'm trying to build SOGo, as presented here:
http://www.inverse.ca/english/contributions/sogo.html
In getting the dependencies built, I'm running into some roadblocks in
existing pkgsrc packages:
First was gnustep-base wouldn't build with `PKG_SYSCONFBASE=/etc'. I
fixed that a couple weeks ago.
Next was devel/gnustep-objc-lf2 which had some strangeness in the PLIST.
I patched it as shown below to get it to install cleanly, but I
haven't tested it yet. It looks like the original PLIST was wrong...
--- devel/gnustep-objc-lf2/PLIST.orig 2008-03-16 15:45:08.000000000 -0400
+++ devel/gnustep-objc-lf2/PLIST 2008-03-08 22:37:23.000000000 -0500
@@ -1,18 +1,18 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/01 04:18:47 rh Exp $
-share/GNUstep/System/Library/Headers/objc_lf2/Object.h
-share/GNUstep/System/Library/Headers/objc_lf2/Protocol.h
-share/GNUstep/System/Library/Headers/objc_lf2/encoding.h
-share/GNUstep/System/Library/Headers/objc_lf2/hash.h
-share/GNUstep/System/Library/Headers/objc_lf2/objc-api.h
-share/GNUstep/System/Library/Headers/objc_lf2/objc-decls.h
-share/GNUstep/System/Library/Headers/objc_lf2/objc-list.h
-share/GNUstep/System/Library/Headers/objc_lf2/objc-mem.h
-share/GNUstep/System/Library/Headers/objc_lf2/objc.h
-share/GNUstep/System/Library/Headers/objc_lf2/sarray.h
-share/GNUstep/System/Library/Headers/objc_lf2/thr.h
-share/GNUstep/System/Library/Headers/objc_lf2/typedstream.h
-share/GNUstep/System/Library/Libraries/libobjc_lf2.so
-share/GNUstep/System/Library/Libraries/libobjc_lf2.so.2.95.3
-@comment in devel/gnustep-make: @dirrm
share/GNUstep/System/Library/Libraries
-@dirrm share/GNUstep/System/Library/Headers/objc_lf2
-@comment in devel/gnustep-make: @dirrm share/GNUstep/System/Library/Headers
+share/GNUstep/Local/Library/Headers/objc_lf2/Object.h
+share/GNUstep/Local/Library/Headers/objc_lf2/Protocol.h
+share/GNUstep/Local/Library/Headers/objc_lf2/encoding.h
+share/GNUstep/Local/Library/Headers/objc_lf2/hash.h
+share/GNUstep/Local/Library/Headers/objc_lf2/objc-api.h
+share/GNUstep/Local/Library/Headers/objc_lf2/objc-decls.h
+share/GNUstep/Local/Library/Headers/objc_lf2/objc-list.h
+share/GNUstep/Local/Library/Headers/objc_lf2/objc-mem.h
+share/GNUstep/Local/Library/Headers/objc_lf2/objc.h
+share/GNUstep/Local/Library/Headers/objc_lf2/sarray.h
+share/GNUstep/Local/Library/Headers/objc_lf2/thr.h
+share/GNUstep/Local/Library/Headers/objc_lf2/typedstream.h
+share/GNUstep/Local/Library/Libraries/libobjc_lf2.so
+share/GNUstep/Local/Library/Libraries/libobjc_lf2.so.2.95.3
+@comment in devel/gnustep-make: @dirrm
share/GNUstep/Local/Library/Libraries
+@dirrm share/GNUstep/Local/Library/Headers/objc_lf2
+@comment in devel/gnustep-make: @dirrm share/GNUstep/Local/Library/Headers
... which brings up some confusion I have with regards to updating
PLISTs but that's a different story...
Next thing: devel/libFoundation
This is failing like this...
Compiling file NSDecimalNumber.m ...
NSDecimalNumber.m:44: error: 'nan' redeclared as different kind of symbol
/usr/include/math.h:337: error: previous declaration of 'nan' was here
gmake[2]: *** [/./GNU/NSDecimalNumber.o] Error 1
gmake[1]: *** [libFoundation.all.library.variables] Error 2
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/Foundation'
gmake: *** [internal-all] Error 2
*** Error code 2
Stop.
math.h says `double nan(const char *);'
NSDecimalNumber.m says `static NSDecimalNumber *nan = nil;'
If I change the variable name "nan" to "nAn" it compiles. But even
though that piece compiles, the package still fails to build in the end.
I wonder if those warnings are a clue. There are things that changed
with GNUmake 2, particularly GNUSTEP_INSTALLATION_DIR, but there is no
reference to these directories in pkgsrc as far as I could find.
Linking library libFoundation ...
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/Foundation'
Making all in Resources...
gmake[1]: Entering directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/Resources'
/usr/pkg/share/GNUstep/System/Library/Makefiles/common.make:169:
GNUSTEP_INSTALLATION_DIR is deprecated. Please use
GNUSTEP_INSTALLATION_DOMAIN instead
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/Resources'
Making all in examples...
gmake[1]: Entering directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/examples'
/usr/pkg/share/GNUstep/System/Library/Makefiles/common.make:169:
GNUSTEP_INSTALLATION_DIR is deprecated. Please use
GNUSTEP_INSTALLATION_DOMAIN instead
Making all for tool Defaults...
/usr/pkg/share/GNUstep/System/Library/Makefiles/common.make:169:
GNUSTEP_INSTALLATION_DIR is deprecated. Please use
GNUSTEP_INSTALLATION_DOMAIN instead
Compiling file Defaults.m ...
Linking tool Defaults ...
ld: cannot find -lFoundation
gmake[2]: *** [/./GNU/Defaults] Error 1
gmake[1]: *** [Defaults.all.tool.variables] Error 2
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/libFoundation/default/libfoundation/examples'
gmake: *** [internal-all] Error 2
Stop.
Any help would be great. Thanks,
Louis
Home |
Main Index |
Thread Index |
Old Index