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: Sebastian Reitenbach
Subject: Re: Installing GNUstep from source on Debian GNU/Linux SID
Date: Sun, 05 Feb 2012 20:55:55 +0100
User-agent: SOGoMail 1.3.11

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

then you should be able to do:

sudo -E make install

cheers,
Sebastian

>
> --
> Regards from Pal
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep







reply via email to

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