Jan 13, 2013

openSUSE Forums: Build error: 'TCL' and 'libirrcclient'

openSUSE Forums
openSUSE Forums
Build error: 'TCL' and 'libirrcclient'
Jan 13th 2013, 11:11

Hello,

I am trying to build a package of din, however, there seem to be a problem with 'TCL' and 'libircclient' which I do not quite understand:
Code:

[  59s] checking tcl.h usability... yes
[  59s] checking tcl.h presence... yes
[  59s] checking for tcl.h... yes
[  59s] configure: +++ Found Tcl 8.5 +++
[  59s] checking tcl8.5/tcl.h usability... no
[  59s] checking tcl8.5/tcl.h presence... no
[  59s] checking for tcl8.5/tcl.h... no
[  59s] configure: WARNING: !!! Is Tcl 8.5 installed? !!!
[  59s] checking libircclient/libircclient.h usability... no
[  59s] checking libircclient/libircclient.h presence... no
[  59s] checking for libircclient/libircclient.h... no
[  59s] configure: error: !!! Please install libircclient !!!
[  59s] error: Bad exit status from /var/tmp/rpm-tmp.7S3P7h (%build)
[  59s] [  59s] [  59s] RPM build errors:
[  59s]    Bad exit status from /var/tmp/rpm-tmp.7S3P7h (%build)
[  60s] /.build/build: line 317:  233 Killed                  background_monitor_process
[  62s] [  50.021819] SysRq : Power Off
[  63s] [  50.240967] Power down.

Spec file:
Code:

%define name din%define version 4.2.1
%define release 1


%define _prefix /usr


Summary:    din, din is noise, a synthesiser of a third kind
Name:        %{name}
Version:    %{version}
Release:    %{release}
License:    GPL2
Group:        Productivity/Multimedia/Sound/Utilities
Source0:    %{name}-%{version}.tar.gz
URL:        http://dinisnoise.org/
Packager:    F_Sauce


BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-buildroot


BuildRequires:  alsa-devel
BuildRequires:  Mesa-libGL-devel
BuildRequires:  gcc-c++
BuildRequires:  jack-devel
BuildRequires:  tcl-devel
BuildRequires:  libfftw3-devel
BuildRequires:  libircclient-devel
BuildRequires:  liblo-devel


%description
If Puredata and Supercollider are two synths,
din is a synth of a 3rd kind.


%prep
%setup
[ -f Makefile.svn ] && %__make -f Makefile.svn


%build
%configure
%__make


%install
%__make DESTDIR=%{buildroot} install


%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot}


%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO TRANSLATORS
#dir %{_datadir}/applications
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps
#dir %{_datadir}/locale
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/locale/%{name}_*.qm


%changelog

I am not an experienced packer but to me it seems like the building process ends because of the libircclient conflict. 'libircclient' is specified as buildrequirement though it is called libircclient1 in the repo, could this be the cause for the error?


Any suggestions?

Thanks

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: