On 10/23/08, Nicola Pero <[EMAIL PROTECTED]> wrote: > > > On 23/ott/08, at 17:45, "Samuel Harvey" <[EMAIL PROTECTED]> wrote: > > > > ---------- Forwarded message ---------- > > From: Samuel Harvey <[EMAIL PROTECTED]> > > Date: Oct 22, 2008 8:25 PM > > Subject: Re: All GNUstep apps have blank windows, and lots of apps won't > compile > > To: Nicola Pero > <[EMAIL PROTECTED]> > > > > > > On 10/22/08, Nicola Pero > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > gsgd > > > > > > > > > > > > > > > > > > > > > > > > > > **** > > > > Making all for library libgsgd... > > > > Compiling file GDFont.m ... > > > > In file included from GDFont.m:24: > > > > ../Headers/gsgd/GDFont.h:29:16: warning: gd.h: No > such > > > > > > > file or directory > > > > > > > **** > > > > > > > > > > > > > > You need gd-devel (the headers from libgd, the library that manipulates > > > pngs/gifs) to compile gsgd. :-) > > > Unless it's a problem with include flags ? > > > > > > > > > > > > > java > > > > **** > > > > Making all for library libgnustep-java... > > > > Compiling file ObjcRuntimeUtilities.c ... > > > > In file included from > > > > > > > /usr/GNUstep/System/Library/Headers/objc/objc-api.h:31, > > > > > > > from ObjcRuntimeUtilities.h:29, > > > > from ObjcRuntimeUtilities.c:49: > > > > /usr/GNUstep/System/Library/Headers/objc/hash.h: In > > > > > > > function 'objc_hash_ptr': > > > > > > > > /usr/GNUstep/System/Library/Headers/objc/hash.h:168: > > > > > > > error: 'size_t' > > > > > > > undeclared (first use in this function) > > > > > > > > > > > > > > This is confusing - you may want to double-check your compiler/libobjc > > > setup ? > > > > > > If the compiler/libobjc are OK, it would be nice to get some more > > > information ... > > > > > > 1. compiler version > > > > > > 2. libobjc version > > > > > > 3. output of 'make messages=yes' > > > > > > Hmmm. > > > > > > Thanks > > > > > > > > > dev-libs/java compiles now. I needed to have JAVA_HOME set. > > > > Debian+bash users: > > append to /etc/bash.bashrc > > *** > > export JAVA_HOME=/usr/java/default > > *** > > > > dev-libs/sqlclient also compiles with JDBC support for me now because > > it can find jni.h. > > > > After installing libgd-dev, dev-libs/gsgd now gives a different error: > > *** > > Making all for java_package libgsgd-java... > > Compiling file gnu/gnustep/gd/Image.java ... > > gnu/gnustep/gd/Image.java:44: cannot find symbol > > symbol : class NSData > > location: class gnu.gnustep.gd.Image > > public Image (NSData arg0, long arg1) > > ... > > ./gnu/gnustep/gd/Font.java:82: cannot find symbol > > symbol : class NSArray > > location: class gnu.gnustep.gd.Font > > public native NSSize boundingBoxForStrings (NSArray arg0); > > ^ > > 13 errors > > make[5]: *** [gnu/gnustep/gd/Image.class] Error 1 > > make[4]: *** [libgsgd-java.all.java-package.variables] > Error 2 > > make[3]: *** [internal-all] Error 2 > > make[3]: Leaving directory > > > `/home/kephnos/src/gnustep/modules/dev-libs/gsgd/Source/JavaWrapper' > > make[2]: *** [after-gsgd-all] Error 2 > > make[1]: *** [gsgd.all.java-wrapper.variables] Error 2 > > > > make: *** [internal-all] Error 2 > > *** > > > > You need to compile and install Wrappers/base before you can use jigs for > gnustep-base java projects such as the Java version of gsgd ;-) > > Thanks >
Ahh... it was in dev-libs/java/INSTALL My apologies for not reading all relevant documentation before asking a question. It might be helpful to have gsgd/INSTALL refer to java/INSTALL, as java/Wrappers/base does not compile+install by default, unless there's some developer source compilation FAQ that I haven't been able to find that has a list of compile/install dependencies for the GNUstep libraries. I have found a few guides to building the GNUstep libraries, but everything I have found is very out-of-date. I thought it might be helpful if I wrote something a little more up-to-date. Is there a preferred wiki that I could wrangle an account for, and update whatever build guide it may have? Sam H _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
