[Kolab-devel] [issue1809] apache-php compilation fails on Solaris 10 Sparc: db4 not found

ComCept Soliva soliva at comcept.ch
Fri Jun 6 05:19:50 CEST 2008


Hello

I performed a new test which shows that the issue with db4 can really be
solved with the option within db.spec --enable-shared=yes and all runs fine
until package "php-channel-horde-1.0". Below the details what was done etc.


# chmod -R 777 /kolabtmp


# cd /kolabtmp


ATTENTION Replace all entries below in "install-kolab.sh" with:
********* 
		PLATTAG="sparc64-solaris10-kolab"


PLATTAG=`sh "$INSTALL" -t | tar xf - -O shtool | sh -s platform
--type=binary`-$TAG



# sh -x install-kolab.sh -H -F 2>&1 | tee kolab-install-06:36:41.log

compilation beginns and ends at:

checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for db4 major version... configure: error: Header contains
different version
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.21846 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.21846 (%build)
+ exit 1 

Workaround/Solution which solved db4 issue:

# /kolab/bin/openpkg rpm -iv db-4.5.20.2-20070628.src.rpm
# cd /kolab/RPM/SRC/db
# vi db.spec

NOTE I changed only from "--disable-shared to enable-shared=yes" nothing
else was touched

---------------------------------------
%endif
        --disable-java \
        --with-mutex="$mutex" \
        --enable-shared=yes
---------------------------------------


# /kolab/bin/openpkg rpmbuild -bb /kolab/RPM/SRC/db/db.spec
# /kolab/bin/openpkg rpm --force -Uvh
/kolab/RPM/PKG/db-4.5.20.2-20070628.sparc64-solaris10-kolab.rpm

# ls -la /kolab/include/db*
-r--r--r--   1 kolab    kolab     102110 Jun  1 08:29 /kolab/include/db.h

# ls -la /kolab/lib/libdb*
-rw-r--r--   1 kolab    kolab        797 Jun  1 08:35
/kolab/lib/libdb-4.5.la
-rwxr-xr-x   1 kolab    kolab    1107353 Jun  1 08:35
/kolab/lib/libdb-4.5.so
lrwxrwxrwx   1 kolab    kolab         12 Jun  1 08:36 /kolab/lib/libdb-4.so
-> libdb-4.5.so
-rw-r--r--   1 kolab    kolab    1451462 Jun  1 08:35 /kolab/lib/libdb.a
lrwxrwxrwx   1 kolab    kolab         12 Jun  1 08:36 /kolab/lib/libdb.so ->
libdb-4.5.so


