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

2012-02-06 Thread Csanyi Pal
Csanyi Pal csanyi...@gmail.com writes:

 Csanyi Pal csanyi...@gmail.com 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 sebas...@l00-bugdead-prods.de writes:

 On Sunday, February 5, 2012 20:25 CET, Csanyi Pal
 csanyi...@gmail.com wrote: 
  
 Ivan Vučica ivuc...@gmail.com writes:
 
  On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com
  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 have installed now Gorm and ProjectCenter but can't run these:

 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

Where should be the backend libgnustep-art?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Wolfgang Lux
Csanyi Pal wrote:

 I have installed now Gorm and ProjectCenter but can't run these:
 
 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
 
 Where should be the backend libgnustep-art?

This rather looks like a misconfiguration of your installation. If you didn't 
configure gnustep-back with a --with-name=art option there will be no bundle 
named libgnustep-art.bundle.

Try
  defaults delete NSGlobalDomain GSBackend
and then start Gorm or ProjectCenter again.

Wolfgang

PS The backend bundle (as are all other bundles) is stored in 
/usr/GNUstep/System/Library/Bundles or /usr/GNUstep/Local/Library/Bundles 
depending on your configuration.
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Wolfgang Lux wolfgang@gmail.com writes:

 Csanyi Pal wrote:

 I have installed now Gorm and ProjectCenter but can't run these:
 
 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
 
 Where should be the backend libgnustep-art?

 This rather looks like a misconfiguration of your installation. If you
 didn't configure gnustep-back with a --with-name=art option there will
 be no bundle named libgnustep-art.bundle. 

I used script of Ivan Vučica and in it is this line for building
gnustep-back:
./configure --enable-graphics=cairo  make -j 3  sudo -E make install

 Try
   defaults delete NSGlobalDomain GSBackend
 and then start Gorm or ProjectCenter again.

I tried it and it works.

Now if I run
defaults read NSGlobalDomain GSBackend

then I get
defaults read: couldn't read default

Should I rebuild gnustep with the script of Ivan but with modified line
in it?

cd ../back
./configure --enable-graphics=cairo --with-name=art  make -j 3  sudo -E 
make install

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Wolfgang Lux
Csanyi Pal wrote:

 Wolfgang Lux wolfgang@gmail.com writes:
 
 Csanyi Pal wrote:
 
 I have installed now Gorm and ProjectCenter but can't run these:
 
 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
 
 Where should be the backend libgnustep-art?
 
 This rather looks like a misconfiguration of your installation. If you
 didn't configure gnustep-back with a --with-name=art option there will
 be no bundle named libgnustep-art.bundle. 
 
 I used script of Ivan Vučica and in it is this line for building
 gnustep-back:
 ./configure --enable-graphics=cairo  make -j 3  sudo -E make install
 
 Try
  defaults delete NSGlobalDomain GSBackend
 and then start Gorm or ProjectCenter again.
 
 I tried it and it works.
 
 Now if I run
 defaults read NSGlobalDomain GSBackend
 
 then I get
 defaults read: couldn't read default

This is correct. The default delete command does what it says: It deletes the 
respective default and therefore the command default read can no longer read 
it. Admittedly, the message could be improved to say that the default does not 
exist at all.

 
 Should I rebuild gnustep with the script of Ivan but with modified line
 in it?
 
 cd ../back
 ./configure --enable-graphics=cairo --with-name=art  make -j 3  sudo -E 
 make install

Don't do that. Using the name art for the cairo backend (selected with 
--enable-graphics=cairo) would be confusing everybody. The --with-name option 
really makes sense only if you are installing different backend bundles 
(GNUstep provides art, cairo, and xlib) in parallel and want to be able to 
switch between them, which is achieved by changing the GSBackend default. If 
you only use a single backend bundle, it is best to stick to the default name, 
which is gnustep-back for that matter, and leave the GSBackend default unset.

Wolfgang


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Ivan Vučica ivuc...@gmail.com writes:

 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com wrote:

 How can I start development applications, like ProjectManager,
 ProjectCenter, Gorm, and user applications?

 GNUstep was built and installed into /usr/GNUstep. Before being able
 to build any GNUstep apps using command line, you'll have to source
 the GNUstep.sh file. You can enter it whenever building GNUstep apps
 in command line, or add it to ~/.bash_profile or ~/.bashrc 

 $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 This tells various GNUmakefiles where to find GNUstep and how it's
 configured. 

 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. 

I have installed now ProjectCenter and Gorm and I can start these only
from xterm window.

My desktop environment is Window Maker and in this environment I have
icons for every application, so one for Gorm and one for ProjectCenter
too. I have an issue that I can't to start say Gorm with double click on
it's icon: nothing happen than, instead of start it running. This is
probably a PATH issue, right?

I'm trying to setup PATH so one can start say Gorm using it's icon. I
run the command in an xterm window:
export PATH=/usr/GNUstep/Local/Applications:$PATH

but that doesn't help.

I get these in ~/.xsession-errors
ProjectCenter: error while loading shared libraries:
libProjectCenter.so.0: cannot open shared object file: No such file or
directory 
Gorm: error while loading shared libraries: libGormCore.so.1: cannot
open shared object file: No such file or directory 

I tried to edit
~/GNUstep/Library/WindowMaker/autostart
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
export PATH=/usr/GNUstep/Local/Applications:$PATH

but that doesn't help too.

Any advices?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Niels Grewe
Am 06.02.2012 15:15, schrieb Csanyi Pal:
 Ivan Vučica ivuc...@gmail.com writes:
 
 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com wrote:

 How can I start development applications, like ProjectManager,
 ProjectCenter, Gorm, and user applications?
 
 GNUstep was built and installed into /usr/GNUstep. Before being able
 to build any GNUstep apps using command line, you'll have to source
 the GNUstep.sh file. You can enter it whenever building GNUstep apps
 in command line, or add it to ~/.bash_profile or ~/.bashrc 
 
 $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 This tells various GNUmakefiles where to find GNUstep and how it's
 configured. 

 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. 
 
 I have installed now ProjectCenter and Gorm and I can start these only
 from xterm window.
 
 My desktop environment is Window Maker and in this environment I have
 icons for every application, so one for Gorm and one for ProjectCenter
 too. I have an issue that I can't to start say Gorm with double click on
 it's icon: nothing happen than, instead of start it running. This is
 probably a PATH issue, right?
 
 I'm trying to setup PATH so one can start say Gorm using it's icon. I
 run the command in an xterm window:
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help.
 
 I get these in ~/.xsession-errors
 ProjectCenter: error while loading shared libraries:
 libProjectCenter.so.0: cannot open shared object file: No such file or
 directory 
 Gorm: error while loading shared libraries: libGormCore.so.1: cannot
 open shared object file: No such file or directory 
 
 I tried to edit
 ~/GNUstep/Library/WindowMaker/autostart
 . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
 GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help too.
 
 Any advices?

You should add /usr/GNUstep/Local/Library/Libraries/ or wherever those
libraries live to your LD_LIBRARY_PATH so that the dynamic linker can
find them. Usually the GNUstep.sh script from GNUstep make will do that
for you. Did you source it in your .bashrc/.profile as was previously
suggested in this thread?

Cheers,

Niels



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Niels Grewe niels.gr...@halbordnung.de writes:

 Am 06.02.2012 15:15, schrieb Csanyi Pal:
 Ivan Vučica ivuc...@gmail.com writes:
 
 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com wrote:

 How can I start development applications, like ProjectManager,
 ProjectCenter, Gorm, and user applications?
 
 GNUstep was built and installed into /usr/GNUstep. Before being able
 to build any GNUstep apps using command line, you'll have to source
 the GNUstep.sh file. You can enter it whenever building GNUstep apps
 in command line, or add it to ~/.bash_profile or ~/.bashrc 
 
 $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 This tells various GNUmakefiles where to find GNUstep and how it's
 configured. 

 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. 
 
 I have installed now ProjectCenter and Gorm and I can start these only
 from xterm window.
 
 My desktop environment is Window Maker and in this environment I have
 icons for every application, so one for Gorm and one for ProjectCenter
 too. I have an issue that I can't to start say Gorm with double click on
 it's icon: nothing happen than, instead of start it running. This is
 probably a PATH issue, right?
 
 I'm trying to setup PATH so one can start say Gorm using it's icon. I
 run the command in an xterm window:
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help.
 
 I get these in ~/.xsession-errors
 ProjectCenter: error while loading shared libraries:
 libProjectCenter.so.0: cannot open shared object file: No such file or
 directory 
 Gorm: error while loading shared libraries: libGormCore.so.1: cannot
 open shared object file: No such file or directory 
 
 I tried to edit
 ~/GNUstep/Library/WindowMaker/autostart
 . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
 GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help too.

 You should add /usr/GNUstep/Local/Library/Libraries/ or wherever those
 libraries live to your LD_LIBRARY_PATH so that the dynamic linker can
 find them. Usually the GNUstep.sh script from GNUstep make will do that
 for you. Did you source it in your .bashrc/.profile as was previously
 suggested in this thread?

