ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] samba-appliance-0.5-1
Date: Wed, 1 Aug 2001 13:15:45 +0300
Message-ID: <20010801131545.G3573@pc152.belcaf.minsk.by> (raw)
In-Reply-To: <3B67D399.6912300B@zmail.ru>; from cornet@zmail.ru on Wed, Aug 01, 2001 at 02:02:01PM +0400

On Wed, Aug 01, 2001 at 02:02:01PM +0400, cornet wrote:
> Alexander Bokovoy wrote:
> > 
> skip.
> > > > pserver.samba.org, подробности -- us2.samba.org/samba/cvs.html
> > > > А заглушка -- код в Makefile.in, который на цели, которые Вы
> > > > раскомментировали, выдает "winbind в этой версии не компилируется,
> > > > возьмите версию из CVS, ветка HEAD", сразу после раскомментированного.
> > > >
> > > > Вот Вы и возьмите этот код из CVS. Правда, придется Вам повозиться,
> > > > хоть и меньше, чем с appliance.
> 
> skip.
> 
> Может я очень тупой, но я НЕ нашел у них на CVS эту ветку :-((
Ветка HEAD, это базовая, для ее получения не нужно указывать ничего,
просто cvs co.

> Может кините ссылочку через ftp ??
> За неимением лучшего взял эту ветку из samba-appliance и вот что
> получил, репорт:
> 
> $rpm -i samba-2.2.1a-alt2.src.rpm
> $rpm -bp samba.spec
> 
> Из samba-appliance-0.5.src.rpm из ветки head взял содержимое
> source/nsswitch и заменил им имеющееся в сырцах Alt.
> Привел Makefile.in вот к такому виду (фрагмент):
> 
> # line 589 #
> bin/winbindd: $(WINBINDD_OBJ) bin/.dummy
>         @echo Linking $@
>         @$(LINK) -o $@ $(WINBINDD_OBJ) $(LIBS)
> 
> nsswitch/libnss_winbind.so: $(WINBIND_NSS_PICOBJS)
>         @echo "Linking $@"
>         @$(LINK) -shared -o $@ $(WINBIND_NSS_PICOBJS)
> 
> nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
>         @echo Linking $@
>         @$(LINK) -shared -o $@ $(PAM_WINBIND_OBJ)
> 
> bin/wbinfo: $(WBINFO_OBJ) $(PARAM_OBJ) $(LIB_OBJ) $(NOPROTO_OBJ)
> $(UBIQX_OBJ) bin/.dummy
>         @echo Linking $@
>         @$(LINK) -o $@ $(WBINFO_OBJ) $(PARAM_OBJ) $(LIB_OBJ)
> $(NOPROTO_OBJ) \
>                 $(UBIQX_OBJ) $(LIBS)
> 
> nsswitch: nsswitch/libnss_wins.so nsswitch/pam_winbind.so \
>         nsswitch/libnss_winbind.so bin/wbinfo
> 
> #bin/winbindd nsswitch/libnss_winbind.so nsswitch/pam_winbind.so
> bin/wbinfo nsswitch:
> #       @echo The winbind code in this branch is not compilable. 
> Please use
> #       @echo the version in HEAD CVS instead.
> #line 613 #
> 
> $rpm -bc --short-circuit samba.spec
> 
> и вот что получаем в итоге:
> ...
> Compiling lib/messages.c
> Compiling nsswitch/wb_client.c
> nsswitch/wb_client.c:31: conflicting types for
> `winbind_lookup_name'
> include/proto.h:1629: previous declaration of
> `winbind_lookup_name'
> nsswitch/wb_client.c: In function `winbind_lookup_name':
> nsswitch/wb_client.c:45: warning: implicit declaration of
> function `winbindd_request'
> nsswitch/wb_client.c: At top level:
> nsswitch/wb_client.c:58: conflicting types for
> `winbind_lookup_sid'
> include/proto.h:1630: previous declaration of
> `winbind_lookup_sid'
> nsswitch/wb_client.c: In function `winbind_lookup_sid':
> nsswitch/wb_client.c:79: warning: passing arg 3 of
> `local_lookup_rid' from incompatible pointer type
> nsswitch/wb_client.c: At top level:
> nsswitch/wb_client.c:179: conflicting types for `lookup_name'
> include/proto.h:4315: previous declaration of `lookup_name'
> nsswitch/wb_client.c: In function `lookup_name':
> nsswitch/wb_client.c:186: warning: passing arg 4 of
> `local_lookup_name' from incompatible pointer type
> nsswitch/wb_client.c: At top level:
> nsswitch/wb_client.c:197: conflicting types for `lookup_sid'
> include/proto.h:4316: previous declaration of `lookup_sid'
> nsswitch/wb_client.c: In function `lookup_sid':
> nsswitch/wb_client.c:208: warning: passing arg 4 of
> `lookup_known_rid' from incompatible pointer type
> make: *** [nsswitch/wb_client.o] Error 1
> Bad exit status from /var/tmp/rpm-tmp.18812 (%build)
> [cornet@smart SPECS]$
Там же еще заголовки в source/include/ есть.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
"Inquiry is fatal to certainty."
-- Will Durant



  reply	other threads:[~2001-08-01 10:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31 11:46 cornet
2001-07-31 12:36 ` Alexander Bokovoy
2001-07-31 14:24   ` cornet
2001-07-31 15:00       ` cornet
2001-07-31 15:11         ` Alexander Bokovoy
2001-07-31 15:22           ` cornet
2001-07-31 15:30             ` Alexander Bokovoy
2001-08-01 10:02               ` cornet
2001-08-01 10:15                 ` Alexander Bokovoy [this message]
2001-08-01 11:56                   ` cornet
2001-08-08 18:20                     ` Alexander Bokovoy
2001-08-08 19:59                       ` cornet
2001-08-09 14:50                         ` Alexander Bokovoy
2001-08-09 18:18                           ` cornet
2001-08-10 11:56                         ` Lenya L. Khachaturov
2001-08-10 13:12                           ` [sisyphus] samba-appliance-0.5-1 domain member HOWTO cornet

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=20010801131545.G3573@pc152.belcaf.minsk.by \
    --to=a.bokovoy@sam-solutions.net \
    --cc=sisyphus@altlinux.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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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