Subject: gnome & php4-xslt in pkgsrc.tar.gz - help please
To: NetBSD, tech-pkg <tech-pkg@netbsd.org>
From: Robert Cates <robert@kormar.net>
List: tech-pkg
Date: 07/20/2005 21:51:52
This is a multi-part message in MIME format.

------=_NextPart_000_0106_01C58D75.3D47E8A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

gnome (i.e. gnome2-media) & php4-xslt in the newest (as of a day or two ago)
pkgsrc.tar.gz will not build!  Is anybody looking into this, and fixing it,
so us novice users can build these packages?  Oh, the platform is NetBSD
/i386, if that matters, and I completely removed my /usr/pkgsrc directory
and started over with the new pkgsrc.tar.gz.

The attached 'gnome2-media.txt' file has the last part of the
gnome-media-2.10.2 build process, and seems to me to have something to do
with cdparanoia.  When I did a 'make update' for cdparanoia there were also
errors but they have to do with my KDE 3.4.1 installation.  Which I think is
wrong, because if I have the newest version of KDE already installed, I see
no reason why updating cdparanoia (which by-the-way I believe also had no
reason to be updated) should have to deinstall and try to rebuild KDE again.

As far as php4-xslt goes, it bombs out at a point where it thinks Sablotron
is NOT installed, but it is, and at it's newest version (and there's
something to do with iconv not being installed, but it is).  Again, there's
no need to build Sablotron, it's already installed, and so are the iconv
libraries libiconv-1.9.2nb1 and php-iconv-4.3.11.  Attached is a file
'php4-xslt.txt' with the build process.

Could all of this have something to do with my shared library path not set
(LIBDIR), at all, or  incorrectly?  Where do you set the shared library path
(because I saw messages in the build process about using shared libraries)?

Thanks in advance for all help!
Robert

------=_NextPart_000_0106_01C58D75.3D47E8A0
Content-Type: text/plain;
	name="gnome2-media.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="gnome2-media.txt"

a/gnome2-media/work/.buildlink/lib -Wl,--rpath -Wl,/usr/pkg/lib
gst-cdparanoia-cdrom.o(.text+0x14ba): In function =
`gst_cdparanoia_cdrom_get_status':
: undefined reference to `lrint'
gmake[3]: *** [gnome-cd] Error 1
gmake[3]: Leaving directory =
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2/gnome-cd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory =
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2/gnome-cd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory =
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2'
gmake: *** [all] Error 2
*** Error code 2
=20
Stop.
make: stopped in /usr/pkgsrc/multimedia/gnome2-media
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * log of the build
=3D=3D=3D>      * /usr/pkgsrc/multimedia/gnome2-media/work/.work.log
=3D=3D=3D>=20
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/multimedia/gnome2-media


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -o root -g wheel -m 0644 ./utils.h =
/usr/pkg/include/cdparanoia
=3D=3D=3D> [Automatic ELF shared object handling]
=3D=3D=3D> Registering installation for cdparanoia-3.0.9.8nb2
=3D=3D=3D> Installing in multimedia/kdemultimedia3
=3D=3D=3D> Deinstalling for kdemultimedia
-u: not found
-u: not found
make: exec(-f) failed (No such file or directory)
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/multimedia/kdemultimedia3
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/multimedia/kdemultimedia3
=3D=3D=3D> Installing in misc/kdeaddons3
=3D=3D=3D> Deinstalling for kdeaddons
-u: not found
-u: not found
make: exec(-f) failed (No such file or directory)
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/misc/kdeaddons3
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/misc/kdeaddons3
=3D=3D=3D> Installing in meta-pkgs/kde3
=3D=3D=3D> Deinstalling for kde
=3D=3D=3D> Checking for vulnerabilities in kde-3.4.1
=3D=3D=3D> Extracting for kde-3.4.1
=3D=3D=3D> Required installed package kdelibs-3.4.1{,nb[0-9]*}: =
kdelibs-3.4.1 found
=3D=3D=3D> Required installed package kdeaccessibility-3.4.1{,nb[0-9]*}: =
kdeaccessibility-3.4.1 found
=3D=3D=3D> Required installed package kdeartwork-3.4.1{,nb[0-9]*}: =
kdeartwork-3.4.1 found
=3D=3D=3D> Required package kdeaddons-3.4.1{,nb[0-9]*}: NOT found
=3D=3D=3D> Verifying update for ../../misc/kdeaddons3
------=_NextPart_000_0106_01C58D75.3D47E8A0
Content-Type: text/plain;
	name="php4-xslt.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="php4-xslt.txt"

