ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Volkov Serge" <vserge@menatepspb.msk.ru>
To: ALT-DEVEL <devel@altlinux.ru>
Subject: [devel] ПОЖАЛУЙСТА !!!! Объясните разницу
Date: Thu, 30 Aug 2001 10:27:49 +0400
Message-ID: <20010830102749.43bc3cd9.vserge@menatepspb.msk.ru> (raw)

Добрый день

Не могу понять разницу.
два варианта сборки
1) берем исходники в архиве с сайта OpenLDAP 
2) берем исходники и ладем их в RPM

Затем для первого варианта даем следующую последовательность для сборки
autoheader
autoconf 
env FFLAGS="-pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686" CXXFLAGS="-pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686" CFLAGS="-pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -DLDAP_DEBUG" ./configure i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --without-included-gettext --enable-passwd --enable-shell --enable-wrappers --disable-rlookups --without-kerberos --datadir=/usr/share/openldap --libexecdir=/usr/sbin --localstatedir=/var/run --enable-shared --enable-static --disable-ipv6 --with-readline --with-threads --enable-slapd --enable-crypt --enable-syslog --enable-proctitle --enable-ldbm --enable-debug
make depend
make

Для вторго варианта в спеке указываем 
autoheader
autoconf
export CPPFLAGS="$CPPFLAGS -DLDAP_DEBUG" 
%configure \
	--enable-passwd \
	--enable-shell \
	--enable-wrappers \
	--disable-rlookups \
	--without-kerberos \
	--datadir=%_datadir/%name \
	--libexecdir=%_sbindir \
	--localstatedir=/var/run \
	--enable-shared \
	--enable-static \
	--disable-ipv6 \
	--with-readline \
	--with-threads \
	--enable-slapd \
	--enable-crypt \
	--enable-syslog \
	--enable-proctitle \
	--enable-ldbm \
	--enable-debug
%make depend 

%make_build

РЕЗУЛЬТАТ

1) Запускаем  # slapd 
все OK никаких сообщений о core 
2) ставим пакет и руками запускаем /usr/sbin/slapd
(core dumped)

Объясните, пожалуйста в чем разница в сборке ??? ключи для компилятора брал из выходного потока при сборке rpm
-- 
With best wishes, Volkov Serge		
Network Administrator/Security Administrator 		
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


             reply	other threads:[~2001-08-30  6:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-30  6:27 Volkov Serge [this message]
2001-08-30 13:40 ` Anton Farygin
2001-08-30 12:45   ` Volkov Serge
2001-08-30 16:13     ` Anton Farygin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010830102749.43bc3cd9.vserge@menatepspb.msk.ru \
    --to=vserge@menatepspb.msk.ru \
    --cc=devel@altlinux.ru \
    --cc=devel@linux.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git