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

Re: [cobalt-developers] Raq550 & Perl & GDBM



Hi Michael:

> Download the SRPM from ftp.cobalt.com and in the .spec file leave out the
> patch #2. You can simply comment out that line in the %setup section.

> Then rebuild the RPM. You will have to force the install of the RPM which it
> builds, so distribution of that RPM as PKG file will be kinda tricky.

> However: BEFORE you install the new RPM make sure that POP-before-SMTP is
> enabled. If it isn't, then it could be that /usr/local/sbin/poprelayd fails
> to create the database /etc/mail/popip.db

> I noticed that if the db is initialized before the new Perl-RPM is installed,
> then POP-before-SMTP can access it fine afterwards.

Thanks for the guidelines...

I tried and this errors happend:

- Only jbj patch on gdbm SRPM. I commented as you told.
- When execute the command

[root redhat]# rpm -bi SPECS/gdbm.spec

Ends with next error:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.40624
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf gdbm-1.8.0
+ /bin/gzip -dc /usr/src/redhat/SOURCES/gdbm-1.8.0.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gdbm-1.8.0
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40624
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd gdbm-1.8.0
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ export CFLAGS
+ CXXFLAGS=-O2 -m486 -fno-strength-reduce
+ export CXXFLAGS
+ FFLAGS=-O2 -m486 -fno-strength-reduce
+ export FFLAGS
+ '[' -f configure.in ']'
+ libtoolize --copy --force
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
+ ./configure
i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --in
cludedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/man -
-infodir=/usr/info
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -m486 -fno-strength-reduce ) works... yes
checking whether the C compiler (gcc -O2 -m486 -fno-strength-reduce ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... i386-redhat-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for working const... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/file.h... yes
checking for unistd.h... yes
checking for fcntl.h... yes
checking for sys/types.h... yes
checking for memory.h... yes
checking for main in -ldbm... no
checking for main in -lndbm... no
checking for rename... yes
checking for ftruncate... yes
checking for flock... yes
checking for bcopy... yes
checking for fsync... yes
checking for getopt... yes
checking for ANSI C header files... yes
checking for off_t... yes
checking for st_blksize in struct stat... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoconf.h
+ make includedir=/usr/include/gdbm
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -O dbminit.c
mkdir .libs
gcc -c -I. -I. -O dbminit.c  -fPIC -DPIC
mv -f  .libs/dbminit.lo
mv: missing file argument
Try `mv --help' for more information.
make: *** [dbminit.lo] Error 1
Bad exit status from /var/tmp/rpm-tmp.40624 (%build)

Seems rpm try to do a "mv" without target. I don't understand where correct that.

Thanks and best regards...

Gines

PS: Sorry for my english... again.
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers