[indiana-discuss] need help building pidgeon from SFE on a snv_98 base

Brett repudi8or at hotmail.com
Wed Oct 15 20:54:29 PDT 2008


Soooooooo....

I decided to have a go at my first build of something from SFE. I chose Pidgin because the one packaged with snv_98 (v2.4.3) crashes consistently unless I "mute sounds", presumably due to the fact i currently have no working sound driver. I thought there was a chance this bug may be fixed in Pidgin 2.5.1

Here is my experience thus far and hopefully someone can shed some light on my current sticking point.

I vaguely followed the instructions in http://www.opensolaris.org/os/project/jds/contributing/building/
1) Installed SunStudioExpress
bash-3.2$ pfexec pkg install sunstudioexpress
...
bash-3.2$ pkg search studio
INDEX      ACTION    VALUE                     PACKAGE
description set       Studio                    pkg:/sunstudioexpress at 0.2008.5-0.86
bash-3.2$ 

2) Downloaded/Installed pkgbuild-1.3.3.tar.bz2
bash-3.2$ which pkgbuild
/opt/jdsbld/bin/pkgbuild

3) Downloaded/installed the latest JDS Common Build Environment (CBE)
bash-3.2$ pwd
/export/home/hq5/Download/jds-cbe-1.6.2
bash-3.2$ ./cbe-install 
Checking for required packages...
Installing the JDS Common Build Environment (CBE) version 1.6.2
...
<snip>
...
CBE setup complete
Run
  . /opt/jdsbld/bin/env.sh
or
  source /opt/jdsbld/bin/env.csh

4) got all the spec files from svn
bash-3.2$ svn co svn+ssh://anon at svn dot opensolaris dot org/svn/jds/spec-files/trunk spec-files
bash-3.2$ ls ~/.subversion
README.txt  SFE  auth  config  servers	spec-files
bash-3.2$ cd ~/.subversion/spec-files
bash-3.2$ find . -name pidgin.spec
./base-specs/pidgin.spec
bash-3.2$ cd base-specs
bash-3.2$ pwd
/export/home/hq5/.subversion/spec-files/base-specs

5) Sourced the JDS CBE environment
bash-3.2$ . /opt/jdsbld/bin/env.sh

6) tried to build pidgin from spec file using pkgtool
bash-3.2$ pkgtool --download build-install pidgin.spec
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
WARNING: Failed to process spec file pidgin: pidgin.spec(22): %if: invalid boolean expression

Summary:

                         package |      status | details
---------------------------------+-------------+-------------------------------
                          pidgin |       ERROR | pidgin.spec(22): %if: invalid boolean expression

bash-3.2$ head -25 pidgin.spec | tail -4
%if %build_l10n
Source1:        pidgin-po-sun-%{po_sun_version}.tar.bz2
Source2:        l10n-configure.sh
%endif

So im missing a piece of the puzzle somewhere..... Can anyone fill me in? Is there some macros I need to include? Some extra environment stuff? a switch i havnt noticed for pkgtool to have it process the macro stuff properly?

All help greatly appreciated.

Regards Rep
--
This message posted from opensolaris.org



More information about the indiana-discuss mailing list