I was trying to use 'openpkg build' to build apache2 with:
"-D apache2::with_suexec_caller=opkg-n -D apache2::wi
th_mod_ssl -D apache2::with_mod_dav -D apache2::with_mod_ldap -D
apache2::with_mod_perl -D apache2::with_shared_core "
(also tried *without* apache2::with_shared_core ).
and expat gets pulled in in as a dependency in both cases, but it doesn't
install:
------------------------------------------------------------------
Executing(%prep): env -i /export/apps/opkg/2.x/lib/openpkg/bash --norc
--noprofile --posix -e /export/apps/opkg/2.x/RPM/TMP/
rpm-tmp.13402
+ cd /export/apps/opkg/2.x/RPM/TMP
+ cd /export/apps/opkg/2.x/RPM/TMP
+ rm -rf expat-2.0.0
+ /export/apps/opkg/2.x/lib/openpkg/gzip -dc
/export/apps/opkg/2.x/RPM/SRC/expat/expat-2.0.0.tar.gz
+ /export/apps/opkg/2.x/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd expat-2.0.0
+ exit 0
Executing(%build): env -i /export/apps/opkg/2.x/lib/openpkg/bash --norc
--noprofile --posix -e /export/apps/opkg/2.x/RPM/TMP
/rpm-tmp.13402
+ cd /export/apps/opkg/2.x/RPM/TMP
+ cd expat-2.0.0
+ CC=/export/apps/opkg/2.x/bin/cc
+ CFLAGS='-O2 -pipe'
+ INSTALL='/export/apps/opkg/2.x/lib/openpkg/shtool install -c'
+ ./configure --prefix=/export/apps/opkg/2.x --disable-shared
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for gcc... /export/apps/opkg/2.x/bin/cc
checking for C compiler default output file name... a.out
.
.
.
/export/apps/opkg/2.x/lib/openpkg/shtool install -c .libs/libexpat.a
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/a
pps/opkg/2.x/lib/libexpat.a
chmod 644
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/lib/libexpat.a
ranlib
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/lib/libexpat.a
libtool: install: warning: remember to run `libtool --finish
/export/apps/opkg/2.x/lib'
for FN in ./lib/expat.h ./lib/expat_external.h ; do
/export/apps/opkg/2.x/lib/openpkg/shtool install -c -m 644 $FN /export/a
pps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/include ; done
/bin/bash ./conftools/mkinstalldirs
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/bin
/export/apps/opk
g/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/man/man1
mkdir
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/bin
mkdir
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/man
mkdir
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/man/man1
/bin/bash ./libtool --mode=install
/export/apps/opkg/2.x/lib/openpkg/shtool install -c xmlwf/xmlwf
/export/apps/opkg/2.x/RPM
/TMP/expat-2.0.0-root/export/apps/opkg/2.x/bin/xmlwf
/export/apps/opkg/2.x/lib/openpkg/shtool install -c xmlwf/xmlwf
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/o
pkg/2.x/bin/xmlwf
/export/apps/opkg/2.x/lib/openpkg/shtool install -c -m 644 ./doc/xmlwf.1
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/expo
rt/apps/opkg/2.x/man/man1
+ strip
/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root/export/apps/opkg/2.x/bin/xmlwf
+ /export/apps/opkg/2.x/lib/openpkg/rpmtool files -v -ofiles
-r/export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root '%defattr(-,op
kg,opkg)' /export/apps/opkg/2.x '%not %dir
{/export/apps/opkg/2.x,/export/apps/opkg/2.x/*,/export/apps/opkg/2.x/etc/rc.d,/ex
port/apps/opkg/2.x/man/*}'
rpmtool:files: pass 1 (preparation and syntactical expansions)
rpmtool:files: pass 2 (filesystem-based expansions)
rpmtool:files: pass 3 (duplication removal and cleanup)
+ exit 0
Processing files: expat-2.0.0-2.20061018
Wrote:
/export/apps/opkg/2.x/RPM/PKG/expat-2.0.0-2.20061018.sparc64-solaris8-exportapps.rpm
Executing(%clean): env -i /export/apps/opkg/2.x/lib/openpkg/bash --norc
--noprofile --posix -e /export/apps/opkg/2.x/RPM/TMP
/rpm-tmp.2440
+ cd /export/apps/opkg/2.x/RPM/TMP
+ cd expat-2.0.0
+ rm -rf /export/apps/opkg/2.x/RPM/TMP/expat-2.0.0-root
+ exit 0
Executing(--clean): env -i /export/apps/opkg/2.x/lib/openpkg/bash --norc
--noprofile --posix -e /export/apps/opkg/2.x/RPM/TM
P/rpm-tmp.2440
+ cd /export/apps/opkg/2.x/RPM/TMP
+ rm -rf expat-2.0.0
+ exit 0
Preparing...
##################################################
file /export/apps/opkg/2.x/lib/libexpat.a from install of
expat-2.0.0-2.20061018 conflicts with file from package subversion-1.4.0-2.20061018
file /export/apps/opkg/2.x/lib/libexpat.la from install of
expat-2.0.0-2.20061018 conflicts with file from package subversion-1.4.0-2.20061018
------------------------------------------------------------------
How can I get around this?
Thanks,
--
VK
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org