rpmbuild - rpm can't find configure no such file -


i have problem spec file. when run rpmbuild says can't find ./configure no such file or directory. here part of code of spec file. can me?

...

buildrequires: gd-devel > 1.8, mailx, libjpeg-devel, libpng-devel  requires: httpd php53 gcc  %description nagios program monitor hosts , services on network. %package common group: applications/system summary: provides common directories, uid , gid among nagios-related packages requires(pre): shadow-utils requires(post): shadow-utils provides: user(nagios) provides: group(nagios)  %description common provides common directories, uid , gid among nagios-related packages.  %prep %setup -q -n %{name}-%{version} %build %configure \ --prefix=%{_datadir}/%{name} \ --exec-prefix=%{_localstatedir}/lib/%{name} \ --with-init-dir=%{_initrddir} \ --with-cgiurl=/%{name}/cgi-bin/ \ --with-htmlurl=/%{name} \ --with-lockfile=%{_localstatedir}/run/%{name}.pid \ --libdir=%{_libdir}/%{name} \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --bindir=%{_sbindir} \ --libexecdir=%{_libdir}/%{name}/plugins \ --sysconfdir=%{_sysconfdir}/%{name} \ --localstatedir=%{_localstatedir}/log/%{name} \ --datadir=%{_datadir}/%{name}/html \ --with-gd-lib=%{_libdir} \ --with-gd-inc=%{_includedir} \ --enable-embedded-perl \ --with-perlcache \ 

...

i not familiar nagios, have confirmed when extract distribution tarball, there configure file in top-level directory? if not, need add steps there.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -