discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing GNUstep from source on Debian GNU/Linux SID


From: Csanyi Pal
Subject: Re: Installing GNUstep from source on Debian GNU/Linux SID
Date: Sun, 05 Feb 2012 23:09:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Csanyi Pal <address@hidden> writes:

> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.lib.gnustep.general as well.
>
> "Sebastian Reitenbach" <address@hidden> writes:
>
>> On Sunday, February 5, 2012 20:25 CET, Csanyi Pal
>> <address@hidden> wrote: 
>>  
>>> Ivan Vučica <address@hidden> writes:
>>> 
>>> > On Sun, Feb 5, 2012 at 16:48, Csanyi Pal <address@hidden>
>>> > wrote: 
>>> >
>>> >     How can I start development applications, like ProjectManager, 
>>
>>> >     ProjectCenter, Gorm, and user applications?
>>> >
>>> > Using my script, the official SVN repository for GNUstep, from this 
>>> > URL, 
>>> >  http://svn.gna.org/svn/gnustep/modules/
>>> > was checked out in ~/gnustep.
>>> 
>>> I did run this script in the
>>> ~/Programozas/Obj_C_ben/GNUstep_letoltve_SVN-nel/
>>> directory instead of /home/csanyipal/
>>> 
>>> > clang was built and kept in ~/llvm/Release+Asserts/bin - I
>>> > recommend you add this to your $PATH. Either enter this each time
>>> > before building GNUstep apps: 
>>> >  $ export PATH=$PATH:$PWD/Release+Asserts/bin
>>> > or add it to ~/.bash_profile or ~/.bashrc
>>> 
>>> I edited my ~.xsessionrc as:
>>> export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
>>> GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
>>> 
>>> # GNUstep was built using clang. Tell make to use clang:
>>> export CC=clang
>>> 
>>> # you'll have to "source" the GNUstep.sh file
>>> # This tells various GNUmakefiles where to find GNUstep and how it's
>>
>>> # configured. 
>>> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
>>> 
>>> # GNUstep Distributed Objects' database miatt
>>> gdnc
>>> gpbs
>>> 
>>> I did relogin into my X Window system and run in an xterm window:
>>> $ env
>>> 
>>> GNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local
>>> 
>>> GUILE_LOAD_PATH=/usr/GNUstep/Local/Library/Libraries/Guile:\
>>> /usr/GNUstep/System/Library/Libraries/Guile:\
>>> /home/csanyipal/GNUstep/Library/Libraries/Guile:\
>>> /usr/local/lib/GNUstep/Libraries/Guile
>>> 
>>> GNUSTEP_NETWORK_ROOT=/usr/GNUstep/Network
>>> GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
>>> GNUSTEP_FLATTENED=yes
>>> GNUSTEP_HOST_OS=linux-gnu
>>> GNUSTEP_HOST_VENDOR=unknown
>>> MAIL=/var/mail/csanyipal
>>> 
>>> PATH=/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:\
>>> /home/csanyipal/Programozas/Obj_C_ben/GNUstep_letoltve_SVN-nel/\
>>> llvm/Release+Asserts/bin:/home/csanyipal/GNUstep/Tools:\
>>> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>>> 
>>> PWD=/home/csanyipal
>>> LANG=hu_HU.UTF-8
>>> GNUSTEP_HOST_CPU=x86_64
>>> HOME=/home/csanyipal
>>> GNUSTEP_USER_ROOT=/home/csanyipal/GNUstep
>>> GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System
>>> 
>>> GNUSTEP_PATHLIST=/usr/local/System:/usr/local/Network:\
>>> /usr/local/Local:/home/csanyipal/GNUstep
>>> 
>>> CLASSPATH=/usr/GNUstep/Local/Library/Libraries/Java:\
>>> /usr/GNUstep/System/Library/Libraries/Java:\
>>> /usr/local/lib/GNUstep/Libraries/Java:\
>>> /home/csanyipal/GNUstep/Library/Libraries/Java
>>> LIBRARY_COMBO=gnu-gnu-gnu
>>> INFOPATH=/usr/local/share/info::\
>>> /home/csanyipal/GNUstep/Library/Documentation/info::\
>>> /usr/GNUstep/System/Library/Documentation/info::\
>>> /usr/GNUstep/Local/Library/Documentation/info:
>>> DISPLAY=:0.0
>>> CC=clang
>>> 
>>> > Now that we did that, we can actually build apps.
>>> >
>>> > Additional apps are in ~/gnustep/dev-apps/ and
>>> > ~/gnustep/usr-apps/. Just go into the appropriate folder and do: 
>>> >  $ make
>>> >  $ sudo make install
>>> >
>>> > You can now easily build and install projectcenter and gorm, and use
>>> > them for further development. 
>>> 
>>> Say I'm trying to build gorm:
>>> cd /home/csanyipal/Programozas/Obj_C_ben/\
>>> GNUstep_letoltve_SVN-nel/gnustep/dev-apps/gorm
>>> 
>>> make
>>> It run successfully, but
>>> sudo make install
>>
>>> GNUmakefile:29: /common.make: No such file or directory
>>> GNUmakefile:182: /aggregate.make: No such file or directory
>>> GNUmakefile:183: /application.make: No such file or directory
>>> make: *** No rule to make target `/application.make'.  Stop.
>>> 
>>> I don't understand how can this happen, even if I run in this directory:
>>> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
>>> 
>>> Any advices?
>>
>> make sure you have SETENV set in /etc/sudoers like this:
>>
>> csanyipal ALL=(ALL) NOPASSWD: SETENV: ALL
>
> I edited sudoers and added this line abowe to it.
>
>> then you should be able to do:
>>
>> sudo -E make install
>
> I run 'sudo -E make install' successfully, but when I try to run Gorm in
> xterm window, I get:
>
> Gorm: error while loading shared libraries: libGormCore.so.1: cannot
> open shared object file: No such file or directory 

I did run
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

and after that run Gorm
2012-02-05 23:06:13.666 Gorm[4455] Did not find correct version of
backend (libgnustep-art-023.bundle), falling back to std
(libgnustep-art.bundle). 
2012-02-05 23:06:13.668 Gorm[4455] NSApplication.m:304  Assertion failed
in BOOL initialize_gnustep_backend().  Unable to find backend
libgnustep-art 
Gorm: Uncaught exception NSInternalInconsistencyException, reason:
NSApplication.m:304  Assertion failed in BOOL
initialize_gnustep_backend().  Unable to find backend libgnustep-art 
Aborted

Or when try to run PC:
2012-02-05 23:09:28.366 ProjectCenter[4474] Did not find correct version
of backend (libgnustep-art-023.bundle), falling back to std
(libgnustep-art.bundle). 
2012-02-05 23:09:28.368 ProjectCenter[4474] NSApplication.m:304
Assertion failed in BOOL initialize_gnustep_backend().  Unable to find
backend libgnustep-art 
ProjectCenter: Uncaught exception NSInternalInconsistencyException,
reason: NSApplication.m:304  Assertion failed in BOOL
initialize_gnustep_backend().  Unable to find backend libgnustep-art 
Aborted

I tried to purge and delete any GNUstep directory that colud left after
I purged gnustep that was installed using Debian aptitude. Still can't
get to run neither Gorm nor ProjectCenter.

an I solve this problem?

-- 
Regards from Pal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]