Date: Wed, 3 Oct 2001 13:57:31 -0700 From: David Smith <dsmith@cenus.com> To: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: Problems with GVD v1.0.1 Message-ID: <7557E25563CCD411827F00B0D022DACD14EE09@mail.cenus.com>
next in thread | raw e-mail | index | archive | help
Hi. I have been unable to build GVD on a new machine, with a clean install of FreeBSD 4.4. I should note that on an older box I was able to build the port, under FreeBSD v4.3 with the ports (dependecies) as they were about 3-4 months ago. However, on the new box all attempts to build the port have failed. Details are: Going into the /usr/ports/devel/gvd directory and issuing a make command; after successfulling building and installing gtkada 1.1.12 and gnat 3.13p, the compile for GVD fails with the following (these printouts are after a couple of build attempts).: ===> Building for gvd-1.0.1 gmake CFLAGS="-g -O2" -C pixmaps gmake[1]: Entering directory `/usr/ports/devel/gvd/work/gvd-1.0.1/pixmaps' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/devel/gvd/work/gvd-1.0.1/pixmaps' gmake CFLAGS="-g -O2" -C gnat gmake[1]: Entering directory `/usr/ports/devel/gvd/work/gvd-1.0.1/gnat' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/usr/ports/devel/gvd/work/gvd-1.0.1/gnat' gmake CFLAGS="-g -O2" -C gvd gmake[1]: Entering directory `/usr/ports/devel/gvd/work/gvd-1.0.1/gvd' gnatmake -m -g -O2 -gnatwuwe -I/usr/X11R6/include/gtkada -I../gnat gvd_main -o gvd -bargs -E -largs ../gnat/gexpect.o ../gnat/gexpect_tty.o ../pixmaps/pixmaps.o -L/usr/X11R6/include/gtkada -L/usr/X11R6/lib -lgtkada -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4 -lXext -lX11 -lm adagcc -c -g -O2 -gnatwuwe -I/usr/X11R6/include/gtkada -I../gnat gvd_main.adb display_items.ads:186:09: type must be declared abstract or "Draw" overridden gnatmake: "gvd_main.adb" compilation error gmake[1]: *** [gvd] Error 4 gmake[1]: Leaving directory `/usr/ports/devel/gvd/work/gvd-1.0.1/gvd' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/devel/gvd. *** Error code 1 Stop in /usr/ports/devel/gvd. *** Error code 1 Stop in /usr/ports/devel/gvd. What is interesting to me is that the tarball is the same on my 4.4 machine as my 4.3 machine which leads me to believe that something outside of gvd may be wrong; of course I could be wrong as well. :) Any advice would be greatly appreciated!! P.S. Regarding the v1.2.0 source from the GVD web-site, if anyone understands why I could build it (details listed below) I would also appreciate any advice on this subject as well. I downloaded the source for v1.2.0 of GVD and attempted to build it. Alas, the powers that be decided to frown further upon and I got the following messages while attempting to configure: checking for gtkada-config... (cached) /usr/X11R6/bin/gtkada-config checking for GtkAda - version >= 1.2.12... gtk-config: not found glib-config: not found gtk-config: not found yes updating cache ./config.cache A bit of searching indicated that the gtk-config binary was actually gtk12-config on FreeBSD (due to support for multiple versions). Anyway, the first recommendations were to set the GTK_CONFIG and GLIB_CONFIG environment variables. setenv GTK_CONFIG /usr/X11R6/bin/gtk12-config setenv GLIB_CONFIG /usr/local/bin/glib12-config This resulted in no change from the configure output, as can be seen below: checking for gtkada-config... (cached) /usr/X11R6/bin/gtkada-config checking for GtkAda - version >= 1.2.12... gtk-config: not found glib-config: not found gtk-config: not found yes updating cache ./config.cache So I decided to create links as follows: ln -sv /usr/X11R6/bin/gtk12-config /usr/X11R6/bin/gtk-config ln -sv /usr/X11R6/bin/glib12-config /usr/X11R6/bin/glib-config Which appears to have satisfied configure: checking for gtkada-config... (cached) /usr/X11R6/bin/gtkada-config checking for GtkAda - version >= 1.2.12... yes updating cache ./config.cache Unfortunately, the build still failed as can be seen below: gmake CFLAGS="-g -O2" -C pixmaps gmake[1]: Entering directory `/home/dsmith/gvd-1.2.0-src/pixmaps' gcc -c -g -O2 pixmaps.c gmake[1]: Leaving directory `/home/dsmith/gvd-1.2.0-src/pixmaps' Thanks for your help. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7557E25563CCD411827F00B0D022DACD14EE09>