Date: Mon, 24 Sep 2007 16:22:48 -0700 From: Mike Bowie <mbowie@buzmo.com> To: Greg Lewis <glewis@eyesbeyond.com> Cc: freebsd-eclipse@freebsd.org Subject: Re: Eclipse-Europa Web-browser Message-ID: <46F846C8.1040509@buzmo.com> In-Reply-To: <20070924155426.GA90445@misty.eyesbeyond.com> References: <46E80076.60205@buzmo.com> <20070913.115518.38718088.ken@tydfam.jp> <46E8C397.1040103@buzmo.com> <20070913.144711.35011923.ken@tydfam.jp> <20070921155144.GA69397@misty.eyesbeyond.com> <20070924155426.GA90445@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis wrote: > On Fri, Sep 21, 2007 at 08:51:44AM -0700, Greg Lewis wrote: > >> I grabbed the two versions of the Eclipse 3.3 port that seem to have been >> mentioned on the list and am looking at committing one to eclipse-devel. >> >> One thing that stands out immediately is files/launchersrc.zip. What is >> this and where did it come from? Committing a large binary file to the >> ports repo is pretty much going to be a non-starter. I suspect this >> should actually be a DISTFILE. >> >> Other than that it looks pretty reasonable. I cleaned up some portlint >> warnings and so on, but they were fairly minimal. >> > > Replying to my own email... > > I've made launchersrc.zip a DISTFILE based on Ken's information (thanks!). > I've currently put it in my distfile space, which is ok, although I wonder > if there is a better place to get it from? > > Next problem is that I was trying to build with WITHOUT_GNOMEVFS set. This > causes the build to fail as shown below. Do we just want to eliminate this > option or has someone got time to look at this? > > [exec] cc -O -Wall -DSWT_VERSION=3346 -DNATIVE_STATS -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/jdk1.6.0/include -I/usr/local/jdk1.6.0/include/freebsd -fPIC `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome.c > [exec] gnome-config: not found > [exec] Package gnome-vfs-module-2.0 was not found in the pkg-config search path. > [exec] Perhaps you should add the directory containing `gnome-vfs-module-2.0.pc' > [exec] to the PKG_CONFIG_PATH environment variable > [exec] No package 'gnome-vfs-module-2.0' found > [exec] gnome-config: not found > [exec] Package libgnome-2.0 was not found in the pkg-config search path. > [exec] Perhaps you should add the directory containing `libgnome-2.0.pc' > [exec] to the PKG_CONFIG_PATH environment variable > [exec] No package 'libgnome-2.0' found > [exec] gnome-config: not found > [exec] Package libgnomeui-2.0 was not found in the pkg-config search path. > [exec] Perhaps you should add the directory containing `libgnomeui-2.0.pc' > [exec] to the PKG_CONFIG_PATH environment variable > [exec] No package 'libgnomeui-2.0' found > [exec] In file included from gnome_structs.h:16, > [exec] from gnome.c:17: > [exec] gnome.h:23:31: libgnome/libgnome.h: No such file or directory > [exec] gnome.h:24:36: libgnome/gnome-program.h: No such file or directory > [exec] gnome.h:25:35: libgnomeui/libgnomeui.h: No such file or directory > [exec] gnome.h:26:35: libgnomevfs/gnome-vfs.h: No such file or directory > [exec] gnome.h:27:40: libgnomevfs/gnome-vfs-mime.h: No such file or directory > [exec] gnome.h:28:49: libgnomevfs/gnome-vfs-mime-handlers.h: No such file or directory > [exec] gnome.h:29:45: libgnomevfs/gnome-vfs-mime-info.h: No such file or directory > [exec] In file included from gnome.c:17: > [exec] gnome_structs.h:20: error: syntax error before '*' token > [exec] gnome_structs.h:20: error: syntax error before "GnomeVFSMimeApplication" > [exec] gnome_structs.h:20: warning: type defaults to `int' in declaration of `getGnomeVFSMimeApplicationFields' > [exec] gnome_structs.h:20: warning: data definition has no type or storage class > [exec] gnome_structs.h:21: error: syntax error before "GnomeVFSMimeApplication" > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME_GnomeVFSMimeApplication_1sizeof': > [exec] gnome.c:28: error: `GnomeVFSMimeApplication' undeclared (first use in this function) > [exec] gnome.c:28: error: (Each undeclared identifier is reported only once > [exec] gnome.c:28: error: for each function it appears in.) > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1g_1free': > [exec] gnome.c:39: warning: implicit declaration of function `g_free' > [exec] gnome.c:39: error: `gpointer' undeclared (first use in this function) > [exec] gnome.c:39: error: syntax error before "arg0" > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1g_1list_1append': > [exec] gnome.c:50: warning: implicit declaration of function `g_list_append' > [exec] gnome.c:50: error: `GList' undeclared (first use in this function) > [exec] gnome.c:50: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1g_1list_1free': > [exec] gnome.c:61: warning: implicit declaration of function `g_list_free' > [exec] gnome.c:61: error: `GList' undeclared (first use in this function) > [exec] gnome.c:61: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1g_1list_1next': > [exec] gnome.c:72: warning: implicit declaration of function `g_list_next' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1g_1object_1unref': > [exec] gnome.c:83: warning: implicit declaration of function `g_object_unref' > [exec] gnome.c:83: error: `gpointer' undeclared (first use in this function) > [exec] gnome.c:83: error: syntax error before "arg0" > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1icon_1lookup': > [exec] gnome.c:102: warning: implicit declaration of function `gnome_icon_lookup' > [exec] gnome.c:102: error: `GnomeIconTheme' undeclared (first use in this function) > [exec] gnome.c:102: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1icon_1theme_1lookup_1icon': > [exec] gnome.c:123: warning: implicit declaration of function `gnome_icon_theme_lookup_icon' > [exec] gnome.c:123: error: `GnomeIconTheme' undeclared (first use in this function) > [exec] gnome.c:123: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1icon_1theme_1new': > [exec] gnome.c:138: warning: implicit declaration of function `gnome_icon_theme_new' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1get_1registered_1mime_1types': > [exec] gnome.c:150: warning: implicit declaration of function `gnome_vfs_get_registered_mime_types' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1init': > [exec] gnome.c:162: warning: implicit declaration of function `gnome_vfs_init' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1make_1uri_1from_1input': > [exec] gnome.c:176: warning: implicit declaration of function `gnome_vfs_make_uri_from_input' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1application_1free': > [exec] gnome.c:222: warning: implicit declaration of function `gnome_vfs_mime_application_free' > [exec] gnome.c:222: error: `GnomeVFSMimeApplication' undeclared (first use in this function) > [exec] gnome.c:222: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1application_1launch': > [exec] gnome.c:239: error: syntax error before '*' token > [exec] gnome.c:248: error: `GnomeVFSMimeApplication' undeclared (first use in this function) > [exec] gnome.c:248: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1extensions_1list_1free': > [exec] gnome.c:261: warning: implicit declaration of function `gnome_vfs_mime_extensions_list_free' > [exec] gnome.c:261: error: `GList' undeclared (first use in this function) > [exec] gnome.c:261: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1get_1default_1application': > [exec] gnome.c:274: warning: implicit declaration of function `gnome_vfs_mime_get_default_application' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1get_1extensions_1list': > [exec] gnome.c:288: warning: implicit declaration of function `gnome_vfs_mime_get_extensions_list' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1registered_1mime_1type_1list_1free': > [exec] gnome.c:299: warning: implicit declaration of function `gnome_vfs_mime_registered_mime_type_list_free' > [exec] gnome.c:299: error: `GList' undeclared (first use in this function) > [exec] gnome.c:299: error: syntax error before ')' token > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME__1gnome_1vfs_1mime_1type_1from_1name': > [exec] gnome.c:312: warning: implicit declaration of function `gnome_vfs_mime_type_from_name' > [exec] gnome.c: In function `Java_org_eclipse_swt_internal_gnome_GNOME_memmove': > [exec] gnome.c:353: error: syntax error before "_arg0" > [exec] gnome.c:355: error: `lparg0' undeclared (first use in this function) > [exec] gnome.c:355: error: `_arg0' undeclared (first use in this function) > [exec] gmake: *** [gnome.o] Error 1 > > BUILD FAILED > /usr/ports/java/eclipse-devel/work/build.xml:97: exec returned: 2 > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636) > at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662) > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:357) > at org.apache.tools.ant.Target.performTasks(Target.java:385) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) > at org.apache.tools.ant.Project.executeTarget(Project.java:1298) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1181) > at org.apache.tools.ant.Main.runBuild(Main.java:698) > at org.apache.tools.ant.Main.startAnt(Main.java:199) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > > Total time: 36 minutes 24 seconds > *** Error code 1 > > Stop in /usr/ports/java/eclipse-devel. > Talking to yourself Greg? ;-) I hate to say it, but unless my vacation recovery is impairing my judgment, I've just done a build using Ken's tar with WITHOUT_GNOMEVFS set and it's run right through. I'll give it a try on my machine at the office shortly... anyone else have success or failure? Cheers, Mike.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F846C8.1040509>