=3D=3D=3D> Checking for vulnerabilities in php-xslt-4.3.11
=3D> Checksum SHA1 OK for php-4.3.11.tar.bz2.
=3D> Checksum RMD160 OK for php-4.3.11.tar.bz2.
=3D=3D=3D> Extracting for php-xslt-4.3.11
=3D=3D=3D> Required installed package php-4.3.*: php-4.3.11 found
=3D=3D=3D> Required installed package php>=3D4.3.11: php-4.3.11 found
=3D=3D=3D> Required installed package sablotron>=3D1.0.1nb1: =
sablotron-1.0.2 found
=3D=3D=3D> Required installed package expat>=3D1.95.8nb2: =
expat-1.95.8nb2 found
=3D=3D=3D> Required installed package libtool-base>=3D1.5.18nb1: =
libtool-base-1.5.18nb3 found
=3D=3D=3D> Required installed package automake>=3D1.9: automake-1.9.5 =
found
=3D=3D=3D> Required installed package autoconf>=3D2.58: autoconf-2.59nb1 =
found
=3D=3D=3D> Patching for php-xslt-4.3.11
=3D=3D=3D> Overriding tools for php-xslt-4.3.11
=3D=3D=3D> Creating toolchain wrappers for php-xslt-4.3.11
=3D=3D=3D> Configuring for php-xslt-4.3.11
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
/usr/pkg/share/aclocal/pth.m4:43: warning: underquoted definition of =
_AC_PTH_ERROR
  run info '(automake)Extending aclocal'
  or see =
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/pkg/share/aclocal/pth.m4:55: warning: underquoted definition of =
_AC_PTH_VERBOSE
/usr/pkg/share/aclocal/pth.m4:61: warning: underquoted definition of =
AC_CHECK_PTH
/usr/pkg/share/aclocal/libmcrypt.m4:17: warning: underquoted definition =
of AM_PATH_LIBMCRYPT
/usr/pkg/share/aclocal/libIDL.m4:6: warning: underquoted definition of =
AM_PATH_LIBIDL
/usr/pkg/share/aclocal/gtk.m4:7: warning: underquoted definition of =
AM_PATH_GTK
/usr/pkg/share/aclocal/glib.m4:8: warning: underquoted definition of =
AM_PATH_GLIB
/usr/pkg/share/aclocal/audiofile.m4:12: warning: underquoted definition =
of AM_PATH_AUDIOFILE
/usr/pkg/share/aclocal/aalib.m4:12: warning: underquoted definition of =
AM_PATH_AALIB
/usr/pkg/share/aclocal/ORBit.m4:4: warning: underquoted definition of =
AM_PATH_ORBIT
configure: WARNING: If you wanted to set the --build type, don't use =
--host.
    If a cross compiler is detected then cross compile mode will be =
used.
checking build system type... i386-unknown-netbsdelf2.0.2
checking host system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...=20
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/pkg
checking for PHP includes... -I/usr/pkg/include/php =
-I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM =
-I/usr/pkg/include/php/Zend
checking for PHP extension directory... /usr/pkg/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... /usr/bin/awk
checking whether to enable xslt support... yes, shared
checking for XSLT Sablotron backend... /usr/pkg
checking for libexpat dir for Sablotron XSL support... /usr/pkg
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for sablot-config... found
checking for Sablotron version... >=3D 0.96
configure: error: iconv not found. To build sablotron you need the iconv =
library.
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/textproc/php4-xslt
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``configure'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * config.log
=3D=3D=3D>      * /usr/pkgsrc/textproc/php4-xslt/work/.work.log
=3D=3D=3D>=20
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/textproc/php4-xslt
------=_NextPart_000_0106_01C58D75.3D47E8A0--