Building Etoile

View: New views
4 Messages — Rating Filter:   Alert me  

Building Etoile

by Andreas Höschler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I finally managed to get gcc-4-1.2 compiled on my Solaris box an am
back at trying to build Etoile (svn from today).

gcc -v

Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: ../configure --with-gnu-as --with-as=/usr/sfw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared
--disable-nls --enable-languages=c,c++,objc --disable-multilib
Thread model: posix
gcc version 4.2.3

I worked around the "/bin/sh: syntax error at line 1: `end of file'
unexpected" on Solaris by temporarily doing

        mv /bin/sh /bin/sh.old
        ln -s /usr/bin/zsh /bin/sh

However, the build fails with

cd /usr/src/EtoileTrunk
svn co svn://svn.gna.org/svn/etoile/trunk/Etoile Etoile
cd Etoile
make

  Creating
ObjectiveC2.framework/Versions/0/Resources/Info-gnustep.plist...
zsh: parse error near `\n'
Making all in EtoileFoundation...
zsh: parse error near `\n'
Making build-headers in subprojects of framework EtoileFoundation...
Making build-headers for subproject libEtoileFoundation...
  Creating ../EtoileFoundation.framework/Versions/0/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 idea?

Thanks a lot,

   Andreas


_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: Building Etoile

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andreas,

Le 4 sept. 2009 à 10:48, Andreas Höschler a écrit :

> However, the build fails with
>
> cd /usr/src/EtoileTrunk
> svn co svn://svn.gna.org/svn/etoile/trunk/Etoile Etoile
> cd Etoile
> make
>
>  Creating
> ObjectiveC2.framework/Versions/0/Resources/Info-gnustep.plist...
> zsh: parse error near `\n'

Was ObjectiveC2 successfully compiled?

> Making all in EtoileFoundation...
> zsh: parse error near `\n'
> Making build-headers in subprojects of framework EtoileFoundation...
> Making build-headers for subproject libEtoileFoundation...
>  Creating ../EtoileFoundation.framework/Versions/0/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 idea?

It's hard to say without more details. Could you post in attachment  
the result of 'make messages=yes' or upload it somewhere?
Did you source GNUstep.sh or not before compiling? What are the  
current GNUstep environment variables print by 'env' ?

What is your gnustep-make version also? Did you pass any special flags  
when you configured it?

Cheers,
Quentin.


_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: Building Etoile

by Andreas Höschler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Quentin,

>> However, the build fails with
>>
>> cd /usr/src/EtoileTrunk
>> svn co svn://svn.gna.org/svn/etoile/trunk/Etoile Etoile
>> cd Etoile
>> make
>>
>>  Creating
>> ObjectiveC2.framework/Versions/0/Resources/Info-gnustep.plist...
>> zsh: parse error near `\n'
>
> Was ObjectiveC2 successfully compiled?
It does not seem so. "ls -l /opt/GNUstep/Local/Library/Libraries | grep
Objecti" gives me nothing. However, I get that the zsh replacment
causes more bad than good. I therefore did

        rm /bin/sh
        mv /bin/sh.old /bin/sh

and am tryingmy uck with sh again. It again gives me

make[3]: *** No rule to make target
`EtoileFoundation.framework/Versions/0/Headers/EtoileFoundation.h',
needed by `internal-framework-build-headers'.  Stop.

The complete output of "make messages=yes" is attached.


Making all in Frameworks...
make[1]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks'
Making all in UnitKit...
make[2]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit'
rm -f /usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/UnitKit
ln -s /usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/FrameworkSource /usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/UnitKit
Making all in Source/FrameworkSource...
make[3]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/FrameworkSource'
Making build-headers for framework UnitKit...
cd ./UnitKit.framework; \
  if [ ! -h "Resources" ]; then \
    rm -f Resources; \
    ln -s Versions/Current/Resources Resources; \
  fi; \
  if [ ! -h "Headers" ]; then \
    rm -f Headers; \
    ln -s Versions/Current/Headers Headers; \
  fi
cd ./derived_src; \
  if [ ! -h "UnitKit" ]; then \
    rm -f ./UnitKit; \
    ln -s ../UnitKit.framework/Headers \
                    ./UnitKit; \
  fi
Making all for framework UnitKit...
make -f GNUmakefile --no-print-directory --no-keep-going \
internal-framework-compile \
GNUSTEP_TYPE=framework \
GNUSTEP_INSTANCE=UnitKit \
GNUSTEP_OPERATION=compile \
GNUSTEP_BUILD_DIR="." \
_GNUSTEP_MAKE_PARALLEL=yes
make[5]: Nothing to be done for `internal-framework-compile'.
for l in English; do \
  if [ -d $l.lproj ]; then \
    /opt/GNUstep/System/Library/Makefiles/mkinstalldirs ./UnitKit.framework/Versions/1/Resources/$l.lproj; \
    for f in UKRunner.strings UKTestHandler.strings; do \
      if [ -f $l.lproj/$f -o -d $l.lproj/$f ]; then \
        cp -fr $l.lproj/$f \
              ./UnitKit.framework/Versions/1/Resources/$l.lproj/; \
      else \
        echo "Warning: $l.lproj/$f not found - ignoring"; \
      fi; \
    done; \
  else \
    echo "Warning: $l.lproj not found - ignoring"; \
  fi; \