rm -rf /kolab/RPM/TMP/*
rm -rf /kolab/RPM/SRc/*

/kolab/bin/openpkg rpm -e apache-2.2.8-20080118
/kolab/bin/openpkg rpm -e apache-php-5.2.6-20080514_kolab
/kolab/bin/openpkg rpm -e php-5.2.6-20080514_kolab

rm /kolab/RPM/PKG/apache-2.2.8-20080118.sparc64-solaris10-kolab.rpm
rm
/kolab/RPM/PKG/apache-php-5.2.6-20080514_kolab.sparc64-solaris10-kolab.rpm
rm /kolab/RPM/PKG/php-5.2.6-20080514_kolab.sparc64-solaris10-kolab.rpm


Starting again the compilation (log of compilation attached to the mail):

# sh -x install-kolab.sh -H -F 2>&1 | tee kolab-install-18:29:27.log

compilation beginns again and ends at:

:::: /kolabtmp/kolabd-2.1.99-20080521.src.rpm ::::
Preparing...
##################################################
kolabd
##################################################
Installing crontab entry
crontab: illegal option -- u
crontab: proper usage is: 
	crontab [file | -e | -l | -r ] [user]
crontab: proper usage is: 
	crontab [file | -e | -l | -r ] [user]
For a fresh install please initialize Kolab by running
'/kolab/etc/kolab/kolab_bootstrap -b' as user root.
If you upgraded from a previous version simply refresh Kolab by running run
'/kolab/sbin/kolabconf' as user root.
In every case execute '/kolab/bin/openpkg rc kolabd restart' as user root.
:::: /kolabtmp/kolabd-2.1.99-20080521.src.rpm = 0 ::::
:::: /kolabtmp/php-channel-horde-1.0-1.src.rpm ::::
Installing /kolabtmp/php-channel-horde-1.0-1.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.13348
+ cd /kolab/RPM/TMP
+ set +x
+----------------------------------Warning----------------------------------
--+
| This OpenPKG package is of class JUNK.
|
| This means it is still in DEVELOPMENT state.
|
| Hence it is still NOT ready even for general evaluation.
|
| Do not use it at all, except in development environments!
|
| It is definitely unstable and incompletely packaged.
|
+---------------------------------------------------------------------------
--+
+ cd /kolab/RPM/TMP
+ rm -rf php-channel-horde-1.0
+ /kolab/lib/openpkg/shtool mkdir -f -p -m 755 -p php-channel-horde-1.0
+ cd php-channel-horde-1.0
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.30186
+ cd /kolab/RPM/TMP
+ cd php-channel-horde-1.0
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile
--posix -e /kolab/RPM/TMP/rpm-tmp.30186
+ cd /kolab/RPM/TMP
+ cd php-channel-horde-1.0
+ rm -rf /kolab/RPM/TMP/php-channel-horde-1.0-root
+ mkdir -p /kolab/RPM/TMP/php-channel-horde-1.0-root/kolab/var/pear
+ install -pm 644 /kolab/RPM/SRC/php-channel-horde/channel.xml
/kolab/RPM/TMP/php-channel-horde-1.0-root/kolab/var/pear/pear.horde.org.xml
find: stat() error 644: No such file or directory
find: stat() error
/kolab/RPM/TMP/php-channel-horde-1.0-root/kolab/var/pear/pear.horde.org.xml:
No such file or directory
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cannot follow symbolic link /usr/lib/llib-lgen: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnvpair.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermlib: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsec.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lumem: No such file or
directory
find: cannot follow symbolic link /usr/lib/libmeta.so.1: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsendfile: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsendfile.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-lrtld_db.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lresolv.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsec: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-luuid: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lrt.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldoor: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lposix4: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lrt: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lscf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcurses: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lrtld_db.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lrt.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcurses.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lefi.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcontract.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lintl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-laio.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevid.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermcap: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lpam.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lelf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ltsnet.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lthread_db.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermlib.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lpthread.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ldl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lgen.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lctf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lthread.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermlib: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevice.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lposix4.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lscf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lkstat.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lsendfile.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lsocket.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lc.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsec.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldoor.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsecdb.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltsol.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lumem.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsysevent.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lbsm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ladm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevinfo.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lnsl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermcap.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lnvpair.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lmd5.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lxnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcmd.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lresolv.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-luuid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lc.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnsl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermcap: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lc: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcmd.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsysevent.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-lmd5.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lintl: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsecdb.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpthread.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermlib.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lbsm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsocket: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevinfo: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lkstat.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ladm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lintl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsecdb: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsocket.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsysevent: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lctf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcontract: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lposix4.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lxnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lrtld_db: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevice.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcontract.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-luuid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ladm: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevice: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lkstat: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcurses: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread_db: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lumem.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lefi.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lscf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-laio.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lefi: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltsnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lgen.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpthread: No such file or
directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcurses: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lrtld_db.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lrt.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcurses.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lefi.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcontract.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lintl.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-laio.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevid.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermcap: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lpam.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lelf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltsnet.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lthread_db.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermlib.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lpthread.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldl.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lgen.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lctf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lthread.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermlib: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevice.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lposix4.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lscf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lkstat.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsendfile.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsocket.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lc.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsec.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldoor.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsecdb.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltsol.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lumem.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsysevent.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lbsm.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ladm.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevinfo.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lnsl.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermcap.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lnvpair.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lmd5.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lxnet.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcmd.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lresolv.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-luuid.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/llib-lelf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lctf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltsol.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lbsm: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread_db.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-ldoor.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevid: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevinfo.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/libmeta.so: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermcap.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-laio: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lelf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpam.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcurses.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnvpair: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lmd5: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnsl: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcmd: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpam: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lresolv: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lxnet: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldl: No such file or
directory
install: -pm was not found anywhere!
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.30186 (%install)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.30186 (%install)
+ exit 1 


What is here going wrong...why bootstrap is performed and afterwards again a
package is installed etc.?

kind regards

Andrea Soliva

Mail: soliva at comcept.ch 




More information about the devel mailing list