Hi all,
>> I upgraded to gcc 4.2.3 and downloaded a complete new copy of Etoile
>> (trunk). I also tried explicitly the etoile.make from
>> http://svn.gna.org/viewcvs/etoile/trunk/Etoile/
>> etoile.make?rev=4161&view=auto. In both cases I (still) get.
>>
>> cd /usr/src/Etoile
>> make
>>
>> rm -f /usr/share/src/Etoile/Frameworks/UnitKit/Source/UnitKit
>> ln -s /usr/share/src/Etoile/Frameworks/UnitKit/Source/FrameworkSource
>> /usr/share/src/Etoile/Frameworks/UnitKit/Source/UnitKit
>> Making all in Source/FrameworkSource...
>> Making build-headers for framework UnitKit...
>> Making all for framework UnitKit...
>> Copying localized resources into the framework wrapper...
>> Making all in Source/ToolSource...
>> Making all for tool ukrun...
>> make[4]: Nothing to be done for `internal-tool-all'.
>> Making all in EtoileFoundation...
>> /bin/sh: syntax error at line 1: `end of file' unexpected
>> [snip]
>
> The syntax error surely comes from a small incompatibility between
> Solaris sh version and etoile.make command rules (such as before-
> all::, after-all:: etc.). I haven't access to any Solaris machine, so
> I don't know where the problem really is. I can only suggest that you
> try to disable or tweak these rules to pinpoint the syntax error.
I modified the before-all section in etoile.make to look like
before-all::
# $(ECHO_NOTHING) \
echo "Build Project: $(PROJECT_NAME)"; \
## Create Local Header Directory ## \
if [ ! -L $(PROJECT_DIR)/$(PROJECT_NAME) ]; then \
if [ -d $(PROJECT_DIR)/Headers ]; then \
$(LN_S) $(PROJECT_DIR)/Headers
$(PROJECT_DIR)/$(PROJECT_NAME); \
elif [ -n "$(LIBRARY_NAME)" -o -n "$(FRAMEWORK_NAME)" ]; then
\
$(LN_S) $(PROJECT_DIR) $(PROJECT_DIR)/$(PROJECT_NAME); \
fi; \
fi; \
if [ ! -d $(BUILD_DIR) ]; then \
mkdir $(BUILD_DIR); \
fi; \
# $(END_ECHO)
This fixes the "/bin/sh: syntax error at line 1: `end of file'
unexpected" problem on Solaris. Unfortunately this does not make Etoile
build. I get
-bash-3.00# make
Making all in Frameworks...
Making all in UnitKit...
rm -f /usr/share/src/Etoile/Frameworks/UnitKit/Source/UnitKit
ln -s /usr/share/src/Etoile/Frameworks/UnitKit/Source/FrameworkSource
/usr/share/src/Etoile/Frameworks/UnitKit/Source/UnitKit
Making all in Source/FrameworkSource...
Making build-headers for framework UnitKit...
Making all for framework UnitKit...
Copying localized resources into the framework wrapper...
Making all in Source/ToolSource...
Making all for tool ukrun...
make[4]: Nothing to be done for `internal-tool-all'.
Making all in EtoileFoundation...
Making build-headers in subprojects of framework EtoileFoundation...
Making build-headers for subproject libEtoileFoundation...
make[4]: Nothing to be done for `internal-subproject-build-headers'.
Making build-headers for framework EtoileFoundation...
make[3]: *** No rule to make target
`EtoileFoundation.framework/Versions/0/Headers/EtoileFoundation.h',
needed by `internal-framework-build-headers'. Stop.
make[2]: *** [EtoileFoundation.build-headers.framework.variables] Error
2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
now. Any clue?
Thanks,
Andreas
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss