I've attached my .pkgtoolrc file I forgot to mention in my post that after one creates the .pkgtoolrc file, one needs to customize it. In the file that I have have attached, you'll see that I've explicitly specified the paths to the LOGS folder, the SPECS folder, and the SOURCES folder. I had to also create the ~/packages folder which I don't mind keeping there since all that I really do in Belenix is build stuff and browse the web (my home folder is the same as the build folder :) )
I've also attached a .sh file which loads environment variables for me when I use it like this: source buildenv.sh -- Sriram On 6/29/08, Avinash Joshi <avinashtjoshi at gmail.com> wrote: > Will this work only on belenix???? > > i am getting an error: > > bash-3.2$ pkgtool build-only SFElcms.spec > INFO: Copying %use'd or %include'd spec files to SPECS directory > INFO: Processing spec files > > Summary: > > package | status | details > ---------------------------------+-------------+------------------------------- > SFElcms.spec | FAILED | Spec file used by > /export/home/avinash/packages/SOURCES/SFElcms.spec not found: > default-depend.inc > > bash-3.2$ ls SFElcms.spec > SFElcms.spec > bash-3.2$ > > > On Wed, Jun 18, 2008 at 11:06 PM, Sriram Narayanan <sriramnrn at gmail.com> > wrote: > >> Responding to Belenix discuss since this may benefit a wider audience. >> >> On Wed, Jun 18, 2008 at 11:00 PM, Avinash Joshi <avinashtjoshi at gmail.com> >> wrote: >> > Can you please tell me in detail how you did that?? >> > >> >> Create the following folder structure >> ~/packages/SOURCES >> >> Install pkgbuild from pkgbuild.sourceforge.net >> Install the Sun Studio >> >> export CC=/opt/SUNWspro/bin/cc >> export CXX=/opt/SUNWspro/bin/CC >> >> export >> PATH=/opt/pkgbuild/bin:/usr/gnu/bin:/opt/SUNWspro/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/X11/bin:/usr/local/bin: >> >> cp /usr/share/aclocal/libtool.m4 /usr/share/aclocal/aclocal.m4 >> >> >> check out the belenix SFE repository >> >> pkgtool build-only SFElcms.spec >> pkgtool build-only SFElibaudioio.spec >> pkgtool build-only SFEfontforge.spec >> pkgtool build-only SFEwine.spec >> >> I had done the lcms, libaudioio and fontforge some weeks ago and also >> wine1.0rc2, and checked in a few corrections, etc. >> >> Today, I updated the spec file to use revision 1.0 (as per the diff >> below) and then just build wine again. >> >> > On Wed, Jun 18, 2008 at 10:55 PM, Sriram Narayanan <sriramnrn at gmail.com> >> > wrote: >> >> >> >> I'm pleased to report the Wine 1.0 builds just fine on Belenix (when >> >> you use the spec file below). >> >> >> >> I have been able to run Lotus Notes on it :) >> >> >> >> Now, it's time to test Firefox and VPNC next ! >> >> >> >> -- Sriram >> >> >> >> >> >> ---------- Forwarded message ---------- >> >> From: belenix-notify <belenix-notify at lists.sourceforge.net> >> >> Date: Wed, Jun 18, 2008 at 10:12 PM >> >> Subject: [belenix-notify] SF.net SVN: belenix: [112] >> >> trunk/spec_files/SFEwine.spec >> >> To: belenix-notify at lists.sourceforge.net >> >> >> >> >> >> Revision: 112 >> >> http://belenix.svn.sourceforge.net/belenix/?rev=112&view=rev >> >> Author: dynamicproxy >> >> Date: 2008-06-18 09:42:11 -0700 (Wed, 18 Jun 2008) >> >> >> >> Log Message: >> >> ----------- >> >> Wine 1.0. I ran Notepad so far, have to test everything else of course >> >> >> >> Modified Paths: >> >> -------------- >> >> trunk/spec_files/SFEwine.spec >> >> >> >> Modified: trunk/spec_files/SFEwine.spec >> >> =================================================================== >> >> --- trunk/spec_files/SFEwine.spec 2008-06-14 11:41:05 UTC (rev >> 111) >> >> +++ trunk/spec_files/SFEwine.spec 2008-06-18 16:42:11 UTC (rev >> 112) >> >> @@ -10,7 +10,7 @@ >> >> >> >> Name: SFEwine >> >> Summary: Windows Emulator >> >> -Version: 1.0-rc2 >> >> +Version: 1.0 >> >> URL: http://www.winehq.org/ >> >> Source: %{src_url}/%{src_name}-%{version}.tar.bz2 >> >> Patch1: wine-01-nameconfict.diff >> >> >> >> >> >> This was sent by the SourceForge.net collaborative development >> >> platform, the world's largest Open Source development site. >> >> >> >> >> ------------------------------------------------------------------------- >> >> Check out the new SourceForge.net Marketplace. >> >> It's the best place to buy or sell services for >> >> just about anything Open Source. >> >> http://sourceforge.net/services/buy/index.php >> >> _______________________________________________ >> >> belenix-notify mailing list >> >> belenix-notify at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/belenix-notify >> >> _______________________________________________ >> >> belenix-discuss mailing list >> >> http://mail.opensolaris.org/mailman/listinfo/belenix-discuss >> >> http://groups.google.com/group/belenix-discuss >> > >> > >> > >> > -- >> > ~ Avinash Joshi >> > http://avinashjoshi.co.in/ >> _______________________________________________ >> belenix-discuss mailing list >> http://mail.opensolaris.org/mailman/listinfo/belenix-discuss >> http://groups.google.com/group/belenix-discuss >> > > > > -- > ~ Avinash Joshi > http://avinashjoshi.co.in/ > -------------- next part -------------- A non-text attachment was scrubbed... Name: pkgtoolrc Type: application/octet-stream Size: 3720 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/belenix-discuss/attachments/20080629/ea68b08f/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: buildenv.sh Type: application/x-sh Size: 184 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/belenix-discuss/attachments/20080629/ea68b08f/attachment.sh>
