tag:blogger.com,1999:blog-106449775438946661.post906281502567980590..comments2024-03-19T05:14:38.879-07:00Comments on Overcoming Fear: Eclipse 3.3 solaris-gtk-x86 Build Script for NexentaTim Myerhttp://www.blogger.com/profile/01514263555690798238noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-106449775438946661.post-2700342156717495562008-05-21T18:44:00.000-07:002008-05-21T18:44:00.000-07:00You are a great man, thanks my friend. You are a s...You are a great man, thanks my friend. You are a superOpenSource man :-P And will send mail with the problem details in base to your referces(Questions). Thanks!Darth Debian - VelociRaulEitorhttps://www.blogger.com/profile/17077530012637477979noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-73515912155624475272008-05-21T15:27:00.000-07:002008-05-21T15:27:00.000-07:00You might also want to follow the following bugzil...You might also want to follow the following bugzilla entry for solaris-gtk-x86:<BR/>https://bugs.eclipse.org/bugs/show_bug.cgi?id=84344<BR/>Volker Stolz modified and used this script to create a binary distribution of eclipse 3.3 for OpenSolaris, and he posted the link address in the bug thread. That might save you some headaches and time.<BR/>Let me know if this works!<BR/>------Tim-------Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-50739215882077366662008-05-21T15:07:00.000-07:002008-05-21T15:07:00.000-07:00Hi Raul,It looks like the script is having trouble...Hi Raul,<BR/>It looks like the script is having trouble finding your JDK install to resolve the library imports. A couple of questions:<BR/>1. Which version of Eclipse are you using?<BR/>2. Which version of the JDK are you using?<BR/>3. Have you pointed the script to your install of SunStudio, the JDK and ANT_HOME as indicated on the top of the script?<BR/><BR/>If your answers are:<BR/>1. 3.3.2<BR/>2. JDK 1.6<BR/>3. Yes<BR/>then email me directly at<BR/>timezra AT gmail DOT com<BR/>and I will send you the OpenSolaris script (I would paste it here but would need to reformat it as HTML).Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-63094635275845866922008-05-21T14:10:00.000-07:002008-05-21T14:10:00.000-07:00Thanks and here is a little problem :-P:[javac] 45...Thanks and here is a little problem :-P:<BR/><BR/><BR/>[javac] 45. WARNING in /export/home/ramoran/eclipse_solaris/plugins/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/IntroTemplate.java (at line 262)<BR/> [javac] return (IPluginReference[]) result.toArray(new IPluginReference[result<BR/> [javac] .size()]);<BR/> [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<BR/> [javac] Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList E should be parameterized<BR/> [javac] ----------<BR/> [javac] 45 problems (45 warnings)<BR/> [exec] sh: line 1: O: not found<BR/> [exec] sh: line 1: O: not found<BR/> [exec] sh: line 1: O: not found<BR/> [exec] sh: line 1: O: not found<BR/> [exec] sh: line 1: o: not found<BR/> [exec] "../eclipseJNI.h", line 15: cannot find include file: -jni.h-<BR/> [exec] "../eclipseJNI.h", line 25: warning: no explicit type given<BR/> [exec] "../eclipseJNI.h", line 25: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 25: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 25: warning: undefined or missing type for: void<BR/> [exec] "../eclipseJNI.h", line 25: function cannot return function or array<BR/> [exec] "../eclipseJNI.h", line 42: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipseJNI.h", line 42: syntax error before or at: void<BR/> [exec] "../eclipseJNI.h", line 42: cannot have void object: JNICALL<BR/> [exec] "../eclipseJNI.h", line 42: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 42: parameter redeclared: jstring<BR/> [exec] "../eclipseJNI.h", line 42: warning: function prototype parameters must have types<BR/> [exec] "../eclipseJNI.h", line 42: warning: old-style declaration or incorrect type for: Java_org_eclipse_equinox_launcher_JNIBridge__1set_1exit_1data<BR/> [exec] "../eclipseJNI.h", line 48: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipseJNI.h", line 48: syntax error before or at: void<BR/> [exec] "../eclipseJNI.h", line 48: cannot have void object: JNICALL<BR/> [exec] "../eclipseJNI.h", line 48: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 48: warning: function prototype parameters must have types<BR/> [exec] "../eclipseJNI.h", line 48: warning: old-style declaration or incorrect type for: Java_org_eclipse_equinox_launcher_JNIBridge__1update_1splash<BR/> [exec] "../eclipseJNI.h", line 54: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipseJNI.h", line 54: syntax error before or at: jlong<BR/> [exec] "../eclipseJNI.h", line 54: warning: old-style declaration or incorrect type for: jlong<BR/> [exec] "../eclipseJNI.h", line 54: warning: old-style declaration or incorrect type for: JNICALL<BR/> [exec] "../eclipseJNI.h", line 54: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 54: warning: function prototype parameters must have types<BR/> [exec] "../eclipseJNI.h", line 54: warning: old-style declaration or incorrect type for: Java_org_eclipse_equinox_launcher_JNIBridge__1get_1splash_1handle<BR/> [exec] "../eclipseJNI.h", line 60: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipseJNI.h", line 60: syntax error before or at: void<BR/> [exec] "../eclipseJNI.h", line 60: cannot have void object: JNICALL<BR/> [exec] "../eclipseJNI.h", line 60: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 60: warning: function prototype parameters must have types<BR/> [exec] "../eclipseJNI.h", line 60: warning: old-style declaration or incorrect type for: Java_org_eclipse_equinox_launcher_JNIBridge__1show_1splash<BR/> [exec] "../eclipseJNI.h", line 66: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipseJNI.h", line 66: syntax error before or at: void<BR/> [exec] "../eclipseJNI.h", line 66: cannot have void object: JNICALL<BR/> [exec] "../eclipseJNI.h", line 66: syntax error before or at: *<BR/> [exec] "../eclipseJNI.h", line 66: warning: function prototype parameters must have types<BR/> [exec] "../eclipseJNI.h", line 66: warning: old-style declaration or incorrect type for: Java_org_eclipse_equinox_launcher_JNIBridge__1takedown_1splash<BR/> [exec] "../eclipse.c", line 337: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipse.c", line 337: syntax error before or at: void<BR/> [exec] "../eclipse.c", line 345: warning: old-style declaration or incorrect type for: JNIEXPORT<BR/> [exec] "../eclipse.c", line 345: syntax error before or at: int<BR/> [exec] cc: acomp failed for ../eclipse.c<BR/> [exec] make: Fatal error: Command failed for target `eclipse.o'<BR/><BR/>BUILD FAILED<BR/>/export/home/ramoran/eclipse_solaris/build.xml:96: exec returned: 1<BR/><BR/>Total time: 18 minutes 25 seconds<BR/><BR/>How can use cc instead gcc? Regards.Darth Debian - VelociRaulEitorhttps://www.blogger.com/profile/17077530012637477979noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-79235364597213446502008-05-21T13:41:00.000-07:002008-05-21T13:41:00.000-07:00Glad to be of help. Please keep in mind that this...Glad to be of help. Please keep in mind that this script is for Eclipse 3.3.1. There were a couple of changes for Eclipse 3.3.2. Also, if you are building on OpenSolaris instead of Nexenta, you will probably not want to use GCC to compile the SWT libraries -- CC will work just fine. If you run into any problem, just drop me a line as I also have a script specifically for building Eclipse 3.3.2 on OpenSolaris which a couple of people (including myself) have already used successfully.<BR/>Best of luck!Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-56474811097796370602008-05-21T13:25:00.000-07:002008-05-21T13:25:00.000-07:00Great hit!!I needing them. When build in openSolar...Great hit!!<BR/>I needing them. When build in openSolaris 2008.05 I will tell you. Thanks!!! and Regards from Chile.Darth Debian - VelociRaulEitorhttps://www.blogger.com/profile/17077530012637477979noreply@blogger.com