On Wed, 5 May 2004, Thomas Lotterer wrote:
> On Wed, May 05, 2004, Mike's List wrote:
>
> Dear Mike,
>
> > My system is Debian 3.0 with base installation. I'm testing some
> > openpkg packages via compiling and it fails. I then proceed with
> > "apt-get install build-essential" to install this package. Once done,
> > compiling openpkg packages work.
> >
> OpenPKG is very much self contained. That means it uses it's own
> development aka build tools. There is of course a chicken-egg problem:
> when you build OpenPKG from source you need development tools without
> having OpenPKG already in place. There are two options here: use the
> tools that come with your OS (if any) or start with a OpenPKG binary
> (same or different instance). You picked the first option which is
> perfectly valid. The minimum requirements for OpenPKG 2.0 are the
> availability of make, tar and cc (not necessarily GNU) where OpenPKG 1.x
> additionally needed uudecode. You can reproduce our setup by reviewing
> our "Operating System Prerequisites" [1] logs for OpenPKG 2.0 release
> engineering.
>
> [1] http://cvs.openpkg.org/getfile?f=openpkg-re/osprereq.txt
Actually, I used the second option, installing all the binaries for
Debian 3.0. But there's no binary for imapd, so I decided to compile
from the src.rpm. I received the following error:
+ ./configure --cache-file=./cache.config --prefix=/openpkg
--sysconfdir=/openpkg/etc/imapd --with-openssl=/openpkg
--with-dbdir=/openpkg --with-sasl=/openpkg
--with-statedir=/openpkg/var/imapd --with-auth=unix --without-libwrap
--with-perl --without-ucdsnmp --with-cyrus-prefix=/openpkg
--with-cyrus-user=openpkg-r --with-cyrus-group=openpkg-r
configure: creating cache ./cache.config
checking build system type... configure: error: cannot guess build type;
you must specify one
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.84420 (%build)
RPM build errors:
Bad exit status from /openpkg/RPM/TMP/rpm-tmp.84420 (%build)
I thought OpenPKG is self-contain, but I keep re-attempt and the
same error shows up. I went into #debian on IRC, someone recommended
"build-essential" and *bam* imapd starts to compile. So apparently
OpenPKG looks for some necessary library/headers to determine the
build? (I'll attempt to de-install build-essential and install each
packages individually and see if I can determine which specific file).
The reason I'm more focus on Debian base installation and Solaris
core installation is due to security, ie. I don't want to install
un-necessary packages onto on OS if you don't need to.
Regards,
- Mike
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]