That worked just fine, thanks. Now another error is the following: ./pack_script9_sun: line 1: 24348 Segmentation Fault ECLIPSEDIR="/appl/eclipse/5.5_46" pack 25 100 9 pack_script9_sun is a script with the line: ECLIPSEDIR="/appl/eclipse/5.5_46" pack 25 100 9 Any ideas? The Segmentation Fault is in ECLiPSe. 'Jesper Joachim Schimpf wrote: >"Jesper Hansen Ph.D.Student (jc 1/2002)" wrote: > >>I get the following error: >> >>No such file or directory in >>pcompile('/usr/local/eclipse/lib/kernel.pl', 2, sepia_kernel) >> >>I have made a C++ program calling ECLiPSe. It is however not installed >>in /usr/local/eclipse, but in /appl/eclipse/5.5_46. >> >>The executable was compiled in the following way: >> >>g++ -I$ECLIPSEDIR/include/sparc_sunos5 -o pack test3dbpp.c >>-L$ECLIPSEDIR/lib/sparc_sunos5 -leclipse >> >>where ECLIPSEDIR=/appl/eclipse/5.5_46 >> > > >Two possibilities: > >Either set the ECLIPSEDIR environment variable when running, e.g. > >% ECLIPSEDIR="/appl/eclipse/5.5_46" pack > > >or put the path name into your code by calling > >ec_set_option_ptr(EC_OPTION_ECLIPSEDIR, (char*) "/appl/eclipse/5.5_46"); > >before calling ec_init() > > > -- _______________________________________ Jesper Hansen Ph.D. student Telephone: (+45) 45 25 33 88 Telefax.: (+45) 45 25 26 73 E-mail: mailto:jha@imm.dtu.dk Homepage: http://www.imm.dtu.dk/~jha/ Department of Mathematical Modelling Building 305 Technical University of Denmark DK-2800 LyngbyReceived on Thu Jan 30 13:31:31 2003
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:21 PM GMT GMT