Well I got that last bug but now I have another.
This last line in my rpmmacros file is causing trouble:

# Where scripts are found (like find-requires-nonvidia)
%_my_bindir             /lclusr/jim/bin
%_my_rpmdir             /lclusr/jim/rpm
...
%__find_requires        %{_my_bindir}/find-requires-nonvidia %{?buildroot:%{buildroot}}

As far as I can tell there is no "find-requires-nonvidia" anywhere. I tried scanning the rpm database for such a file and none exists, installed or otherwise. I also did searches on /usr/lib/rpm which contains only:

[jim@enigma rpm]$ pwd
/usr/lib/rpm
[jim@enigma rpm]$ ls athlon-linux@ config.sub* get_magic.pl* i686-mandrake-linux/ perl.prov* rpmpopt-4.0.4
athlon-mandrake-linux/ convertrpmrc.sh* getpo.sh* javadeps* perl.req* rpmq*
brp-compress* cpanflute* http.req* k6-linux@ rpmb* rpmrc
brp-mandrake* find-lang.sh* i386-linux@ k6-mandrake-linux/ rpmd* rpmt@
brp-sparc64-linux* find-provides* i386-mandrake-linux/ macros rpm.daily* rpmu@
brp-strip* find-provides.perl* i486-linux@ magic.prov* rpmdiff.cgi* rpmv@
brp-strip-comment-note* find-prov.pl* i486-mandrake-linux/ magic.req* rpme@ rpm.xinetd*
brp-strip-shared* find-req.pl* i586-linux@ mkinstalldirs* rpmi* u_pkg.sh*
check-prereqs* find-requires* i586-mandrake-linux/ noarch-linux@ rpmk* vpkg-provides2.sh*
config.guess* find-requires.perl* i686-linux@ noarch-mandrake-linux@ rpm.log* vpkg-provides.sh*
I also checked the path and I checked several other likely locations in the file system. No dice. What are the odds that this is out of date? It might have been deprecated or the file might be going by another name these days? Like I notice the list of files above includes a find-requires.perl as well as a find-requires*

Jim C wrote:
I am stuck at the rpm install. I think I probably have a macro wrong somewhere. Note that jim is a local user with home directory named /lclusr/jim.

[jim@enigma jim]$ rpm -ivh samba-2.2.7a-3mdk.src.rpm
error: cannot create %sourcedir /%{/lclusr/jim}/rpm/SOURCES


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to