Hello everybody,

I want to re-compile the Ptolemy system from scratch. I have set the
environment variables $PTOLEMY, $PTARCH, $PATH and $SHLIB_PATH to point
to my own location at /tools/ptolemy (Our system is HPUX 10.20).

- When making install_gnu, problem occured with the message:

/tools/ptolemy/bin.hppa/gcc -c -I. -I/tools/ptolemy/src/gnu/src/flex -g
-O /tool
s/ptolemy/src/gnu/src/flex/nfa.c
bison -y -d /tools/ptolemy/src/gnu/src/flex/parse.y
bison: /users/ptolemy/gnu/common/share/bison.simple: No such file or
directory
make: *** [parse.c] Error 2
*** Error exit code 2

Stop.
*** Error exit code 1
...

- When I tried to make install_xv, problem occured here again, although
I've set the SHLIB_PATH to $PTOLEMY/X11R6/lib, where the X11 library
files are located:

make[2]: Entering directory `/tools/ptolemy/obj.hppa/xv'
( cd jpeg ; make CC='gcc -traditional -I./src/compat
-I/usr/local/X11R6/include
-L/usr/local/X11R6/lib -lX11 -DXLIB_ILLEGAL_ACCESS' libjpeg.a )
make[3]: Entering directory `/tools/ptolemy/obj.hppa/xv/jpeg'
gcc -traditional -I./src/compat -I/usr/local/X11R6/include
-L/usr/local/X11R6/li
b -lX11 -DXLIB_ILLEGAL_ACCESS -O -o ansi2knr ansi2knr.c
/usr/ccs/bin/ld: Can't find library for -lX11
collect2: ld returned 1 exit status
make[3]: *** [ansi2knr] Error 1
make[3]: Leaving directory `/tools/ptolemy/obj.hppa/xv/jpeg'
make[2]: *** [jpeg/libjpeg.a] Error 2
make[2]: Leaving directory `/tools/ptolemy/obj.hppa/xv'
make[1]: *** [xv_bin] Error 2
make[1]: Leaving directory `/tools/ptolemy'
make: *** [install_xv] Error 2

It shows that the programm always tries to find the files in the false
locations. Could anybody help me to fix the problems. Thanks.

Nguyen Huu Thanh

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to