Saturday, February 23, 2008

Wine Get!

## Validating control scripts.
## Packaging complete.
## Building pkgmap from package prototype file.
## Processing pkginfo file.
WARNING: missing directory entry for
WARNING: parameter set to "solarisOnGabranth20080223054506"
## Attempting to volumize 20 entries in pkgmap.
part 1 -- 25456 blocks, 96 entries
## Packaging one part.
/export/home/carl/packages/SPKGS/SFEwine-src/pkgmap
/export/home/carl/packages/SPKGS/SFEwine-src/pkginfo
/export/home/carl/packages/SPKGS/SFEwine-src/install/copyright
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/default-copyright.txt
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-0.9.50.tar.bz2
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-01-nameconfict.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-02-configure.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-03-shell.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-04-winegcc.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-05-add-wine_list.h_includes.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SOURCES/wine-06-change_functions_structs_named_list_asterisk.sh.diff
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/..pkgbuild
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/SFEwine.spec
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/Solaris.inc
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/base.inc
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/default-depend.inc
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/options.inc
/export/home/carl/packages/SPKGS/SFEwine-src/reloc/share/src/SFEwine-0.9.50/SPECS/prod.inc
## Validating control scripts.
## Packaging complete.
Executing(%clean): /bin/bash /var/tmp/pkgbuild-carl/pkgbuild-tmp-14.28412
+ umask 022
+ uname -a
SunOS solarisOnGabranth 5.11 snv_79a i86pc i386 i86pc Solaris
+ cd /export/home/carl/packages/BUILD
+ cd wine-0.9.50
+ rm -rf /var/tmp/pkgbuild-carl/SFEwine-0.9.50-build
+ exit 0
^C
bash-3.2$ tail -f SFEwine.log
pkgbuild: + exit 0
--- command output ends --- finished at Sat Feb 23 05:45:09 PHT 2008

INFO: pkgbuild -ba finished at Sat Feb 23 05:45:09 PHT 2008

INFO: SFEwine PASSED
INFO: Installing SFEwine
INFO: Installing SFEwine-devel
--- log ends --- Sat Feb 23 05:45:26 PHT 2008
How did I finally do it?

First, I followed everything here: spec-files-extra

Then, after much trial and error (mainly not being able to compile SFEgcc or use the SunStudio C compiler for the SFEwine source), I got the Blastwave gcc3 compiler package and edited the SFEwine spec file as follows:
export CC=/opt/csw/gcc3/bin/gcc
I'll try installing some apps later to see how it goes.

No comments: