discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Csh users ? [was Re: GNUSTEP_USER_ROOT?]


From: Dirk Olmes
Subject: Re: Csh users ? [was Re: GNUSTEP_USER_ROOT?]
Date: Tue, 18 Oct 2005 18:40:54 +0200
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

Nicola Pero wrote:
>>As a last check I'll have a look at installing the latest gnustep-base and
>>see if I can access my defaults correctly from both bash and csh. :-)
> 
> 
> That seems to work for me ... so not sure how to reproduce the problem :-(

Grr, I don't like those effects one can't reproduce. Are you sure you
start with a clean env, i.e. no GNUstep vars set before you start to
import the GNUstep env? I was bitten by this when I was looking for
differences between the csh and the sh version.

> If you have any more clues, please let me know, thanks! :-)

I'm currently trying to install the make package from a fresh checkout -
with very limited success:

> By default, `make install' will install all the files in
> `/usr/GNUstep/bin', `/usr/GNUstep/lib' etc.  You can specify
> an installation prefix other than `/usr/GNUstep' using `--prefix',
> for instance `--prefix=$HOME'.

So if I run configure with --prefix=/tmp, everything should end up under
/tmp, right?

> legolas# ./configure --prefix=/tmp
> checking for gcc... gcc
[...]
> checking for GNUstep configuration file to use... /etc/GNUstep/GNUstep.conf
> checking if we should import an existing configuration file... no: file 
> "/etc/GNUstep/GNUstep.conf" does not exist
> checking for GNUSTEP_SYSTEM_ROOT to use... /usr/local/GNUstep/System
> checking for GNUSTEP_LOCAL_ROOT to use... /usr/local/GNUstep/Local
> checking for GNUSTEP_NETWORK_ROOT to use... /usr/local/GNUstep/Local

> legolas# make -n install
> gcc -O2 -Wall -I. -o which_lib which_lib.c
> (echo "Moving paths from old heirarchy: "; \
>  ./move_obsolete_paths.sh /usr/local/GNUstep/System /usr/local/GNUstep/Local 
> /root/GNUstep)
> (echo "Creating system domain: /usr/local/GNUstep/System"; \
>  ./create_domain_dir_tree.sh /usr/local/GNUstep/System; \
>  echo "Creating local and network dirs: /usr/local/GNUstep/Local, 
> /usr/local/GNUstep/Local"; \
> ./mkinstalldirs /usr/local/GNUstep/Local /usr/local/GNUstep/Local;\
>  echo "Creating makefile directories in: 
> /usr/local/GNUstep/System/Library/Makefiles"; \
>  ./mkinstalldirs \
>         /usr/local/GNUstep/System/Library/Makefiles \
[...]

What gives? I thought I configured /tmp? Ok, let's try configure with
more options:

> legolas# ./configure --with-system-root=/tmp/GNUstep/System
> --with-local-root=/tmp/GNUstep/Local
> --with-network-root=/tmp/GNUstep/Network
[...]
> checking for GNUSTEP_SYSTEM_ROOT to use... /tmp/GNUstep/System
> checking for GNUSTEP_LOCAL_ROOT to use... /tmp/GNUstep/Local
> checking for GNUSTEP_NETWORK_ROOT to use... /tmp/GNUstep/Network

... looks promising ...

> checking for user config file to use... .GNUstep.conf
> checking for user dir to use... GNUstep
> checking for user defaults dir to use... GNUstep/Defaults
> checking for GNUSTEP_MAKEFILES to use... 
> /usr/local/GNUstep/System/Library/Makefiles

DOH!

> legolas# make -n install
[...]
>  ./mkinstalldirs \
>         /usr/local/GNUstep/System/Library/Makefiles \

Bottom line: can't install the make package in a different location
other than /usr/local :-(

Ok, let's move away the existing /usr/local/GNUstep and have configure
have its will. Next, I created two accounts, one has bash as login
shell, the other has tcsh as login shell. Logged in, imported
GNUstep.[c]sh, compared the environments: same story

All this happens on a gentoo linux pc.

-dirk




reply via email to

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