This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libjava grievances


Tom Tromey once stated:

=>>>>> "Mikhail" == Mikhail Teterin <mi@aldan.algebra.com> writes:
=
=Mikhail> 	. toplevel configure not-working
=
=I haven't heard of any problems here.  What went wrong? How did you fix
=it?

	mi@rtfm:libgcj/work/libgcj-2.95.1 (1026) ./configure 
	Configuring for a i386-unknown-freebsdelf3.3 host.
	*** Cannot currently configure in source tree.

I "fixed" it  by running the configures in the  two directories: libjava
and boehm-gc directly.  They had to be manualy adjusted  to look for the
configuration files in the right places.

=Mikhail> 	. my /usr/local/bin/zip not being found/used
=
=The build  process should  use the zip  that was built  as part  of the
=tree. Why wasn't that  one used? Why would you want  to use a different
=one?

Because, I guess, the directories were  screwed up, because I had to run
the sub-configures  directly. I did  not want  to mess with  yet another
subdirectory, so I patched up the  libjava's Makefile to use the already
installed /usr/local/bin/zip,  which I prefer generally,  because I know
which version it is and it supports encryption.

=Mikhail>  .   boehm-gc's,  libjava's   configures  and   the  generated
=Mikhail>  Makefiles looking for configure.host  and config-ml.in in the
=Mikhail>  wrong directories
=
=Likewise, this is the first I've heard of this.
=
=Mikhail>  .  absolute absence  of  any sort  of the  build/installation
=Mikhail>  instructions in libjava
=
=There are docs on the web page.

Where? Where is the reference to them?

	mi@rtfm:libgcj/work/libgcj-2.95.1 (1028) grep -l http *
	mi@rtfm:libgcj/work/libgcj-2.95.1 (1029)

The toplevel README just says do:

	./configure
	make

=Mikhail> g++295 -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./include -I./../boehm-gc -I./../boehm-gc -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -I./../compat-include -fno-rtti -fvtable-thunks -fpermissive -W -Wall -O -pipe -mpentiumpro -pthread -Wp,-MD,.deps/prims.pp -c  -fPIC -DPIC prims.cc -o .libs/prims.lo
=Mikhail> In file included from include/cni.h:16,
=Mikhail>                  from prims.cc:20:
=Mikhail> java/lang/Object.h:8: parse error before `::'
=
=Hmm.  I don't know what the problem here is offhand, I'm afraid.

Well, any ideas? Thanks!

	-mi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]