Yes I did source the GNUstep.sh script in more than one files:
~/.bashrc
~/.profile
~/.xinitrc
~/.xsessionrc

The output of env shows me the value of LD_LIBRARY_PATH:

LD_LIBRARY_PATH=/home/csanyipal/GNUstep/Library/Libraries:\
/usr/GNUstep/Local/Library/Libraries:\
/usr/GNUstep/System/Library/Libraries

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Wolfgang Lux
Csanyi Pal wrote:

 Yes I did source the GNUstep.sh script in more than one files:
 ~/.bashrc
 ~/.profile
 ~/.xinitrc
 ~/.xsessionrc
 
 The output of env shows me the value of LD_LIBRARY_PATH:
 
 LD_LIBRARY_PATH=/home/csanyipal/GNUstep/Library/Libraries:\
 /usr/GNUstep/Local/Library/Libraries:\
 /usr/GNUstep/System/Library/Libraries

That looks fine. However, if you are doing this from a shell which explicitly 
sources the GNUstep.sh script it doesn't tell you anything. Is there any chance 
that your login is managed by gdm? It has a security feature to clean out 
LD_LIBRARY_PATH before starting the window manager. Under Ubuntu I ended up 
creating a ~/.gnomerc file with the following contents to work around this 
feature:

STARTUP=env LD_LIBRARY_PATH=$LD_LIBRARY_PATH $STARTUP

Wolfgang
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Wolfgang Lux
I wrote:

 That looks fine. However, if you are doing this from a shell which explicitly 
 sources the GNUstep.sh script it doesn't tell you anything. Is there any 
 chance that your login is managed by gdm? It has a security feature to 
 clean out LD_LIBRARY_PATH before starting the window manager.

Upon a thought, I probably shouldn't blame gdm here. It may just be Ubuntu's or 
Debian's particular use the login scripts.

Wolfgang


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Wolfgang Lux wolfgang@gmail.com writes:

 Csanyi Pal wrote:

 Yes I did source the GNUstep.sh script in more than one files:
 ~/.bashrc
 ~/.profile
 ~/.xinitrc
 ~/.xsessionrc
 
 The output of env shows me the value of LD_LIBRARY_PATH:
 
 LD_LIBRARY_PATH=/home/csanyipal/GNUstep/Library/Libraries:\
 /usr/GNUstep/Local/Library/Libraries:\
 /usr/GNUstep/System/Library/Libraries

 That looks fine. However, if you are doing this from a shell which
 explicitly sources the GNUstep.sh script it doesn't tell you
 anything. Is there any chance that your login is managed by gdm? It
 has a security feature to clean out LD_LIBRARY_PATH before starting
 the window manager. Under Ubuntu I ended up creating a ~/.gnomerc file
 with the following contents to work around this feature: 

 STARTUP=env LD_LIBRARY_PATH=$LD_LIBRARY_PATH $STARTUP

I'm using SLiM http://slim.berlios.de

It has a configuration file here:
/etc/slim.conf

