On Apr 24, 9:40 pm, Rabbit <[email protected]> wrote:
> I don't think it would help, since the build process must be using
> a toolchain (I mean cross-compiling) but I haven't checked.
>
> Freebsd linux emulator should be able to run hosted mode, but it keeps
> looking at /lib instead of /usr/compat/linux/lib, and linking them to /
> lib do
> not fix the issue.
>
> Since I can build natives swt and mozilla under FreeBSD, and that java
> is not an issue,
> it should be quite easy to add a bsd build target into the ant build
> script ...
>
> If someone at google is interested to add a freebsd target on the
> build script, it should
> not be so much work since all third parties libs are available
> (patched for freebsd). I'll be
> happy to provide a freebsd port if needed.
>
> On Apr 21, 4:55 pm, Alex Rudnick <[email protected]> wrote:
>
> > I don't have aFreeBSDbox handy, but this seems like it'd be
> > workable. Good call about replacing the SWT binaries with your native
> > ones. Would it help, do you think, to compile GWT from source?
>
> > If you get this working, it would be cool to hear how you did it!
>
> > On Tue, Apr 21, 2009 at 7:47 AM, Rabbit <[email protected]> wrote:
>
> > > Switching to -client mode fix the build process.
>
> > > Hosted mode still not working
>
> > --
> > Alex Rudnick
> > swe, gwt, atl
Hello,
I would like to build gwt on freebsd too, but i get to this when
running a sample:
ant hosted
Buildfile: build.xml
libs:
javac:
hosted:
[java] Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.eclipse.swt.internal.gtk.OS.PTR_sizeof()I
[java] at org.eclipse.swt.internal.gtk.OS.PTR_sizeof(Native
Method)
[java] at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:
475)
[java] at org.eclipse.swt.internal.Converter.wcsToMbcs
(Converter.java:63)
[java] at org.eclipse.swt.internal.Converter.wcsToMbcs
(Converter.java:54)
[java] at org.eclipse.swt.widgets.Display.<clinit>
(Display.java:126)
[java] at com.google.gwt.dev.SwtHostedModeBase.<clinit>
(SwtHostedModeBase.java:104)
BUILD FAILED
/home/dan/work/gwt/google-web-toolkit-read-only/build/dist/gwt-
linux-1.7.0/samples/Hello/build.xml:47: Java returned: 1
I have replaced the swt libs with the freebsd native ones. Eclipse is
running fine using native swt so i suspect that it's something wrong
with my gwt setup.
Can anyone help up?
Thanks,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---