Le dimanche 19 mai 2002, à 06:20 , Thomas De Contes a écrit :
Le samedi 18 mai 2002, à 02:45 , Paulo Moura a écrit :
On Friday, May 17, 2002, at 09:51 PM, d.l.deContes(a)iFrance.com wrote:
Le jeudi 16 mai 2002, à 11:43 , MCL a écrit :
Version 1.8 patch 0 of Ciao Prolog has just been released. It isavailable in the usual place,
Some small (but relevant) changes have been introduced since ourlast announcement: , and a (long) filename was changed to allow compilation on newer versions of Mac OS X.
i have the same error i needn't log as root, need i ?
Yes, you need to be root to do the "make install". Try:
% sudo make install
and enter your password when asked. Of course, you need administration privileges for this to work. If not, then you can always change the paths in the SETTINGS file to point to directories where you have permission to write.
of course, i have permission to write :
SRC=/Users/thomas/c/ciao-1.8p0/ BINROOT=/Users/thomas/c/ciao-1.8p0/bin LIBROOT=/Users/thomas/c/ciao-1.8p0/lib DOCROOT=/Users/thomas/c/ciao-1.8p0/lpdoc_docs/
i want to not log as root if it's not needed
at the beginning, i had only read this in the INSTALL file : " 2. Enter the newly created directory (`SRC'). Edit `SETTINGS' and check/set the variables `SRC', `BINROOT' (where the executables will go), `LIBROOT' (where the libraries will go), and `DOCROOT' (where the documentation will go, preferably a directory _accessible via_ WWW)."
and then my SETTINGS file was :
SRC=/Users/thomas/c/ciao-1.8p0/ BINROOT=/Users/thomas/c/ciao-1.8p0/bin/ LIBROOT=/Users/thomas/c/ciao-1.8p0/lib/ DOCROOT=/Users/thomas/c/ciao-1.8p0/lpdoc_docs/ WEB_IMAGES_PATH=/home/clip/public_html/images WEB_IMAGES_URL=/images/ INSTALL_PROLOG_NAME=yes INSTALL_EMACS_SUPPORT=yes WITH_MYSQL=yes MYSQL_CLIENT_DIRECTORY=/usr/lib/mysql WITH_JAVA_INTERFACE=yes USE_THREADS=yes USE_POSIX_LOCKS=no OPTIM_LEVEL=optimized COMPRESS_LIBS=no
this makes the error i have already post
then, i have saw that there was some paths without write permissions i have read the comments, not understand all, and try this :
SRC=/Users/thomas/c/ciao-1.8p0/ BINROOT=/Users/thomas/c/ciao-1.8p0/bin LIBROOT=/Users/thomas/c/ciao-1.8p0/lib DOCROOT=/Users/thomas/c/ciao-1.8p0/lpdoc_docs/ WEB_IMAGES_PATH=/Users/thomas/c/ciao-1.8p0/autre/ WEB_IMAGES_URL=/images/ INSTALL_PROLOG_NAME=no INSTALL_EMACS_SUPPORT=no WITH_MYSQL=no MYSQL_CLIENT_DIRECTORY=/Users/thomas/c/ciao-1.8p0/autre/ WITH_JAVA_INTERFACE=no USE_THREADS=no USE_POSIX_LOCKS=no OPTIM_LEVEL=optimized COMPRESS_LIBS=no
the compilation runs less longer !
[localhost:thomas/c/ciao-1.8p0] essais% make install *** ========================================================= *** Compiling ciao *** ========================================================= make eng compiler applications libraries make createsrcdir if test ! -d /Users/thomas/c/ciao-1.8p0//bin ; then \ mkdir /Users/thomas/c/ciao-1.8p0//bin ; \ touch /Users/thomas/c/ciao-1.8p0//bin/NODISTRIBUTE ; \ chmod 775 /Users/thomas/c/ciao-1.8p0//bin ; \ chmod 664 /Users/thomas/c/ciao-1.8p0//bin/NODISTRIBUTE ; \ fi if test ! -d /Users/thomas/c/ciao-1.8p0//bin/DARWINppc ; then \ mkdir /Users/thomas/c/ciao-1.8p0//bin/DARWINppc ; chmod 775 /Users/thomas/c/ciao-1.8p0//bin/DARWINppc ; fi cd /Users/thomas/c/ciao-1.8p0//bin/DARWINppc && \ ln -s ../../engine/*.[ch] . && \ ln -s ../../engine/Makefile . && \ rm -f configure.h make createincludedir if test ! -d /Users/thomas/c/ciao-1.8p0//include ; then \ mkdir /Users/thomas/c/ciao-1.8p0//include ; \ chmod 775 /Users/thomas/c/ciao-1.8p0//include ; \ touch /Users/thomas/c/ciao-1.8p0//include/NODISTRIBUTE ; fi if test ! -d /Users/thomas/c/ciao-1.8p0//include/DARWINppc ; then \ mkdir /Users/thomas/c/ciao-1.8p0//include/DARWINppc ; chmod 775 /Users/thomas/c/ciao-1.8p0//include/DARWINppc ; fi *** --------------------------------------------------------- *** Compiling ciao engine for DARWINppc... *** --------------------------------------------------------- make -j1 version-ciao rm -f /Users/thomas/c/ciao-1.8p0//bin/DARWINppc/version.c make -j1 dostateng (umask 002 && cd /Users/thomas/c/ciao-1.8p0//bin/DARWINppc && make configure.h && \ make -j1 ciaoengine ADDOBJ='sockets_c.o random.o ' \ CURRLIBS=' ') cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -o configure configure.c /bin/rm -f configure.h ./configure "-O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc " > configure.h cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o wam.o wam.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o format.o format.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o inout.o inout.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o misc.o misc.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o startgoal.o startgoal.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o ciao.o ciao.c cc -O3 -Wall -DATOMGC -DFOREIGN_FILES -DDARWIN -Dppc -c -o nondet.o nondet.c nondet.c:966: illegal expression, found `else' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode nondet.c: In function `next_instance': nondet.c:663: warning: unused variable `root' nondet.c: In function `wait_for_an_instance_pointer': nondet.c:966: parse error before `else' make[3]: *** [nondet.o] Erreur 1 make[2]: *** [dostateng] Erreur 2 make[1]: *** [stateng] Erreur 2 make: *** [all] Erreur 2
can someone explain me what happens ?
in the case of this would work as root, please can someone inform me whiches operations the installer would do, which can't do as is ? (i don't like open fully my computer for an application which i don't know)