done
cd ./UnitKit.framework/.; \
rm -f UnitKit libUnitKit.so; \
ln -s `/opt/GNUstep/System/Library/Makefiles/relative_path.sh . \
                            Versions/Current/./UnitKit short` \
        UnitKit; \
ln -s `/opt/GNUstep/System/Library/Makefiles/relative_path.sh . \
                            Versions/Current/./libUnitKit.so short` \
        libUnitKit.so
make[3]: Leaving directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/FrameworkSource'
Making all in Source/ToolSource...
make[3]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/ToolSource'
Making all for tool ukrun...
make -f GNUmakefile --no-print-directory --no-keep-going \
internal-tool-compile \
GNUSTEP_TYPE=tool \
GNUSTEP_INSTANCE=ukrun \
GNUSTEP_OPERATION=compile \
GNUSTEP_BUILD_DIR="." \
_GNUSTEP_MAKE_PARALLEL=yes
make[5]: Nothing to be done for `internal-tool-compile'.
make[3]: Leaving directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit/Source/ToolSource'
make[2]: Leaving directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/UnitKit'
Making all in ObjectiveC2...
make[2]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/ObjectiveC2'
Making build-headers for framework ObjectiveC2...
cd ./ObjectiveC2.framework; \
  if [ ! -h "Resources" ]; then \
    rm -f Resources; \
    ln -s Versions/Current/Resources Resources; \
  fi; \
  if [ ! -h "Headers" ]; then \
    rm -f Headers; \
    ln -s Versions/Current/Headers Headers; \
  fi
cd ./derived_src; \
  if [ ! -h "ObjectiveC2" ]; then \
    rm -f ./ObjectiveC2; \
    ln -s ../ObjectiveC2.framework/Headers \
                    ./ObjectiveC2; \
  fi
Making all for framework ObjectiveC2...
make -f GNUmakefile --no-print-directory --no-keep-going \
internal-framework-compile \
GNUSTEP_TYPE=framework \
GNUSTEP_INSTANCE=ObjectiveC2 \
GNUSTEP_OPERATION=compile \
GNUSTEP_BUILD_DIR="." \
_GNUSTEP_MAKE_PARALLEL=yes
make[4]: Nothing to be done for `internal-framework-compile'.
cd ./ObjectiveC2.framework/.; \
rm -f ObjectiveC2 libObjectiveC2.so; \
ln -s `/opt/GNUstep/System/Library/Makefiles/relative_path.sh . \
                            Versions/Current/./ObjectiveC2 short` \
        ObjectiveC2; \
ln -s `/opt/GNUstep/System/Library/Makefiles/relative_path.sh . \
                            Versions/Current/./libObjectiveC2.so short` \
        libObjectiveC2.so
make[2]: Leaving directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/ObjectiveC2'
Making all in EtoileFoundation...
make[2]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/EtoileFoundation'
Making build-headers in subprojects of framework EtoileFoundation...
make[3]: Entering directory `/usr/share/src/etoileTrunk/Etoile/Frameworks/EtoileFoundation/Source'
Making build-headers for subproject libEtoileFoundation...
make[4]: Nothing to be done for `internal-subproject-build-headers'.
make[3]: Leaving directory `/usr/share/src/etoileTrunk/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/etoileTrunk/Etoile/Frameworks/EtoileFoundation'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/usr/share/src/etoileTrunk/Etoile/Frameworks'
make: *** [internal-all] Error 2



>> Making all in EtoileFoundation...
>> zsh: parse error near `\n'
>> Making build-headers in subprojects of framework EtoileFoundation...
>> Making build-headers for subproject libEtoileFoundation...
>>  Creating ../EtoileFoundation.framework/Versions/0/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 idea?
>
> It's hard to say without more details. Could you post in attachment
> the result of 'make messages=yes' or upload it somewhere?
> Did you source GNUstep.sh or not before compiling?
Yes!

>  What are the
> current GNUstep environment variables print by 'env' ?

