[MacPorts] #20139: vte fails to build
MacPorts
noreply at macports.org
Thu Jul 2 10:49:46 PDT 2009
#20139: vte fails to build
--------------------------------+-------------------------------------------
Reporter: jp@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Resolution: invalid | Keywords: gtk
Port: vte |
--------------------------------+-------------------------------------------
Comment(by devans@…):
In general, the default display support in MacPorts is to use X11.
variants +no_x11 +quartz in general
conflict with this although some ports (gimp for instance) can be built
either way.
Furthermore, if you are using +no_x11 +quartz, then for things to work
properly all dependent ports have
to be built with these options as well.
So if you need to build both types of ports, then it is best, IMHO, to
have two separate build environments,
one for X11 and one for +no_x11 +quartz in two different locations. Each
can then be consistent within
itself and you can select with one you want to use by selecting the proper
path.
In my case, since I support ports that can be built either way, I use the
default install of MacPorts
to build the default ports (X11) at /opt/local and a second one installed
at /opt/gtk which I use
for building +no_x11 +quartz ports.
In this second instance, I set /opt/gtk/etc/macports/variants.conf to
include
+no_x11 +quartz so that all ports built there have these variants applied
automatically. Then all
dependents are sure to build correctly.
So I can build gimp in each environment and if I run /opt/local/bin/gimp
it runs the X11 app and
if I run /opt/gtk/bin/gimp it runs the quartz one. I can even run the two
at the same time without
problems.
Its a little extra setup but it makes things a easier to maintain in the
long run.
See [http://guide.macports.org/#installing.macports.source.multiple] for
details on how to do this.
Hope this helps
--
Ticket URL: <http://trac.macports.org/ticket/20139#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list