NetBSD-Users archive

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

cannot build Emacs-23.4 using pkgsrc



Dear All of NetBSD users.

I'm now installing Emacs using Ports(or pkgsrc).
However, in the stage of installing related programs,
Falied to build the (related) program of "pcre-8.32"..
Error messages says that "NULL isn't defined...", then
I inspected errorous module "pcrecpp.cc", but it seems to
correctly include "stdio.h", which defines NULL symbol.

If it's written in C, I can read & correct problematic statements,
However, it's written in C++. I'm NOT familier with C++.
Does anyone have any solutions or ways to do with this problem?

Phony%oasis.ocn.ne.jp@localhost from Japan.

=> Bootstrap dependency digest>=20010302: found digest-20021220
===> Checking for vulnerabilities in emacs-23.4nb10
=> Checksum SHA1 OK for emacs-23.4.tar.gz
=> Checksum RMD160 OK for emacs-23.4.tar.gz
===> Installing dependencies for emacs-23.4nb10
==========================================================================
The supported build options for emacs are:

dbus gtk motif nextstep svg x11 xaw xft2

The currently selected options are:

dbus gtk svg x11 xft2

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

PKG_OPTIONS.emacs (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
emacs-23.4nb10.  Their current value is shown below:

       * GAMEDATAMODE = 664
       * GIFLIB_IMPLEMENTATION = giflib
       * JPEG_DEFAULT = jpeg
       * VARBASE = /var

Based on these variables, the following variables have been set:

       * JPEGBASE (defined, but empty)
       * JPEG_TYPE = jpeg

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 gmake>=3.81: found gmake-3.82nb5
=> Build dependency pkg-config>=0.25: found pkg-config-0.27.1
=> Build dependency x11-links>=0.71: found x11-links-0.71
=> Full dependency dbus>=0.91: found dbus-1.6.8
=> Full dependency librsvg>=2.36.2nb4: NOT found
=> Verifying package-install for ../../graphics/librsvg
=> Bootstrap dependency digest>=20010302: found digest-20021220
===> Checking for vulnerabilities in librsvg-2.36.4
=> Checksum SHA1 OK for librsvg-2.36.4.tar.xz
=> Checksum RMD160 OK for librsvg-2.36.4.tar.xz
===> Installing dependencies for librsvg-2.36.4
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency pkg-config>=0.25: found pkg-config-0.27.1
=> Build dependency x11-links>=0.71: found x11-links-0.71
=> Full dependency glib2>=2.34.0: NOT found
=> Verifying package-install for ../../devel/glib2
=> Bootstrap dependency digest>=20010302: found digest-20021220
===> Checking for vulnerabilities in glib2-2.34.3
=> Checksum SHA1 OK for glib-2.34.3.tar.xz
=> Checksum RMD160 OK for glib-2.34.3.tar.xz
===> Installing dependencies for glib2-2.34.3
==========================================================================
The supported build options for glib2 are:

kqueue

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

PKG_OPTIONS.glib2 (not defined)

==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb8
=> Build dependency gmake>=3.81: found gmake-3.82nb5
=> Build dependency pkg-config>=0.25: found pkg-config-0.27.1
=> Full dependency perl>=5.0: found perl-5.8.5nb2
=> Full dependency libelf>=0.8.5: found libelf-0.8.13
=> Full dependency pcre>=8.30nb1: NOT found
=> Verifying package-install for ../../devel/pcre
=> Bootstrap dependency digest>=20010302: found digest-20021220
===> Checking for vulnerabilities in pcre-8.32
===> Building for pcre-8.32
/usr/bin/make  all-am
 CXX    libpcrecpp_la-pcrecpp.lo
In file included from pcrecpp.h:338:0,
                from pcrecpp.cc:48:
./pcre_stringpiece.h: In constructor 'pcrecpp::StringPiece::StringPiece()':
./pcre_stringpiece.h:71:12: error: 'NULL' was not declared in this scope
./pcre_stringpiece.h: In member function 'void pcrecpp::StringPiece::clear()':
./pcre_stringpiece.h:92:25: error: 'NULL' was not declared in this scope
In file included from pcrecpp.cc:48:0:
pcrecpp.h: In constructor 'pcrecpp::RE::RE(const std::string&)':
pcrecpp.h:491:37: error: 'NULL' was not declared in this scope
pcrecpp.h: In constructor 'pcrecpp::RE::RE(const char*)':
pcrecpp.h:493:35: error: 'NULL' was not declared in this scope
pcrecpp.h: In constructor 'pcrecpp::RE::RE(const unsigned char*)':
pcrecpp.h:496:46: error: 'NULL' was not declared in this scope
pcrecpp.cc: At global scope:
pcrecpp.cc:59:23: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'void pcrecpp::RE::Init(const std::string&, const pcrecpp::RE_Options*)':
pcrecpp.cc:85:18: error: 'NULL' was not declared in this scope
pcrecpp.cc:91:14: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'void pcrecpp::RE::Cleanup()':
pcrecpp.cc:101:19: error: 'NULL' was not declared in this scope
pcrecpp.cc:102:22: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'pcre* pcrecpp::RE::Compile(pcrecpp::RE::Anchor)':
pcrecpp.cc:134:49: error: 'NULL' was not declared in this scope
pcrecpp.cc:142:49: error: 'NULL' was not declared in this scope
pcrecpp.cc:144:13: error: 'NULL' was not declared in this scope
pcrecpp.cc: In function 'int pcrecpp::NewlineMode(int)':
pcrecpp.cc:376:7: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'int pcrecpp::RE::TryMatch(const pcrecpp::StringPiece&, int, pcrecpp::RE::Anchor, bool, int*, int) const':
pcrecpp.cc:509:13: error: 'NULL' was not declared in this scope
pcrecpp.cc:535:38: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'bool pcrecpp::RE::DoMatchImpl(const pcrecpp::StringPiece&, pcrecpp::RE::Anchor, int*, const pcrecpp::Arg* const*, int, int*, int) const':
pcrecpp.cc:575:25: error: 'NULL' was not declared in this scope
pcrecpp.cc: In member function 'int pcrecpp::RE::NumberOfCapturingGroups() const':
pcrecpp.cc:649:22: error: 'NULL' was not declared in this scope
pcrecpp.cc:653:35: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_null(const char*, int, void*)':
pcrecpp.cc:664:19: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_string(const char*, int, void*)':
pcrecpp.cc:668:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_stringpiece(const char*, int, void*)':
pcrecpp.cc:674:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_char(const char*, int, void*)':
pcrecpp.cc:681:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_uchar(const char*, int, void*)':
pcrecpp.cc:688:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_long_radix(const char*, int, void*, int)':
pcrecpp.cc:737:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_ulong_radix(const char*, int, void*, int)':
pcrecpp.cc:755:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_short_radix(const char*, int, void*, int)':
pcrecpp.cc:767:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_ushort_radix(const char*, int, void*, int)':
pcrecpp.cc:779:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_int_radix(const char*, int, void*, int)':
pcrecpp.cc:791:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_uint_radix(const char*, int, void*, int)':
pcrecpp.cc:803:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_longlong_radix(const char*, int, void*, int)':
pcrecpp.cc:833:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_ulonglong_radix(const char*, int, void*, int)':
pcrecpp.cc:865:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_double(const char*, int, void*)':
pcrecpp.cc:883:15: error: 'NULL' was not declared in this scope
pcrecpp.cc: In static member function 'static bool pcrecpp::Arg::parse_float(const char*, int, void*)':
pcrecpp.cc:891:15: error: 'NULL' was not declared in this scope
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/devel/pcre/work/pcre-8.32
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/devel/pcre/work/pcre-8.32
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/devel/pcre
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/devel/glib2
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/graphics/librsvg
*** Error code 1

Stop.
make: stopped in /usr/local/pkgsrc/editors/emacs


Home | Main Index | Thread Index | Old Index