Subject: ORBit didn't buildlink any include or libraries
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/31/2004 06:27:59
reed@puget:/usr/pkgsrc/net/ORBit$ find work.puget/.buildlink/
work.puget/.buildlink/
work.puget/.buildlink/include
work.puget/.buildlink/lib
work.puget/.buildlink/bin
work.puget/.buildlink/bin/.reorderlibs
...

This caused the configure to fail saying:
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.1... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB was incorrectly
installed
*** or that you have moved GLIB since it was installed. In the latter
case, you
*** may want to edit the glib-config script: /usr/bin/glib-config
configure: error:
*** GLIB 1.2.1 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
*** Error code 1

The real problem is like (from config.log):
/usr/include/glib/glib-1.2/glib.h:66:24: glibconfig.h: No such file or directory
In file included from configure:7008:
/usr/include/glib/glib-1.2/glib.h:502: error: parse error before "gssize"


I am using X11BASE = LOCALBASE for a few months on this system. I had
patched mk/buildlink2/bsd.buildlink2.mk to not strip out X11BASE when it
was same as LOCALBASE.

But I haven't done anything with mk/buildlink3/bsd.buildlink3.mk for that
yet.

Is anyone else using X11BASE as LOCALBASE? (Instead of using xpkgwedge.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/