[Java-gnome-developer] FW: Re: Problems running Java-Gnome v0.5.0 on
Brought to you by:
afcowie
From: Morgan, J. <Jef...@rp...> - 2001-02-01 14:08:12
|
Rich, One more change to make for the src/Makefile: 103c106 < @(cd ../lib; ln -s gtk-${version}.jar gtk.jar) || exit 0 --- > @(cd ../lib; test ! -L gtk.jar && ln -s gtk-${version}.jar gtk.jar) || exit 0 109c113 < @(cd ../lib; ln -s libGTKJava.so.${version} libGTKJava.so) || exit 0 --- > @(cd ../lib; test ! -L libGTKJava.so && ln -s libGTKJava.so.${version} libGTKJava.so) || exit 0 -Jeff > -----Original Message----- > From: Morgan, Jeffrey > Sent: Thursday, February 01, 2001 8:24 AM > To: 'jav...@li...' > Subject: FW: Re: Problems running Java-Gnome v0.5.0 on > > Rich, > > I was able to download and build gtk version 1.2.7 in my > home directory on one of our sun boxes at work. If you > do the following it should build correctly. > > 1) Go to the src/code/glue directory and execute a > cvs update. I check in some code to fix a copy/paste > bug I introduced yesterday. > > 2) Do a make clean > > 3) Change the Makefile in the src directory. Below is > a diff of the modified and original Makefile. > > > 84c84,85 > < $(shell sed -e 's=^=glue/=g' -e 's/\./_/g' -e 's/$$/.o/g' \ > --- > > $(shell test -e gtk-classes.txt && \ > > sed -e 's=^=glue/=g' -e 's/\./_/g' -e 's/$$/.o/g' \ > 88c89,90 > < $(shell sed -e 's=\.=/=g' -e 's/$$/.class/g' gtk-classes.txt) > --- > > $(shell test -e gtk-classes.txt && \ > > sed -e 's=\.=/=g' -e 's/$$/.class/g' gtk-classes.txt) > 100a103 > > @(test ! -d ../lib && mkdir ../lib) || exit 0 > 105a109 > > @(test ! -d ../lib && mkdir ../lib) || exit 0 > > > > Let me know if you are still having problems. > > -Jeff > > > > > -----Original Message----- > > From: Morgan, Jeffrey > > Sent: Thursday, February 01, 2001 7:32 AM > > To: 'jav...@li...' > > Subject: Re: Problems running Java-Gnome v0.5.0 on > > > > Rich, > > > > Thanks for posting. As of this time I don't believe any of > > the developers on the > > Java-GNOME team has had the opportunity to test our bindings > > on the Solaris > > platform. I look forward to working with you over the next > > few days to discover > > any difference and to make updates to our libraries so they > > will compile and > > run on your system. If at all possible you should use the > > code that is in > > CVS as there have been numerous bug fixes and enhances > since our last > > "official" release. > > > > > > > A couple of notes: > > > > > > (1) The Makefile's have a lot of lines like: > > > > > > @(test ! -d ../lib && mkdir ../lib) || exit 0 > > > > > > On Solaris with /bin/sh, this results in: > > > > > > /bin/sh: test: argument expected > > > > I executed this command (test ! -d testdir && mkdir testdir) > > on a system > > running Solaris 2.6 and it executed correctly. Perhaps it is > > the way it is > > invoked from the makefile. I have access to a Solaris > system but it > > doesn't have gtk installed. I will test this portion of the > > makefile and > > hopefully come up with a solution. > > > > > > > > (2) I was unable to build from the CVS sources. This might > > be because of > > > (1) above. The build appeared to finish okay, but the > > .jar file was > > > < 5K. > > > > What is the size of the shared object? Is it comparable with > > the shared > > object when you build the 0.5 version? The java source files > > should be > > located in the src/<lib> directory where lib is gdk or gtk > > since you are > > doing a gtk build only. There should be over 150 java files > > in the gtk > > directory and about 59 java files in the gdk directory. Are > > you seeing this? > > > > -Jeff |