RE: [rpm-list] RPM Help

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

 



If its happening with all of your software try looking through the output
of 'rpm --showrc' for 'prefix'

if i grep the output for just 'prefix' I get 16 lines on my RHEL5 system.

[root@myboxen ~]# rpm --showrc | grep prefix
        package payload file(s) have "./" prefix.
  %{-C:${_mydir}}%{!-C:.}/configure %{_target_platform} --prefix=%{_prefix}
--exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir}
--sysconfdir=%{_sysconfdir} --datadir=%{_datadir}
--includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir}
--localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir}
--mandir=%{_mandir} --infodir=%{_infodir} %* ;
-14: _bindir    %{_exec_prefix}/bin
-14: _datadir   %{_prefix}/share
-14: _exec_prefix       %{_prefix}
-14: _includedir        %{_prefix}/include
-14: _libdir    %{_exec_prefix}/%{_lib}
-14: _libexecdir        %{_exec_prefix}/libexec
-14: _prefix    /usr
-14: _sbindir   %{_exec_prefix}/sbin
-14: _sharedstatedir    %{_prefix}/com
        --program-prefix=%{?_program_prefix} \
        --prefix=%{_prefix} \
        --exec-prefix=%{_exec_prefix} \
        prefix=%{?buildroot:%{buildroot}}%{_prefix} \
        exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \


One thing thats bugging me about what you are seeing is the $.  If its
referencing the macro is really should be a %.

-greg

rpm-list-bounces@xxxxxxxxxxxxx wrote on 01/05/2012 12:05:47 AM:
>
> Any package, or even ' rpm --rebuilddb' or 'rpm --initdb', even if
> the packages fails to install. It's makes me think it is a problem
> with the software. It is not exchanging variables. I know that it is
> not the packages fault and I've looked at all of the install rpm
> files that were editable in a text editor but could not find $
> {prefix} only %[[{prefix]]}} and similar. If I delete the folder
> then type rpm --rebuilddb then it creates a folder
> ${prefix}/var/lib/rpm and puts the data base files, *_db, in it. Thanks.
>
> Regards,
>
> Bobby G. Smith Jr.
>

> > Subject: RE: [rpm-list] RPM Help
> > To: rpm-list@xxxxxxxxxxxxx
> > CC: rpm-list@xxxxxxxxxxxxx; rpm-list-bounces@xxxxxxxxxxxxx
> > From: Greg_Swift@xxxxxxxxxxxxxxxxx
> > Date: Wed, 4 Jan 2012 08:35:32 -0600
> >
> > Is this a package you created, or one you downloaded? It sounds like
there
> > is something wrong with the way the spec defines the value, but without
> > looking at the spec it would be hard to go further.
> >
> > -greg
> >
> > rpm-list-bounces@xxxxxxxxxxxxx wrote on 01/02/2012 11:45:00 AM:
> > >
> > > When I type rpm -i dpkg.rpm
> > > It installs the program.
> > > But then I loot at /
> > > And there is an extra folder named "${prefix}"
> > > I installed rpm from source with ./configure --prefix=/usr
> > > I have not tried "rpm -i dpkg.rpm -prefix="
> > > Is that what you mean?
> > > What information do you need?
> > >
> > > Regards,
> > >
> > > Bobby G. Smith Jr.
> > >
> >
> > > > From: jpyeron@xxxxxxxx
> > > > To: rpm-list@xxxxxxxxxxxxx
> > > > Subject: RE: [rpm-list] RPM Help
> > > > Date: Mon, 2 Jan 2012 07:54:48 -0500
> > > >
> > > > > From: dfsd dfd
> > > > > Sent: Wednesday, December 28, 2011 2:33
> > > > > Subject: [rpm-list] RPM Help
> > > > >
> > > > >
> > > > > When I install an rpm, it creates a folder '/${prefix}/var/lib/
> > > rpm/' and puts
> > > > the package database files in
> > > > > it. I do not use ${prefix} as a code or symbol that is the
> > > literally the name
> > > > of the folder it creates. I
> > > > > have tried to install one packages but I don't have all of its
> > > dependencies.
> > > >
> > > > Going to need a lot more information than that.
> > > >
> > > > > How can I make it use the correct folder?
> > > >
> > > > But have you tried setting prefix to the empty string?
> > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > Bobby G. Smith Jr.
> > > >
> > > > --
> > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > > - -
> > > > - Jason Pyeron PD Inc. http://www.pdinc.us -
> > > > - Principal Consultant 10 West 24th Street #100 -
> > > > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
> > > > - -
> > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > > This message is copyright PD Inc, subject to license 20080407P00.
> > > >
> > > >
> > > > _______________________________________________
> > > > Rpm-list mailing list
> > > > Rpm-list@xxxxxxxxxxxxx
> > > > http://lists.rpm.org/mailman/listinfo/rpm-list
> > > _______________________________________________
> > > Rpm-list mailing list
> > > Rpm-list@xxxxxxxxxxxxx
> > > http://lists.rpm.org/mailman/listinfo/rpm-list
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@xxxxxxxxxxxxx
> > http://lists.rpm.org/mailman/listinfo/rpm-list
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux