Re: compile failure (Mandrake)



On Tue, 2003-09-02 at 11:01, guenther wrote:
> > > > Try installing the samba-server. ???
> > > 
> > > I just installed every samba-* packages available, with no success.
> > > 
> > > # rpm -q --whatprovides libsmbclient.h
> > > no package provides libsmbclient.h
> > 
> > Actually the command you used is incorrect...it should be.
> > # rpm -q --whatprovides /usr/include/libsmbclient.h
> >
> > RPM requires the full path of the file you're looking for...(lame I
> > know) but that's how it works.
> 
> Oh, good to know. Tried that before.
> 
> Just to make sure I tried without full path. Cross checked with 'bash',
> if it works even without the path. That actually worked. Stupid
> assumption by me -- obviously from another test right now it found the
> package, not the file... :-/
> 
> 
> > But anyway, I looked at the Mandrake-9.1 samba pkg's and you're right,
> > there is no libsmbclient.h. You should report this as a bug to Mandrake.
> 
> Well, so there is no solution by Mandrake packages. :-(
> 
> 
> So I will have to prune gnome-vfs-extras (I assume this won't work
> without other dependency issues) or use the sources.
> 
> As I wrote in another mail, I have the source rpm and thus the sources.
> I just don't know, where to put it -- or, even better, how to configure
> the Makefile to point to another extra source directory.
> 
> Any make gurus in here? ;-)

If you have the source then just cp the libsmbclient.h file into
/usr/include

That should work.

I assume that if all Mandrake users need is the header file then we
could just include the libsmbclient.h file in the garball and add this
to gnome-vfs-extras:

pre-extract:
	@cp files/libsmbclient.h $(includedir)/

Bob

> ...guenther
> 
> 
> -- 
> char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
> main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
> (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
-- 
Bob Kashani




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