Hi Quentin

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
make[2]: *** [before-all] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

When I try to build with "make messages=yes" I get

Build Project: EtoileFoundation

Making build-headers in subprojects of framework EtoileFoundation...
make[3]: Entering directory  
`/usr/share/src/Etoile/Frameworks/EtoileFoundation/Source'
Making build-headers for subproject libEtoileFoundation...
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs  
../EtoileFoundation.framework/Versions/0/Headers
make[3]: Leaving directory  
`/usr/share/src/Etoile/Frameworks/EtoileFoundation/Source'
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[2]: Leaving directory  
`/usr/share/src/Etoile/Frameworks/EtoileFoundation'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/usr/share/src/Etoile/Frameworks'
make: *** [internal-all] Error 2

Any more ideas?

Thanks a lot,

  Andreas


>>>> since
>>>>
>>>>    cd /usr/src/Etoile
>>>>    make
>>>>
>>>> did not work on my Solaris box, I went into the subdirs
>>>>
>>>>    cd /usr/src/Etoile/Frameworks/EtoileFoundation/EtoileThread
>>>>    make
>>>>
>>>> -bash-3.00# make
>>>> /bin/sh: syntax error at line 1: `end of file' unexpected
>>>> make: *** [before-all] Error 2
>>>
>>> Do you get this error only with Étoilé projects and not other
>>> projects
>>> which are also built with gnustep-make?
>>
>> I could built Affiche, Terminal and TextEdit without problems!
>
> ok.
> Then this error comes from etoile.make command rules I think. Until
> now, etoile.make was using 'find' command with 'maxdepth' option and
> this option is not supported on Solaris, so I just rewrote it, see  
> http://svn.gna.org/viewcvs/etoile?rev=4161&view=rev
> You can replace the etoile.make bundled with the 0.4 release by the
> version r4161 from trunk, and see whether that helps or not.
> Depending on your sh version, the etoile.make command rules (before-
> all::, after-all:: etc.) could need further adjustements. I remember
> that  some comment lines within the command rules were giving me
> similar weird errors in the past.
>
>>>> Build Project: EtoileThread
>>>>
>>>> [snip]
>>>> method
>>>> ETThread.m:102: warning: local declaration of `thread' hides
>>>> instance
>>>> variable
>>>> make[1]: *** [obj/ETThread.m.o] Error 1
>>>> make: *** [EtoileThread.all.framework.variables] Error 2
>>>>
>>>> This still leaves me clueless. Help is appreciated!
>>>
>>> Looks like the problem is that ivars are exposed in the scope of
>>> class
>>> methods as explained here:
>>> http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02552.html
>>> Changing line 87 of ETThread.m to use another local variable name
>>> should fix the problem. For example:
>>>     ETThread *newThread = [[ETThread alloc] init];
>>
>> I have done that. It stops in ETThreadedObject now.
>>
>> [snip]
>> -bash-3.00# gcc --version
>> gcc (GCC) 3.4.4
>> Copyright (C) 2004 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There
>> is
>> NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> I built the above with "make messages=yes". I just don't understand
>> why
>> "make" always gives me
>>
>> /bin/sh: syntax error at line 1: `end of file' unexpected
>> make: *** [before-all] Error 2
>
> That's an etoile.make and sh compatibility issue. Try to test with the
> changes I suggested above.
>
>> in the Etoile code tree? Should I upgrade to another gcc?
>
>
> Well I would suggest to upgrade to GCC 4.1 or higher and see whether
> that helps, 3.4 is a bit old you might get other problems when
> compiling the rest of the repository. We should probably update the
> INSTALL file to mention GCC 4.0 or higher is required…
>
> Quentin.
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à