discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep frameworks on Solaris


From: Alexander V. Diemand
Subject: Re: GNUstep frameworks on Solaris
Date: Tue, 30 Dec 2003 23:47:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5) Gecko/20031107 Thunderbird/0.3

Andreas Hoeschler wrote:
Hi all,

I am trying to build a framework on Solaris and get the following error:

bash-2.03$ make
Making build-headers for framework FBAccess...
/bin/sh: test: argument expected
make[1]: *** [build-framework-dirs] Error 1
make: *** [FBAccess.build-headers.framework.variables] Error 2

The build succeeds on a SuSE box so it must be platform related somehow. I am using the same GNUmakefile, GNUstep make version (1.9.0) and sources on both platforms.

include $(GNUSTEP_MAKEFILES)/common.make
GNUSTEP_BUILD_DIR = /Build/FBAccess
FRAMEWORK_NAME = FBAccess
FBAccess_HEADER_FILES = FBNull.h
FBAccess_HEADER_FILES_INSTALL_DIR = FBAccess
FBAccess_OBJC_FILES = FBNull.m
ADDITIONAL_OBJCFLAGS += -Wall
libFBAccess_INCLUDE_DIRS += -I/opt/FrontBase/include/ -I/Library/FrontBase/include -I/home/ahoesch/Development/GNUstep/SmartObjects
libFBAccess_LIB_DIRS += -L/opt/FrontBase/lib/
libFBAccess_LIB_LIBS += -lFBCAccess
ADDITIONAL_INCLUDE_DIRS += -I/opt/FrontBase/include/
FBAccess_RESOURCE_FILES = FBSQLErrors.array
include $(GNUSTEP_MAKEFILES)/framework.make

Is anybody else using GNustep make on Solaris 8 to build frameworks? Any hints are greately appreciated!

Thanks,

  Andreas



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep



Hi Andreas,

I have done this once. The problem is that Sun uses an ugly version of the /bin/sh(ell).

Try to change all "tests", which read "[ -L ...]" to "[ -h ...]".
Example in System/Library/Makefiles/Instance/framework.make:
lines reading:
         if [ ! -L "Current" ]; then \
should be changed to:
         if [ ! -h Current ]; then \

This should get you going.
I think another point was: simple "rm" was not enough to have make remove some stuff, so I made it "rm -f". Do not do this unless you really want! ;-)

Greetings

Alex.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]