pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/gobject-introspection build can't find 'glib/gmacros.h'



hi-

    Trying to debug something, I built a little test pkgsrc area
in my /tmp (this is on my macosx box):

./bootstrap --abi 64 --prefix /tmp/ptest \
	--pkgdbdir /tmp/ptest/var/db/pkg --compiler clang 

and set path to the freshly build (and mostly empty) tmp area:

set path=(/tmp/ptest/{bin,sbin} /usr/bin /bin /usr/sbin /sbin)


and then tried (and failed) to "bmake update" in devel/gobject-introspection:

  GISCAN   GLib-2.0.gir
In file included from <stdin>:4:
/private/tmp/ptest/lib/glib-2.0/include/glibconfig.h:9:10: fatal error: 
      'glib/gmacros.h' file not found
#include <glib/gmacros.h>
         ^
1 error generated.
Error while processing the source.
gnumake[2]: *** [GLib-2.0.gir] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2

Stop.
bmake[2]: stopped in /tmp/ptest/pkgsrc/devel/gobject-introspection
*** Error code 1


how do I debug this?   it seems like that file is there:


root_xxxcdc[340]# find . -name gmacros.h
./work/.buildlink/include/glib/glib-2.0/glib/gmacros.h
root_xxxcdc[341]# ls -l work/.buildlink/include/glib/glib-2.0/glib/gmacros.h 
lrwxr-xr-x  1 root  wheel  47 May 20 22:29 work/.buildlink/include/glib/glib-2.0/glib/gmacros.h -> /tmp/ptest/include/glib/glib-2.0/glib/gmacros.h
root_xxxcdc[342]# 



chuck


Home | Main Index | Thread Index | Old Index