so, it should be noted that we shouln't let symbolic links in the variables which we modify in "SETTINGS"
why "`Mac OS X' users should add (or modify) the `path' file in the directory `~/Library/init/tcsh'" since it doesn't exist ? (~/Library/init/ doesn't exist. should i create ~/Library/init/tcsh/path ?) i have ".tcshrc" doesn't it work if i add the lines into it ? ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
Le mardi 28 mai 2002, à 08:34 , Thomas De Contes a écrit :
why "`Mac OS X' users should add (or modify) the `path' file in the directory `~/Library/init/tcsh'" since it doesn't exist ? (~/Library/init/ doesn't exist. should i create ~/Library/init/tcsh/path ?) i have ".tcshrc" doesn't it work if i add the lines into it ?
.tcshrc modified : ciao is visible, but there is an error msg : "ERROR: library library(lists) not found, exiting..." do you think create ~/Library/init/tcsh/path will resolve the pb ? i doubt, since . tcshrc is runned at each launch of tcsh what's missing ? ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
Thomas De Contes writes:
Le mardi 28 mai 2002, à 08:34 , Thomas De Contes a écrit :
why "`Mac OS X' users should add (or modify) the `path' file in the directory `~/Library/init/tcsh'" since it doesn't exist ? (~/Library/init/ doesn't exist. should i create ~/Library/init/tcsh/path ?) i have ".tcshrc" doesn't it work if i add the lines into it ?
~/Library/init/tcsh/path was chosen because it is apparently consulted by the system scripts (the profile ones which appear under /etc/...). If the shell application consults .tcshrc, then it should work putting there the initialization code. Thanks for pointing it out.
The intention was that some Ciao-repated environment variables (not essential for Ciao Prolog, but very useful for the Emacs-based development environment and for other tools) where available to any program (e.g., the native Aqua Emacs) after a user logs in. Unfortunately, it turned out not to be the case...
If anyone with better Mac OS X knowlege than us can throw in a suggestion on how to do that, it will be very welcome by us an by many other people.
.tcshrc modified : ciao is visible, but there is an error msg : "ERROR: library library(lists) not found, exiting..." do you think create ~/Library/init/tcsh/path will resolve the pb ? i doubt, since . tcshrc is runned at each launch of tcsh what's missing ?
No, I do not think so; the compiler and toplevel should work without the environment variables in .tcshr (do they?). A possibility is that the .tcshrc file has the _wrong_ values for the variables. What does
env | grep CIAOLIB
return? If it returns anything, does it correspond to the path where the libraries are installed?
MCL
____________________________________________________________ Don't create a problem for which you do not have the answer. ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
Le jeudi 30 mai 2002, à 04:15 , Manuel Carro a écrit :
.tcshrc modified : ciao is visible, but there is an error msg : "ERROR: library library(lists) not found, exiting..." do you think create ~/Library/init/tcsh/path will resolve the pb ? i doubt, since . tcshrc is runned at each launch of tcsh what's missing ?
No, I do not think so; the compiler and toplevel should workwithout the environment variables in .tcshr (do they?). A possibility is that the .tcshrc file has the _wrong_ values for the variables. What does
env | grep CIAOLIBreturn? If it returns anything, does it correspond to the path where the libraries are installed?
Welcome to Darwin! [localhost:~] thomas% env | grep CIAOLIB [localhost:~] thomas% ciao ERROR: library library(lists) not found, exiting... [localhost:~] thomas% cat .tcshrc if ( -e /Users/Shared/ciao/ciao-1.8p1/lib/ciao/DOTcshrc ) then source /Users/Shared/ciao/ciao-1.8p1/lib/ciao/DOTcshrc endif source /sw/bin/init.csh setenv PATH /usr/local/gnat/bin:$PATH setenv DISPLAY :0.0 [localhost:~] thomas% ls /Users/Shared/ciao/ciao-1.8p1/lib/ciao/DOTcshrc /Users/Shared/ciao/ciao-1.8p1/lib/ciao/DOTcshrc [localhost:~] thomas% ls /Users/Shared/ciao/ciao-1.8p1/lib/ciao/ DOTcshrc DOTprofile ciao-1.8 ciao.elc prolog.elc DOTemacs.el NewUser ciao.el prolog.el [localhost:~] thomas%
LIBROOT was /Users/Shared/ciao/ciao-1.8p1/lib
thanks for your help :-)
just in case, is the write right needed for the directory and others where is ciao ? ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------
LIBROOT was /Users/Shared/ciao/ciao-1.8p1/lib
Is /Users/Shared/ciao/ciao-1.8p1 the directory where the sources are? This will cause troubles: if you do "make install" with such a setup, the libraries will try to copy inside the source tree. I am uncertain about what will happen in that case, but probably nothing reasonable. You should set LIBROOT to some place outside the source tree.
MCL
____________________________________________________________ Don't create a problem for which you do not have the answer. ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------