Installing Etoile

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

Installing Etoile

by Michael Thaler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am trying to install etoile from trunk and get the following compile error:

Build Project: EtoileThread

Making build-headers for framework EtoileThread...
Making all for doc EtoileThread...
 Generating reference documentation...
autogsdoc: error while loading shared libraries: libgnustep-base.so.1.19:
cannot open shared object file: No such file or directory
make[4]: *** No rule to make target `EtoileThread/dependencies', needed by
`internal-doc-all_'.  Stop.
make[3]: *** [EtoileThread.all.doc.variables] Error 2
make[2]: *** [internal-all] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

I have installed gnustep from trunk and the library is there:

/opt/GNUstep/Local/Library/Libraries$ ls
gnustep-base         libgnustep-base.so.1.19    libgstep_guile.so
gnustep-gui          libgnustep-base.so.1.19.1  libgstep_guile.so.1
Guile                libgnustep-base.so.1.19.2  libgstep_guile.so.1.1.4
libgg_base.so        libgnustep-gui.so          libScriptKit.so
libgg_base.so.1      libgnustep-gui.so.0.17     libScriptKit.so.0
libgg_base.so.1.1.4  libgnustep-gui.so.0.17.0   libScriptKit.so.0.0.1
libgnustep-base.so   libgnustep-gui.so.0.17.1

$ echo $GNUSTEP_LOCAL_ROOT
/opt/GNUstep/Local

I am using Debian SID.
Greetings,
Michael

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

Re: Installing Etoile

by Niels Grewe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 03, 2009 at 08:45:28AM +0200, Michael Thaler wrote:
> Build Project: EtoileThread
>
> Making build-headers for framework EtoileThread...
> Making all for doc EtoileThread...
>  Generating reference documentation...
> autogsdoc: error while loading shared libraries: libgnustep-base.so.1.19:
> cannot open shared object file: No such file or directory

This is not a compile error. The autogsdoc binary that got installed
along gnustep-base can't find the base library. Did other stuff (e.g.
UnitKit, ObjectiveC2) build fine?
 

> I have installed gnustep from trunk and the library is there:
>
> /opt/GNUstep/Local/Library/Libraries$ ls
> gnustep-base         libgnustep-base.so.1.19    libgstep_guile.so
> gnustep-gui          libgnustep-base.so.1.19.1  libgstep_guile.so.1
> Guile                libgnustep-base.so.1.19.2  libgstep_guile.so.1.1.4
> libgg_base.so        libgnustep-gui.so          libScriptKit.so
> libgg_base.so.1      libgnustep-gui.so.0.17     libScriptKit.so.0
> libgg_base.so.1.1.4  libgnustep-gui.so.0.17.0   libScriptKit.so.0.0.1
> libgnustep-base.so   libgnustep-gui.so.0.17.1

Could you do 'ls -l' on that directory to verify that the symlinks point
to the correct files?
 
> $ echo $GNUSTEP_LOCAL_ROOT
> /opt/GNUstep/Local

This is rather odd: You seem to have sourced GNUstep.sh (have you?).
Perhaps you could check whether your LD_LIBRARY_PATH environment
variable includes /opt/GNUstep/Local/Library/Libraries. If it doesn't
your workaround would be to add it manually.

Hope that helps,


Niels

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

Re: Installing Etoile

by Michael Thaler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> > $ echo $GNUSTEP_LOCAL_ROOT
> > /opt/GNUstep/Local
>
> This is rather odd: You seem to have sourced GNUstep.sh (have you?).
> Perhaps you could check whether your LD_LIBRARY_PATH environment
> variable includes /opt/GNUstep/Local/Library/Libraries. If it doesn't
> your workaround would be to add it manually.

This is indeed the problem. I have

. /opt/GNUstep/System/Library/Makefiles/GNUstep.sh
 if [ `gdomap -L GDNCServer | grep -c Found` == '0' ]; then
 echo "Starting GNUstep services..."
 gdnc
 gpbs
 fi

in my .bash_profile. Shouldn't GNUstep.sh automatically add  
/opt/GNUstep/Local/Library/Libraries to LD_LIBRARY_PATH?

Greetings,
Michael

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

Re: Installing Etoile

by Niels Grewe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Sep 03, 2009 at 09:23:04AM +0200, Michael Thaler wrote:

> Hi,
>
> > > $ echo $GNUSTEP_LOCAL_ROOT
> > > /opt/GNUstep/Local
> >
> > This is rather odd: You seem to have sourced GNUstep.sh (have you?).
> > Perhaps you could check whether your LD_LIBRARY_PATH environment
> > variable includes /opt/GNUstep/Local/Library/Libraries. If it doesn't
> > your workaround would be to add it manually.
>
> This is indeed the problem. I have
>
> . /opt/GNUstep/System/Library/Makefiles/GNUstep.sh
>  if [ `gdomap -L GDNCServer | grep -c Found` == '0' ]; then
>  echo "Starting GNUstep services..."
>  gdnc
>  gpbs
>  fi

Have you verified that all those services actually start up? Because if
the GNUstep libraries are not in your LD_LIBRARY_PATH they really
shouldn't...

> Shouldn't GNUstep.sh automatically add  
> /opt/GNUstep/Local/Library/Libraries to LD_LIBRARY_PATH?

It's supposed to do that. Did you configure gnustep-make with any funny
options? GNUstep.sh seems to get all the paths it adds to
LD_LIBRARY_PATH from the GNUSTEP_*_LIBRARIES variables in your
GNUstep.conf (which is usually installed as /etc/GNUstep/GNUstep.conf
unless you specified another location when configuring gnustep-make). So
that may be the place to look. You also might have your personal version
in ~/.GNUstep.conf (but you usually know that because you need to create
it explicitly.)

Cheers,


Niels


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

Re: Installing Etoile

by Michael Thaler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> > Shouldn't GNUstep.sh automatically add
> > /opt/GNUstep/Local/Library/Libraries to LD_LIBRARY_PATH?
>
> It's supposed to do that. Did you configure gnustep-make with any funny
> options? GNUstep.sh seems to get all the paths it adds to
> LD_LIBRARY_PATH from the GNUSTEP_*_LIBRARIES variables in your
> GNUstep.conf (which is usually installed as /etc/GNUstep/GNUstep.conf
> unless you specified another location when configuring gnustep-make). So
> that may be the place to look. You also might have your personal version
> in ~/.GNUstep.conf (but you usually know that because you need to create
> it explicitly.)

I found the problem. I had

. /opt/GNUstep/System/Library/Makefiles/GNUstep.sh

in .bash_profile, but not in .bashrc (I thought it is enough to do that once,
but apparently I have to do it for every shell I open).

Thanks for helping,
Michael

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

Re: Installing Etoile

by Truls Becken :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Thaler wrote:

> I found the problem. I had
>
> . /opt/GNUstep/System/Library/Makefiles/GNUstep.sh
>
> in .bash_profile, but not in .bashrc (I thought it is enough to do that once,
> but apparently I have to do it for every shell I open).

You should not need to source it from .bashrc, but it may help if you
source GNUstep.sh from .xinitrc and .xsession.

-Truls

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