Should I edit it and place abowe line into it?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Csanyi Pal csanyi...@gmail.com writes:

 Niels Grewe niels.gr...@halbordnung.de writes:

 Am 06.02.2012 15:15, schrieb Csanyi Pal:
 Ivan Vučica ivuc...@gmail.com writes:
 
 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com wrote:

 How can I start development applications, like ProjectManager,
 ProjectCenter, Gorm, and user applications?
 
 GNUstep was built and installed into /usr/GNUstep. Before being able
 to build any GNUstep apps using command line, you'll have to source
 the GNUstep.sh file. You can enter it whenever building GNUstep apps
 in command line, or add it to ~/.bash_profile or ~/.bashrc 
 
 $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 This tells various GNUmakefiles where to find GNUstep and how it's
 configured. 

 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. 
 
 I have installed now ProjectCenter and Gorm and I can start these only
 from xterm window.
 
 My desktop environment is Window Maker and in this environment I have
 icons for every application, so one for Gorm and one for ProjectCenter
 too. I have an issue that I can't to start say Gorm with double click on
 it's icon: nothing happen than, instead of start it running. This is
 probably a PATH issue, right?
 
 I'm trying to setup PATH so one can start say Gorm using it's icon. I
 run the command in an xterm window:
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help.
 
 I get these in ~/.xsession-errors
 ProjectCenter: error while loading shared libraries:
 libProjectCenter.so.0: cannot open shared object file: No such file or
 directory 
 Gorm: error while loading shared libraries: libGormCore.so.1: cannot
 open shared object file: No such file or directory 

I don't get anymore these errors in ~/.xsession-errors file.
Instead, when I double click on the Gorm icon, I get error message in a
dialog box:
Error
I can't run the Gorm command
   OK

or something like that; I must translate this message from Hungarian.

So it seems that the X Window syste, or Window Maker can't find the
GNUstep applications that are in /usr/GNUstep/Local/Tools/ directory,
like Gorm, ProjectCenter, SystemPreferences, Thematic, Ink and my
installed Renaissance project LPT_Interface.

 You should add /usr/GNUstep/Local/Library/Libraries/ or wherever those
 libraries live to your LD_LIBRARY_PATH so that the dynamic linker can
 find them. Usually the GNUstep.sh script from GNUstep make will do that
 for you. Did you source it in your .bashrc/.profile as was previously
 suggested in this thread?

 Yes I did source the GNUstep.sh script in more than one files:

I have now these setup in following files:
 ~/.bashrc
export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
export CC=clang
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

 ~/.profile
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

 ~/.xinitrc
Nothing related to GNUstep.

 ~/.xsessionrc
Nothing related to GNUstep.

Double click should starts GNUstep applications from Window Maker
icons. 

How can I get it to works?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-06 Thread Csanyi Pal
Csanyi Pal csanyi...@gmail.com writes:

 Csanyi Pal csanyi...@gmail.com writes:

 Niels Grewe niels.gr...@halbordnung.de writes:

 Am 06.02.2012 15:15, schrieb Csanyi Pal:
 Ivan Vučica ivuc...@gmail.com writes:
 
 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com wrote:

 How can I start development applications, like ProjectManager,
 ProjectCenter, Gorm, and user applications?
 
 GNUstep was built and installed into /usr/GNUstep. Before being able
 to build any GNUstep apps using command line, you'll have to source
 the GNUstep.sh file. You can enter it whenever building GNUstep apps
 in command line, or add it to ~/.bash_profile or ~/.bashrc 
 
 $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 This tells various GNUmakefiles where to find GNUstep and how it's
 configured. 

 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. 
 
 I have installed now ProjectCenter and Gorm and I can start these only
 from xterm window.
 
 My desktop environment is Window Maker and in this environment I have
 icons for every application, so one for Gorm and one for ProjectCenter
 too. I have an issue that I can't to start say Gorm with double click on
 it's icon: nothing happen than, instead of start it running. This is
 probably a PATH issue, right?
 
 I'm trying to setup PATH so one can start say Gorm using it's icon. I
 run the command in an xterm window:
 export PATH=/usr/GNUstep/Local/Applications:$PATH
 
 but that doesn't help.
 
 I get these in ~/.xsession-errors
 ProjectCenter: error while loading shared libraries:
 libProjectCenter.so.0: cannot open shared object file: No such file or
 directory 
 Gorm: error while loading shared libraries: libGormCore.so.1: cannot
 open shared object file: No such file or directory 

 I don't get anymore these errors in ~/.xsession-errors file.
 Instead, when I double click on the Gorm icon, I get error message in a
 dialog box:
 Error
 I can't run the Gorm command
