(SOLVED?): How to declare header location?

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

 



On Sat, Feb 15, 2003 20:42:27 at 08:42:27PM +0100, Michael Schwendt (ms0301rh@arcor.de) wrote:
> 
> At this point I took a look at the package. It's the GCC3 header
> search order warning that confuses the configure script. Apply
> attached patch and it works.
> 
I applied that patch (calling it  dfm-0.99.9-patch) and now, with the
.spec file attached, it builds OK. I share Michael's perplexity,
however, why didn't he need it on hist system? Maybe some different
version of gcc/libraries?

[marco@polaris dfm-0.99.9]$ rpm -qa|grep -i gcc
gcc-3.2-7
gcc-c++-3.2-7
libgcc-3.2-7
[marco@polaris dfm-0.99.9]$ rpm -qa|grep -i glibc
glibc-2.2.93-5
glibc-devel-2.2.93-5
glibc-common-2.2.93-5
glibc-kernheaders-2.4-7.20
[marco@polaris dfm-0.99.9]$ 

Any feedback (both on this and on the spec file, since this is just my
third RPM) are welcome!

	Thanks again,
			Marco Fioretti
-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

If you have the right attitude, interesting problems will find you
                Eric S. Raymond, "The Cathedral and the bazaar", chapter 2
Summary: A file manager which looks and acts like OS/2's WPS file manager.
Name: dfm
Version: 0.99.9
Release: 1.RULE
Source: http://www.kaisersite.de/dfm/dfm-0.99.9.tar.gz  
URL: http://www.kaisersite.de/dfm/
Group: Applications/File
License: GPL
Patch: dfm-0.99.9-patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gtk+ >= 1.2

%description
DFM emulates OS/2's WPS file manager.  DFM is capable of easily
launching programs, managing files and associating files.  Files are
shown as icons, which can have any size and position and may be placed
anywhere in their window or on the desktop.

%prep
%setup -q -n dfm
%patch -p0

%build
./configure --includedir=/usr/include/X11/
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT/usr/local/bin/dfm
gzip $RPM_BUILD_ROOT/usr/local/man/man1/dfm.1x

%files
%defattr(-,root,root)
%doc ABOUT-NLS ANNOUNCE AUTHORS BUGS COPYING COPYRIGHT CREDITS ChangeLog
%doc DOWNLOAD HELP.ERROR INSTALL NEWS NO_WARRANTY README START TESTED TODO
%doc dfmext-samples/*
/usr/local/bin/dfm
/usr/local/share/dfm/*
/usr/local/man/man1/dfm.1x.gz
/usr/local/share/locale/da/LC_MESSAGES/dfm.mo
/usr/local/share/locale/de/LC_MESSAGES/dfm.mo
/usr/local/share/locale/ru/LC_MESSAGES/dfm.mo
%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Sat Feb 15 2003 Marco Fioretti <marco@rule-project.org>
- updated to 0.99.9
- rebuilt for RULE/Red Hat 8.0

* Mon Nov 8 1999 Tim Powers <timp@redhat.com>
- updated to 0.99.5

* Mon Jul 12 1999 Tim Powers <timp@redhat.com>
- updated source to 0.99.3
- removed requires for xforms, now uses gtk+
- included docs and sample dfmext
- built for 6.1

* Tue Apr 13 1999 Michael Maher <mike@redhat.com>
- built package for 6.0
- updated source

* Wed Oct 14 1998 Michael Maher <mike@redhat.com>
- built package for 5.2

* Thu May 21 1998 Cristian Gafton <gafton@redhat.com>
- buildroot

* Mon Feb 16 1998 Otto Hammersmith <otto@redhat.com>
- tweaked description

* Mon Jan 26 1998 Otto Hammersmith <otto@redhat.com>
- added wmconfig

* Mon Jan 26 1998 Otto Hammersmith <otto@redhat.com>
- patched config script to not do -mpentiumpro for i686

* Fri Jan 23 1998 Otto Hammersmith <otto@redhat.com>
- built the package

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux