Gentoo Archives: gentoo-alt

From: Francois Bissey <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] how to compile firefox on Mac Os X 10.8
Date: Thu, 30 Aug 2012 12:04:47
Message-Id: 503F310D.70301@canterbury.ac.nz
In Reply to: Re: [gentoo-alt] how to compile firefox on Mac Os X 10.8 by Junqi Hu
1 On 30/08/12 19:22, Junqi Hu wrote:
2 >
3 > On 2012-8-30, at 上午11:14, François Bissey <francois.bissey@×××××××××××××.nz> wrote:
4 >
5 >> On Thu, 30 Aug 2012 08:56:45 Junqi Hu wrote:
6 >>> The second problem has been solved by the script ecopy in
7 >>> $EPREFIX/usr/portage/scripts.
8 >>> On 2012-8-30, at 上午5:55, junqihu <junqihu@××.com> wrote:
9 >>>> Hi, all!
10 >>>>
11 >>>> I'm a newbie on using Mac OS X and gentoo prefix. Hence, I have many
12 >>>> problems arised in using them to resolve. One of them is how to compile
13 >>>> firefox by gentoo prefix, although I know that there is a package named
14 >>>> firefox for mac on mozilla's project page.
15 >>>>
16 >>>> Ok, let's see what happened?
17 >>>>
18 >>>> --------------------------------------------------------------------------
19 >>>> --------------------------------------------------------------------------
20 >>>> --
21 >>>>
22 >>>> $ emerge -av firefox
23 >>>>
24 >>>> These are the packages that would be merged, in order:
25 >>>>
26 >>>> Calculating dependencies... done!
27 >>>>
28 >>>> The following USE changes are necessary to proceed:
29 >>>> #required by www-client/firefox-14.0.1, required by firefox (argument)
30 >>>> =x11-libs/cairo-1.12.2-r3 X
31 >>>> #required by www-client/firefox-14.0.1, required by firefox (argument)
32 >>>>
33 >>>>> =x11-libs/pango-1.30.1 X
34 >>>>
35 >>>> #required by www-client/firefox-14.0.1, required by firefox (argument)
36 >>>>
37 >>>>> =media-libs/libpng-1.5.12 apng
38 >>>>
39 >>>> Use --autounmask-write to write changes to config files (honoring
40 >>>> CONFIG_PROTECT).
41 >>>>
42 >>>> emerge: there are no ebuilds to satisfy ">=sys-apps/dbus-1.6.2".
43 >>>> (dependency required by "dev-libs/dbus-glib-0.100" [ebuild])
44 >>>> (dependency required by "www-client/firefox-14.0.1[dbus]" [ebuild])
45 >>>> (dependency required by "firefox" [argument])
46 >>>>
47 >>>> --------------------------------------------------------------------------
48 >>>> --------------------------------------------------------------------------
49 >>>> --
50 >>>>
51 >>>> The first question, I face to, is whether USE flag X should be select,
52 >>>> because X11 for mac have been separated from Mac OS X since Mountain
53 >>>> Lion. In fact, I have replaced USE Flag X by aqua in
54 >>>> $EPREFIX/etc/make.conf.
55 >>>>
56 >>>> Obviously, without proper ebuild on dbus is another question. Same problem
57 >>>> also raised on installing the package, app-text/xdvipdfmx, when USE flag
58 >>>> xetex is chosen for app-text/texlive. Maybe, the procedure on ebuild
59 >>>> transition from gentoo-portage to gentoo-portage-prefix should be
60 >>>> mentioned.
61 >>>>
62 >>>> Anyone could help me?
63 >>
64 >> Well, we are missing an ebuild for dbus-1.6.2 but not dbus full stop.
65 >> The ebuild for dbus-glib-0.100 shouldn't technically be in the tree since one
66 >> of its dependency isn't but that kind of check is a lot of work.
67 >> Try masking (etc/portage/package.mask) =dev-libs/dbus-glib-0.100
68 >> may be firefox will be happy with dbus-glib-0.98.
69 >>
70 >> Francois
71 >>
72 >
73 > Thank you for your comments.
74 >
75 > There is another problem I couldn't solve.
76 >
77 > --------------------------------------------------------------------------
78 >
79 > $ emerge -av firefox
80 >
81 > These are the packages that would be merged, in order:
82 >
83 > Calculating dependencies... done!
84 >
85 > emerge: there are no ebuilds to satisfy "sys-devel/bsdmake".
86 > (dependency required by "virtual/pmake-0" [ebuild])
87 > (dependency required by "sys-freebsd/freebsd-mk-defs-9.0-r1" [ebuild])
88 > (dependency required by "dev-libs/libexecinfo-1.1" [ebuild])
89 > (dependency required by "www-client/firefox-14.0.1" [ebuild])
90 > (dependency required by "firefox" [argument])
91 >
92 > --------------------------------------------------------------------------
93 >
94 > The ebuild for sys-devel/bsdmake is missing even while I use the script ecopy to try to generate it.
95 >
96
97 Not much that's very odd. the virtual/pmake ebuild goes this way:
98 RDEPEND="kernel_linux? ( sys-devel/pmake )
99 kernel_SunOS? ( sys-devel/pmake )
100 kernel_Darwin? ( sys-devel/bsdmake )"
101
102 So on OS X (darwin) you should have bsdmake. That's bugzilla material.
103
104 François