OK

 or something like that; I must translate this message from Hungarian.

Well, I'm trying every combination of setup...
Now, when I put a line
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

again in the ~/.xinitrc and relogin into X Window system, then I get
again errors in ~/.xsession-errors
Gorm: error while loading shared libraries: libGormCore.so.1: cannot
open shared object file: No such file or directory

 You should add /usr/GNUstep/Local/Library/Libraries/ or wherever those
 libraries live to your LD_LIBRARY_PATH so that the dynamic linker can
 find them. Usually the GNUstep.sh script from GNUstep make will do that
 for you. Did you source it in your .bashrc/.profile as was previously
 suggested in this thread?

 Yes I did source the GNUstep.sh script in more than one files:

 I have now these setup in following files:
 ~/.bashrc
 export PATH=/home/csanyipal/Programozas/Obj_C_ben/\
 GNUstep_letoltve_SVN-nel/llvm/Release+Asserts/bin:$PATH
 export CC=clang
 . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

 ~/.profile
 . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

 ~/.xinitrc
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

I edited this again after I red
http://gnustep.made-it.com/BuildGuide/#DEFAULT.APPS

 ~/.xsessionrc
 Nothing related to GNUstep.

 Double click should starts GNUstep applications from Window Maker
 icons. 

Please help me to solve this problem!

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Installing GNUstep from source on Debian GNU/Linux SID

2012-02-05 Thread Csanyi Pal
Hi,

Ivan Vučica ivuc...@gmail.com writes:

 Also, do consider uninstalling Debian packages and installing GNUstep
 from source. Here's a script to get you started. I targeted Ubuntu
 because, despite previously being a long time Debian user, I felt that
 more people will use a LTS build of Ubuntu as their desktop operating
 environment. It should work okay nonetheless. 
 http://dl.dropbox.com/u/8559454/GNUstep%20libobjc2%20on%20Ubuntu.sh

I have installed now GNUstep from source by running this script abowe
but I can't find Gorm, PM, PC, etc.

How can I start development applications, like ProjectManager,
ProjectCenter, Gorm, and user applications?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-05 Thread Ivan Vučica
On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com 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.

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

GNUstep was built using clang. Tell make to use clang:
  $ export CC=clang

GNUstep was built and installed into /usr/GNUstep. Before being able to
build any GNUstep apps using command line, you'll have to source the
GNUstep.sh file. You can enter it whenever building GNUstep apps in command
line, or add it to ~/.bash_profile or ~/.bashrc
  $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
This tells various GNUmakefiles where to find GNUstep and how it's
configured.

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.

(Note that, naturally, in all the lines above that begin with $, you don't
actually type the $.)

-- 
Ivan Vučica - i...@vucica.net
___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-05 Thread Csanyi Pal
Ivan Vučica ivuc...@gmail.com writes:

 On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com 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?

-- 
Regards from Pal


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-05 Thread Sebastian Reitenbach
 
On Sunday, February 5, 2012 20:25 CET, Csanyi Pal csanyi...@gmail.com wrote: 
 
 Ivan Vučica ivuc...@gmail.com writes:
 
  On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com 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
 Discuss-gnustep@gnu.org
 https://lists.gnu.org/mailman/listinfo/discuss-gnustep
 
 
 
 

___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-05 Thread Csanyi Pal
The following message is a courtesy copy of an article
that has been posted to gmane.comp.lib.gnustep.general as well.

Sebastian Reitenbach sebas...@l00-bugdead-prods.de writes:

 On Sunday, February 5, 2012 20:25 CET, Csanyi Pal
 csanyi...@gmail.com wrote: 
  
 Ivan Vučica ivuc...@gmail.com writes:
 
  On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com
  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 

Any advices?

-- 
Regards from Pal

___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


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

2012-02-05 Thread Csanyi Pal
Csanyi Pal csanyi...@gmail.com 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 sebas...@l00-bugdead-prods.de writes:

 On Sunday, February 5, 2012 20:25 CET, Csanyi Pal
 csanyi...@gmail.com wrote: 
  
 Ivan Vučica ivuc...@gmail.com writes:
 
  On Sun, Feb 5, 2012 at 16:48, Csanyi Pal csanyi...@gmail.com
  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