Build error: 'TCL' and 'libirrcclient'

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:

   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:

%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

If it does not need to compile against the development package, but just some libraries, you may want to replace
BuildRequires: libircclient-devel
with
BuildRequires: libircclient1
and try again.

I thought of that and tried it, or rather I tried including both requirement statements, but to no avail.

But thanks:)

On Thu 17 Jan 2013 08:26:01 PM CST, F Sauce wrote:

I thought of that and tried it, or rather I tried including both
requirement statements, but to no avail.

But thanks:)

Hi
Submit request Request 148892: Submit din - openSUSE Build Service
created…

configure.ac needed patching as well as bot.h plus cleaned a few things
up. Please change the copyright, patch and changelog info to yourself :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 0:59, 4 users, load average: 0.35, 0.38, 0.31
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile

On Thu 17 Jan 2013 10:21:25 PM CST, malcolmlewis wrote:

Hi
Submit request Request 148892: Submit din - openSUSE Build Service
created…

configure.ac needed patching as well as bot.h plus cleaned a few things
up. Please change the copyright, patch and changelog info to yourself :wink:

Hi
Cleaned up some more and fixed an error with a script original sr
superseded with Request 148902: Submit din - openSUSE Build Service

Tested here and it appears to be working fine :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 6:22, 3 users, load average: 0.12, 0.12, 0.18
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile

Hello, I’ll look into this tomorrow, too tired at the moment.

Thank you very much:)