[OGo-Developer] noob question on building sope-appserver/samples/HelloForm
Helge Hess
developer@opengroupware.org
Thu, 2 Nov 2006 11:00:12 +0100
On Oct 30, 2006, at 10:12, Helge Hess wrote:
> On Oct 30, 2006, at 05:43, Chad Leigh wrote:
>>>> /usr/bin/ld: can't locate file for: -lNGObjWeb
>>>> collect2: ld returned 1 exit status
> OK, I can reproduce that and will have a look. No idea yet why it
> wouldn't work.
OK, found it. Actually this was b0rked when woapp.make was updated
for the latest GNUstep-make version :-/
So using gnustep-make from the GNUstep website instead of the one
provided with SOPE should help.
woapp.make now has something like this:
---snip---
ifndef $(WHICH_LIB_SCRIPT)
ALL_WO_LIBS = \
$(ALL_LIB_DIRS) \
$(ADDITIONAL_WO_LIBS) $(AUXILIARY_WO_LIBS) $(WO_LIBS) \
$(ADDITIONAL_TOOL_LIBS) $(AUXILIARY_TOOL_LIBS) \
$(FND_LIBS) $(ADDITIONAL_OBJC_LIBS) $(AUXILIARY_OBJC_LIBS) \
$(OBJC_LIBS) $(SYSTEM_LIBS) $(TARGET_SYSTEM_LIBS)
else
---snap---
This "WHICH_LIB_SCRIPT" variable is not available in earlier GNUstep
versions so gnustep-make doesn't call which_lib. Which in turn breaks
everything.
Interestingly it doesn't help to do a:
export WHICH_LIB_SCRIPT="$GNUSTEP_MAKEFILES/which_lib"
prior calling make.
Not sure what to do yet. Probably we should revert the changes to the
SOPE makefiles until they properly work with older versions of
gnustep-make.
Greets,
Helge
--
Helge Hess
http://docs.opengroupware.org/Members/helge/