Google Web Toolkit for Mac didn’t work for me

Posted in Technicalon Nov 16, 2006

I saw today on the Google Mac Blog that they released a version of the Google Web Toolkit for Mac. I’ve been having some ideas about some web applications that I think the GWT might be good for, so I thought I would try it out.

I downloaded it, and checked the md5sum (34b9ceef5e13ef218d4524c3f7b55cea) of the download. I thought it was a little weird that it was being downloaded as a gzipped tar archive, so I thought I would read the getting started guide.

I untarred the archive, and I cd’ed into the untarred folder. At this point, I thought I would follow the getting started guide on running the Kitchen Sink example in hosted mode.

I cd’ed into samples/KitchenSink/ and ran the ./KitchenSink-shell script. At this point I got an error message:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-webkit'
Your GWT installation may be corrupt
at com.google.gwt.dev.shell.mac.LowLevelSaf.init(LowLevelSaf.java:180)
at com.google.gwt.dev.BootStrapPlatform.go(BootStrapPlatform.java:10)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:264)

I did a little bit of Google searching, and I found that someone else had the same problem. He mentioned Issue #300 which I looked at, and it said it was fixed. The problem was something having to do with a case-sensitive filesystem, which I think is odd because I thought all Macs were pretty standard with their case-sensitive filesystems. So I’m not sure if I just have to wait until the next release or if it is still broken or what.

Hopefully it will get fixed soon though because I have a limited amount of free time right now to work on my new project and using GWT on it I think would be sweet.

6 Comments

Bruce

November 18th, 2006 at 4:53 pm

HFS+ isn’t case sensitive on Macs, while UFS is:


[brucec@arwen brucec]$ ls aSdF
ls: aSdF: No such file or directory
[brucec@arwen brucec]$ touch asdf
[brucec@arwen brucec]$ ls aSdF
# on HFS:
aSdF
# on UFS:
ls: aSdF: No such file or directory

webguy

November 18th, 2006 at 5:12 pm

Ok. So I’m running Journalized HFS+, and you’re right, it isn’t case sensitive. Issue #300 says that a work-around for the issue is to “move the toolkit to a case insensitive fs” which according to what you’ve helped me figure out is what I’m already running. The question still remains, why am I having this problem?

kellegous

December 11th, 2006 at 9:08 am

Hi Jacob,

Issue #300 was fixed for version 1.2.22. Are you trying to run hosted mode in OS X 10.3, by any chance? Unfortunately, there is no public branch for WebKit on 10.3 so we can’t support anything but 10.4 .

webguy

December 11th, 2006 at 12:40 pm

kellegous,
It does turn out that I’m using OS 10.3.9, so I guess that is probably my problem. The system requirements in the FAQ only said “OS X” so I had hoped that it would work with 10.3.9.

webguy

December 11th, 2006 at 4:27 pm

Yeah, I found the issue in the issue tracker which describes my problem and says there isn’t a planned fix.

Bruce

December 12th, 2006 at 11:27 am

Well, this turned out nicely. Now you can submit a patch pretty easily.

Comment Form

Categories