-bash-3.00# env
GNUSTEP_IS_FLATTENED=yes
TERM=vt100
SHELL=/bin/bash
SSH_CLIENT=192.168.1.5 49181 22
GNUSTEP_LOCAL_ROOT=/opt/GNUstep/Local
SSH_TTY=/dev/pts/2
GNUSTEP_HOST=i386-pc-solaris2.10
USER=root
LD_LIBRARY_PATH=//GNUstep/Library/Libraries:/opt/GNUstep/Local/Library/
Libraries:/opt/GNUstep/System/Library/Libraries
GUILE_LOAD_PATH=//GNUstep/Library/Libraries/Guile:/opt/GNUstep/Local/
Library/Libraries/Guile:/opt/GNUstep/System/Library/Libraries/Guile
GNUSTEP_MAKEFILES=/opt/GNUstep/System/Library/Makefiles
GNUSTEP_NETWORK_ROOT=/opt/GNUstep/Network
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST_OS=solaris2.10
GNUSTEP_HOST_VENDOR=pc
MAIL=/var/mail//root
PATH=//GNUstep/Tools:/opt/GNUstep/Local/Tools:/opt/GNUstep/System/
Tools:/opt/sfw/cups/bin:/opt/sfw/cups/sbin:/usr/local/bin:/usr/bin:/
usr/sbin:/usr/local/sbin:/usr/local/apache/bin:/usr/local/ssl/bin:/usr/
ccs/bin:/opt/FrontBase/bin:/usr/local/teTeX/bin:/usr/sfw/bin:/opt/sfw/
bin:/opt/csw/bin:/usr/ucb:/usr/openwin/bin:/usr/sfw/bin:/opt/csw/sbin
PWD=/usr/src/etoileTrunk/Etoile
EDITOR=pico
LANG=C
TZ=Europe/Berlin
XFILESEARCHPATH=/opt/csw/lib/X11/%T/%N%C:/usr/openwin/lib/X11/%T/%N%C:/
etc/dt/app-defaults/%L/%N:/etc/dt/app-defaults/C/%N:/usr/dt/app-
defaults/%L/%N:/usr/dt/app-defaults/C/%N:/usr/openwin/lib/locale/%L/%T/
%N%S:/usr/openwin/lib/%T/%N%S
GNUSTEP_HOST_CPU=ix86
SHLVL=1
HOME=/
GNUSTEP_USER_ROOT=//GNUstep
GNUSTEP_SYSTEM_ROOT=/opt/GNUstep/System
LOGNAME=root
GNUSTEP_PATHLIST=/opt/GNUstep/System:/opt/GNUstep/Network:/opt/GNUstep/
Local://GNUstep
CLASSPATH=/opt/GNUstep/System/Library/Libraries/Java:/opt/GNUstep/
Local/Library/Libraries/Java://GNUstep/Library/Libraries/Java
SSH_CONNECTION=192.168.1.5 49181 192.168.1.8 22
LIBRARY_COMBO=gnu-gnu-gnu
INFOPATH=/opt/GNUstep/System/Library/Documentation/info::/opt/GNUstep/
Local/Library/Documentation/info:://GNUstep/Library/Documentation/info:
_=/usr/bin/env
OLDPWD=/usr/src/etoileTrunk

> What is your gnustep-make version also? Did you pass any special flags
> when you configured it?

Most recent!

        ./configure --prefix=/opt/GNUstep --enable-import

Thanks a lot,

  Andreas

BTW: I could give you ssh access to my Solaris box if that helped!?

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: Building Etoile

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 5 sept. 2009 à 12:26, Andreas Höschler a écrit :

> Hi Quentin,
>
>>> Creating
>>> ObjectiveC2.framework/Versions/0/Resources/Info-gnustep.plist...
>>> zsh: parse error near `\n'
>>
>> Was ObjectiveC2 successfully compiled?
>
> It does not seem so. "ls -l /opt/GNUstep/Local/Library/Libraries |  
> grep Objecti" gives me nothing. However, I get that the zsh  
> replacment causes more bad than good. I therefore did
>
> rm /bin/sh
> mv /bin/sh.old /bin/sh
>
> and am tryingmy uck with sh again. It again gives me
>
> make[3]: *** No rule to make target `EtoileFoundation.framework/
> Versions/0/Headers/EtoileFoundation.h', needed by `internal-
> framework-build-headers'.  Stop.
>
> The complete output of "make messages=yes" is attached.
>
> <Compile.txt>

It looks like it gives up almost immediately as if everything was  
already built. I'm a bit clueless.

>>> Could you post in attachment
>> the result of 'make messages=yes' or upload it somewhere?
>> Did you source GNUstep.sh or not before compiling?
>
> Yes!

ok.

>> What are the
>> current GNUstep environment variables print by 'env' ?

Everything seems fine except may be…

> HOME=/
> GNUSTEP_USER_ROOT=//GNUstep

Are you sure this home directory path is well supported by GNUstep? Do  
GNUstep applications (e.g. Gorm) compile?
I remember that few years ago gnustep-make wasn't supporting to be  
configured with --prefix=/, so I'm wondering whether this could be an  
issue.

>> What is your gnustep-make version also? Did you pass any special  
>> flags
>> when you configured it?
>
> Most recent!
>
> ./configure --prefix=/opt/GNUstep --enable-import

ok.

> BTW: I could give you ssh access to my Solaris box if that helped!?

That would be great, because I'm afraid I cannot help you otherwise.

Cheers,
Quentin.


_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss