Hi Patrick, To answer your questions, I build gnome at /usr/pkgsrc/meta-pkgs/gnome folder, and run make clean install. Following are detailed info. KDE4 also has building errors.
===> Cleaning for gnome-2.26.2nb4 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Installing dependencies for gnome-2.26.2nb4 ========================================================================== The supported build options for gnome are: pulseaudio The currently selected options are: pulseaudio You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.gnome (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, gnome-2.26.2nb4. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 Based on these variables, the following variables have been set: * PYPACKAGE = python27 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Full dependency alacarte>=0.12.1: NOT found => Verifying package-install for ../../x11/alacarte sh: 6189arg/bin/perl: not found make[2]: "6189arg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status sh: 8685arg/bin/perl: not found make[2]: "8685arg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status sh: 3889arg/bin/perl: not found make[1]: "3889arg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status => Bootstrap dependency digest>=20010302: found digest-20111104 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for alacarte-0.13.1.tar.bz2 => Checksum RMD160 OK for alacarte-0.13.1.tar.bz2 ===> Installing dependencies for alacarte-0.13.1nb14 ========================================================================== The following variables will affect the build process of this package, alacarte-0.13.1nb14. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 27 * SSLBASE (defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/openssl/private Based on these variables, the following variables have been set: * PYPACKAGE = python27 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Build dependency intltool>=0.40.0: NOT found => Verifying package-install for ../../textproc/intltool sh: 9982arg/bin/perl: not found make[2]: "9982arg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status => Bootstrap dependency digest>=20010302: found digest-20111104 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for intltool-0.50.2.tar.gz => Checksum RMD160 OK for intltool-0.50.2.tar.gz ===> Installing dependencies for intltool-0.50.2 => Build dependency gmake>=3.81: found gmake-4.1nb1 => Full dependency p5-XML-Parser>=2.34nb4: NOT found => Verifying package-install for ../../textproc/p5-XML-Parser sh: 5553arg/bin/perl: not found make[3]: "5553arg/bin/perl -V:prefix -V:installarchlib -V:installscript -V:installvendorbin -V:installvendorscript -V:installvendorarch -V:installvendorlib -V:installvendorman1dir -V:installvendorman3dir" returned non-zero status => Bootstrap dependency digest>=20010302: found digest-20111104 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for XML-Parser-2.41.tar.gz => Checksum RMD160 OK for XML-Parser-2.41.tar.gz ===> Installing dependencies for p5-XML-Parser-2.41 => Full dependency perl<5.16.0: NOT found => Verifying package-install for ../../lang/perl5 => Bootstrap dependency digest>=20010302: found digest-20111104 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for perl-5.14.2nb5 `sh cflags "optimize='-O2 -pthread -I/usr/include'" pp_sys.o` -DPIC -fPIC pp_sys.c CCCMD = gcc -DPERL_CORE -c -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/include -std=c89 -O2 -pthread -I/usr/include -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings pp_sys.c: In function 'Perl_pp_warn': pp_sys.c:422:17: warning: variable 'pv' set but not used [-Wunused-but-set-variable] const char *pv; ^ pp_sys.c: In function 'Perl_pp_die': pp_sys.c:462:17: warning: variable 'pv' set but not used [-Wunused-but-set-variable] const char *pv; ^ In file included from op.h:653:0, from perl.h:3454, from pp_sys.c:31: pp_sys.c: In function 'Perl_pp_ghostent': reentr.h:1034:57: warning: implicit declaration of function 'gethostbyname_r' [-Wimplicit-function-declaration] # define gethostbyname(a) ((PL_reentrant_retint = gethostbyname_r(a, &PL_reentrant_buffer->_hostent_struct, PL_reentrant_buffer->_hostent_buffer, PL_reentrant_buffer->_hostent_size, &PL_reentrant_buffer->_hostent_ptr, &PL_reentrant_buffer->_hostent_errno)) == 0 ? PL_reentrant_buffer->_hostent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant_retry("gethostbyname", a) : 0)) ^ iperlsys.h:1364:35: note: in expansion of macro 'gethostbyname' #define PerlSock_gethostbyname(n) gethostbyname(n) ^ pp_sys.c:4707:9: note: in expansion of macro 'PerlSock_gethostbyname' hent = PerlSock_gethostbyname(name); ^ reentr.h:995:63: warning: implicit declaration of function 'gethostbyaddr_r' [-Wimplicit-function-declaration] # define gethostbyaddr(a, b, c) ((PL_reentrant_retint = gethostbyaddr_r(a, b, c, &PL_reentrant_buffer->_hostent_struct, PL_reentrant_buffer->_hostent_buffer, PL_reentrant_buffer->_hostent_size, &PL_reentrant_buffer->_hostent_ptr, &PL_reentrant_buffer->_hostent_errno)) == 0 ? PL_reentrant_buffer->_hostent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant_retry("gethostbyaddr", a, b, c) : 0)) ^ iperlsys.h:1363:41: note: in expansion of macro 'gethostbyaddr' #define PerlSock_gethostbyaddr(a, l, t) gethostbyaddr(a, l, t) ^ pp_sys.c:4719:9: note: in expansion of macro 'PerlSock_gethostbyaddr' hent = PerlSock_gethostbyaddr(addr, (Netdb_hlen_t) addrlen, addrtype); ^ reentr.h:1049:53: warning: implicit declaration of function 'gethostent_r' [-Wimplicit-function-declaration] # define gethostent() ((PL_reentrant_retint = gethostent_r(&PL_reentrant_buffer->_hostent_struct, PL_reentrant_buffer->_hostent_buffer, PL_reentrant_buffer->_hostent_size, &PL_reentrant_buffer->_hostent_ptr, &PL_reentrant_buffer->_hostent_errno)) == 0 ? PL_reentrant_buffer->_hostent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant_retry("gethostent") : 0)) ^ iperlsys.h:1365:30: note: in expansion of macro 'gethostent' #define PerlSock_gethostent gethostent ^ pp_sys.c:4726:9: note: in expansion of macro 'PerlSock_gethostent' hent = PerlSock_gethostent(); ^ pp_sys.c: In function 'Perl_pp_gprotoent': reentr.h:1163:58: warning: implicit declaration of function 'getprotobyname_r' [-Wimplicit-function-declaration] # define getprotobyname(a) ((PL_reentrant_retint = getprotobyname_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct protoent *) Perl_reentrant_retry("getprotobyname", a) : 0)) ^ iperlsys.h:1375:36: note: in expansion of macro 'getprotobyname' #define PerlSock_getprotobyname(n) getprotobyname(n) ^ pp_sys.c:4867:9: note: in expansion of macro 'PerlSock_getprotobyname' pent = PerlSock_getprotobyname(name); ^ reentr.h:1178:60: warning: implicit declaration of function 'getprotobynumber_r' [-Wimplicit-function-declaration] # define getprotobynumber(a) ((PL_reentrant_retint = getprotobynumber_r(a, &PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct protoent *) Perl_reentrant_retry("getprotobynumber", a) : 0)) ^ iperlsys.h:1376:38: note: in expansion of macro 'getprotobynumber' #define PerlSock_getprotobynumber(n) getprotobynumber(n) ^ pp_sys.c:4875:9: note: in expansion of macro 'PerlSock_getprotobynumber' pent = PerlSock_getprotobynumber(number); ^ reentr.h:1193:54: warning: implicit declaration of function 'getprotoent_r' [-Wimplicit-function-declaration] # define getprotoent() ((PL_reentrant_retint = getprotoent_r(&PL_reentrant_buffer->_protoent_struct, PL_reentrant_buffer->_protoent_buffer, PL_reentrant_buffer->_protoent_size, &PL_reentrant_buffer->_protoent_ptr)) == 0 ? PL_reentrant_buffer->_protoent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct protoent *) Perl_reentrant_retry("getprotoent") : 0)) ^ iperlsys.h:1377:31: note: in expansion of macro 'getprotoent' #define PerlSock_getprotoent getprotoent ^ pp_sys.c:4882:9: note: in expansion of macro 'PerlSock_getprotoent' pent = PerlSock_getprotoent(); ^ pp_sys.c: In function 'Perl_pp_gservent': reentr.h:1271:60: warning: implicit declaration of function 'getservbyname_r' [-Wimplicit-function-declaration] # define getservbyname(a, b) ((PL_reentrant_retint = getservbyname_r(a, b, &PL_reentrant_buffer->_servent_struct, PL_reentrant_buffer->_servent_buffer, PL_reentrant_buffer->_servent_size, &PL_reentrant_buffer->_servent_ptr)) == 0 ? PL_reentrant_buffer->_servent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct servent *) Perl_reentrant_retry("getservbyname", a, b) : 0)) ^ iperlsys.h:1380:38: note: in expansion of macro 'getservbyname' #define PerlSock_getservbyname(n, p) getservbyname(n, p) ^ pp_sys.c:4928:9: note: in expansion of macro 'PerlSock_getservbyname' sent = PerlSock_getservbyname(name, (proto && !*proto) ? NULL : proto); ^ reentr.h:1286:60: warning: implicit declaration of function 'getservbyport_r' [-Wimplicit-function-declaration] # define getservbyport(a, b) ((PL_reentrant_retint = getservbyport_r(a, b, &PL_reentrant_buffer->_servent_struct, PL_reentrant_buffer->_servent_buffer, PL_reentrant_buffer->_servent_size, &PL_reentrant_buffer->_servent_ptr)) == 0 ? PL_reentrant_buffer->_servent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct servent *) Perl_reentrant_retry("getservbyport", a, b) : 0)) ^ iperlsys.h:1381:41: note: in expansion of macro 'getservbyport' #define PerlSock_getservbyport(port, p) getservbyport(port, p) ^ pp_sys.c:4940:9: note: in expansion of macro 'PerlSock_getservbyport' sent = PerlSock_getservbyport(port, (proto && !*proto) ? NULL : proto); ^ reentr.h:1301:53: warning: implicit declaration of function 'getservent_r' [-Wimplicit-function-declaration] # define getservent() ((PL_reentrant_retint = getservent_r(&PL_reentrant_buffer->_servent_struct, PL_reentrant_buffer->_servent_buffer, PL_reentrant_buffer->_servent_size, &PL_reentrant_buffer->_servent_ptr)) == 0 ? PL_reentrant_buffer->_servent_ptr : ((PL_reentrant_retint == ERANGE) ? (struct servent *) Perl_reentrant_retry("getservent") : 0)) ^ iperlsys.h:1382:30: note: in expansion of macro 'getservent' #define PerlSock_getservent getservent ^ pp_sys.c:4947:9: note: in expansion of macro 'PerlSock_getservent' sent = PerlSock_getservent(); ^ pp_sys.c: In function 'Perl_pp_shostent': reentr.h:1382:31: warning: implicit declaration of function 'sethostent_r' [-Wimplicit-function-declaration] # define sethostent(a) (sethostent_r(a, &PL_reentrant_buffer->_hostent_data) == 0 ? 1 : 0) ^ iperlsys.h:1397:33: note: in expansion of macro 'sethostent' #define PerlSock_sethostent(f) sethostent(f) ^ pp_sys.c:4993:2: note: in expansion of macro 'PerlSock_sethostent' PerlSock_sethostent(stayopen); ^ reentr.h:1382:67: error: 'REENTR {aka struct <anonymous>}' has no member named '_hostent_data' # define sethostent(a) (sethostent_r(a, &PL_reentrant_buffer->_hostent_data) == 0 ? 1 : 0) ^ iperlsys.h:1397:33: note: in expansion of macro 'sethostent' #define PerlSock_sethostent(f) sethostent(f) ^ pp_sys.c:4993:2: note: in expansion of macro 'PerlSock_sethostent' PerlSock_sethostent(stayopen); ^ reentr.h:1415:32: warning: implicit declaration of function 'setprotoent_r' [-Wimplicit-function-declaration] # define setprotoent(a) (setprotoent_r(a, &PL_reentrant_buffer->_protoent_data) == 0 ? 1 : 0) ^ iperlsys.h:1399:34: note: in expansion of macro 'setprotoent' #define PerlSock_setprotoent(f) setprotoent(f) ^ pp_sys.c:5007:2: note: in expansion of macro 'PerlSock_setprotoent' PerlSock_setprotoent(stayopen); ^ reentr.h:1415:69: error: 'REENTR {aka struct <anonymous>}' has no member named '_protoent_data' # define setprotoent(a) (setprotoent_r(a, &PL_reentrant_buffer->_protoent_data) == 0 ? 1 : 0) ^ iperlsys.h:1399:34: note: in expansion of macro 'setprotoent' #define PerlSock_setprotoent(f) setprotoent(f) ^ pp_sys.c:5007:2: note: in expansion of macro 'PerlSock_setprotoent' PerlSock_setprotoent(stayopen); ^ reentr.h:1439:31: warning: implicit declaration of function 'setservent_r' [-Wimplicit-function-declaration] # define setservent(a) (setservent_r(a, &PL_reentrant_buffer->_servent_data) == 0 ? 1 : 0) ^ iperlsys.h:1400:33: note: in expansion of macro 'setservent' #define PerlSock_setservent(f) setservent(f) ^ pp_sys.c:5014:2: note: in expansion of macro 'PerlSock_setservent' PerlSock_setservent(stayopen); ^ reentr.h:1439:67: error: 'REENTR {aka struct <anonymous>}' has no member named '_servent_data' # define setservent(a) (setservent_r(a, &PL_reentrant_buffer->_servent_data) == 0 ? 1 : 0) ^ iperlsys.h:1400:33: note: in expansion of macro 'setservent' #define PerlSock_setservent(f) setservent(f) ^ pp_sys.c:5014:2: note: in expansion of macro 'PerlSock_setservent' PerlSock_setservent(stayopen); ^ pp_sys.c: In function 'Perl_pp_ehostent': reentr.h:872:30: warning: implicit declaration of function 'endhostent_r' [-Wimplicit-function-declaration] # define endhostent() (endhostent_r(&PL_reentrant_buffer->_hostent_data) == 0 ? 1 : 0) ^ iperlsys.h:1366:30: note: in expansion of macro 'endhostent' #define PerlSock_endhostent endhostent ^ pp_sys.c:5029:2: note: in expansion of macro 'PerlSock_endhostent' PerlSock_endhostent(); ^ reentr.h:872:63: error: 'REENTR {aka struct <anonymous>}' has no member named '_hostent_data' # define endhostent() (endhostent_r(&PL_reentrant_buffer->_hostent_data) == 0 ? 1 : 0) ^ iperlsys.h:1366:30: note: in expansion of macro 'endhostent' #define PerlSock_endhostent endhostent ^ pp_sys.c:5029:2: note: in expansion of macro 'PerlSock_endhostent' PerlSock_endhostent(); ^ reentr.h:896:31: warning: implicit declaration of function 'endprotoent_r' [-Wimplicit-function-declaration] # define endprotoent() (endprotoent_r(&PL_reentrant_buffer->_protoent_data) == 0 ? 1 : 0) ^ iperlsys.h:1378:31: note: in expansion of macro 'endprotoent' #define PerlSock_endprotoent endprotoent ^ pp_sys.c:5043:2: note: in expansion of macro 'PerlSock_endprotoent' PerlSock_endprotoent(); ^ reentr.h:896:65: error: 'REENTR {aka struct <anonymous>}' has no member named '_protoent_data' # define endprotoent() (endprotoent_r(&PL_reentrant_buffer->_protoent_data) == 0 ? 1 : 0) ^ iperlsys.h:1378:31: note: in expansion of macro 'endprotoent' #define PerlSock_endprotoent endprotoent ^ pp_sys.c:5043:2: note: in expansion of macro 'PerlSock_endprotoent' PerlSock_endprotoent(); ^ reentr.h:920:30: warning: implicit declaration of function 'endservent_r' [-Wimplicit-function-declaration] # define endservent() (endservent_r(&PL_reentrant_buffer->_servent_data) == 0 ? 1 : 0) ^ iperlsys.h:1383:30: note: in expansion of macro 'endservent' #define PerlSock_endservent endservent ^ pp_sys.c:5050:2: note: in expansion of macro 'PerlSock_endservent' PerlSock_endservent(); ^ reentr.h:920:63: error: 'REENTR {aka struct <anonymous>}' has no member named '_servent_data' # define endservent() (endservent_r(&PL_reentrant_buffer->_servent_data) == 0 ? 1 : 0) ^ iperlsys.h:1383:30: note: in expansion of macro 'endservent' #define PerlSock_endservent endservent ^ pp_sys.c:5050:2: note: in expansion of macro 'PerlSock_endservent' PerlSock_endservent(); ^ *** Error code 1 Stop. make[6]: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.14.2 *** Error code 1 Stop. make[5]: stopped in /usr/pkgsrc/lang/perl5 *** Error code 1 Stop. make[4]: stopped in /usr/pkgsrc/lang/perl5 *** Error code 1 Stop. make[3]: stopped in /usr/pkgsrc/textproc/p5-XML-Parser *** Error code 1 Stop. make[2]: stopped in /usr/pkgsrc/textproc/intltool *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/x11/alacarte *** Error code 1 Stop. make: stopped in /usr/pkgsrc/meta-pkgs/gnome 2016-04-29 0:08 GMT-07:00 Patrick Welche <pr...@cam.ac.uk>: > On Thu, Apr 28, 2016 at 06:08:04PM -0700, Charles Cui wrote: >> then I tried gnome and kde4, they have some problems in installing >> (installing package by pkg_add or >> pkgin reports packages cannot be found, and making them from sources >> generates several errors.), > > Did you see any particular gnome build error I should know about? > > Cheers, > > Patrick