Peter Arnold wrote:
> Hi Alfred,
> I seem to be missing something here as I'm not able to get anything to 
> compile... I'm running Solaris 10 U5 on x86. I've compiled and installed CBE 
> which gets past the "commands that don't work on Solaris 10" bit.
>
> <snip>
>   
>> 4. Checkout the JDS spec source code for branch
>> gnome-2-20:
>> svn co 
>> svn+ssh://anon at svn.opensolaris.org/svn/jds/spec-files/
>> branches/gnome-2-20
>>
>> 5. Unpack the tar ball
>> attached(firefox-solaris-10-spec.tar.bz2) to the 
>> spec file directory
>> % cd gnome-2-20
>> % gtar jxvf firefox-solaris-10-spec.tar.bz2
>>     
>
> This contains:
> bash-3.00$ bzcat firefox-solaris-10-spec.tar.bz2 | tar tvf -
> -rwxr-xr-x 199275/1        0 Jul 20 00:44 2008 solaris10/
> -rw-r--r-- 199275/1     5670 Jun 23 19:19 2008 solaris10/SFWatk.spec
> -rw-r--r-- 199275/1    11442 Jun 23 19:19 2008 solaris10/SFWglib2.spec
> -rw-r--r-- 199275/1     6995 Jun 23 19:19 2008 solaris10/SFWcairo.spec
> -rw-r--r-- 199275/1    11508 Jun 24 19:19 2008 solaris10/SFWpango.spec
> -rw-r--r-- 199275/1    21059 Jul 11 18:54 2008 solaris10/SFWgtk2.spec
> -rw-r--r-- 199275/1     8773 Jun 23 19:19 2008 solaris10/SFWdbus.spec
> -rw-r--r-- 199275/1     3850 Jun 23 19:19 2008 solaris10/SFWdbus-glib.spec
> -rw-r--r-- 199275/1    18237 Jul 17 12:29 2008 solaris10/SFWfirefox3.spec
> bash-3.00$
>
>   
>> 6. Unpack the patch tar ball 
>> attached(firefox-3.0-solaris-10-patches.tar.bz2) to
>> the patches directory
>> % cd gnome-2-20/patches
>> % gtar jxvf firefox-3.0-solaris-10-patches.tar.bz2
>>     
>
> bash-3.00$ bzcat patches/firefox-3.0-solaris-10-patches.tar.bz2 | gtar tvf -
> -rw-r--r-- mozilla/other   519 2008-06-25 04:30:45 
> firefox-22-ld-library-path.diff
> -rw-r--r-- mozilla/other  2099 2008-06-30 10:04:10 
> firefox-23-reverse-hardcoded-fontname.diff
> -rw-r--r-- mozilla/other   680 2008-07-01 00:15:58 firefox-24-jemalloc.diff
> -rw-r--r-- mozilla/other  6665 2008-06-25 04:30:27 
> firefox3-19-no-xrender-perf.diff
> bash-3.00$
>
>   
>> 7. Build
>> glib/atk/cairo/pango/gtk2/dbus/dbus-glib/firefox by
>> the command 
>> below:
>> % . /opt/jdsbld/bin/env.sh
>> % pkgtool --download build-only -v
>> solaris10/SFW{name1}.spec
>> % pkgadd -d . {package_name1}
>> % pkgadd -d . {package_name1}-devel
>> % pkgtool --download build-only -v
>> solaris10/SFW{name2}.spec
>> % pkgadd -d . {package_name2}
>> % pkgadd -d . {package_name2}-devel
>> ......
>>     
>
> There's no glib included in the files you provided nor do I have it installed 
> in /opt/sfw.
>
> When compiling atk, I get "pkgbuild: *** Could not run GLIB test program, 
> checking why..." etc. It also looks for pkg-config and finds 
> /usr/bin/pkg-config which is not the one I want. Once again it's not under 
> /opt/sfw......
>
> Is there something obvious I should have installed here but don't?
>   
Hi Peter,

Sorry for the neglect. You still need to build pkg-config and gtk-doc by 
yourself.
pkg-config source: 
http://pkgconfig.freedesktop.org/releases/pkg-config-0.21.tar.gz
gtk-doc source: 
http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.10/gtk-doc-1.10.tar.bz2

Just unpack the source tarball, ./configure (I set --prefix=/opt/sfw 
here and add /opt/sfw/bin to PATH environment), make and make install 
should be fine.

Cheers,
-Alfred
>> Basically those are the steps I did to build Firefox3.0 in Solaris 10. 
>> Not sure whether it's applicable for Solaris 8. It's not fully automatic 
>> yet. By following this, all the packages should be ready and be 
>> installed to /opt/sfw directory, including the development packages.
>>
>> Cheers,
>> -Alfred
>>     
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
>   


Reply via email to