Re: [Rabbit-proxy-users] Installation problem
Brought to you by:
ernimril
From: Robert O. <d9...@na...> - 2003-01-04 15:23:35
|
Hello! > Well, I should say that the Make file looks strange to me and in any > case, javac (at least in jdk1.1) does not support -sourcepath switch. Yes, sourcepath is for jdk/1.2+ it is very useful and nice to have. Maybe some day I will do something to check if that option is available so makefile can be more correct. Without the sourcepath you have to compile the classes in the correct order or rather try to compile everything until it does not generate any more errors (3 times for me). > I have tried to remove the switch to allow the compilation > After that I get numerous errors, the first one is: > > RabbIT2/src/rabbit/awt/ImageComponent.java:5: Package java.awt not > found in import. > import java.awt.*; This indicates that your CLASSPATH is not correct. More specifically you do not have the classes.zip in your CLASSPATH > jmake, does not use -sourcepath, but does not work, generating a > errors like this one: > src/rabbit/http/GeneralHeader.java:212: Method > add(rabbit.http.GeneralHeader. Header) not found in class > java.util.Vector. > headers.add (h) Yes, that is a _bug_ in rabbit, there are a few errors in GeneralHeader and a few in Connection, I did change this for the next release of RabbIT. Change the "....add (...)" into "....addElement (....)" and the "...get (...)" into "...elementAt (...)" and everything should compile under jdk/1.1 > Did any one succeed in compiling Rabbit2 on jdk1.1? Now it does for me. If you dont want to change thoose lines yourself, I have uploaded: http://www.khelekore.org/rabbit/RabbIT2-2.0.22.tar.gz http://www.khelekore.org/rabbit/RabbIT2-2.0.22.zip untar/unzip the file and you should be able to run with "java rabbit.proxy.Proxy", and please have CLASSPATH unset or set it to ".:/usr/lib/jdk1.1/lib/classes.zip" (correct the classes.zip if you have it in some other place). These are not the 2.0.22 release, consider them as pre-releases, I belive that they should work better than 2.0.21 (in a few very rare cases having to do with http/1.1). /robo *************************************************************************= ***** Robert Olofsson * d9...@na... * "Your eyes can deceive y= ou Flygk=E5rsv 5,1 * * use the force." 183 62 T=E4by * tel: 08-732 71 39 * /Obi-Wan-Kenob= i Sweden * http://www.nada.kth.se/~d94-rol *************************************************************************= ***** |