Discussion:
Macports X11 damaged?
g***@web.de
2009-04-02 15:48:43 UTC
Permalink
Hi,

Sorry for the first email it slipped away.
I'm completely new to macports, but have experience with linux debian distributions. I installed and updated apple X11 on a PPC 10.4.11.

I achieved to install some x applications successfully, but it seems that they are only functional if they are linked against the apple X11.

e.g.:

[16:36:58] [***@mac :~]$ > xdvi &
[1] 11376
[16:37:04] [***@mac :~]$ > dyld: Library not loaded: /opt/local/lib/libXaw.7.dylib
Referenced from: /opt/local/bin/xdvi-xaw.bin
Reason: image not found

[1]+ Trace/BPT trap xdvi

I tried to install xpdf, but that didn't work.
I got some errors when starting xpdf:

Warning: Widget must be a VendorShell.
Error: attempt to add non-widget child "dsm" to parent "xpdf" which supports only widgets

I found similar Bug-Reports: [MacPorts] #18494 #18114 #18118

I tried this workaround:

by raphael@… ¶

A workaround is to add +system_x11 to /opt/local/etc/macports/variants.conf, so that by default the system X11 libraries (instead of the MacPorts libraries) are used.
I fixed my problems with geomview by reinstalling geomview and all its dependencies with

sudo port -f upgrade geomview

This should also work with other openmotif based ports.

This resulted in some errors:
e.g.:
_XFreePixmap referenced from libtk8 expected to be defined in /opt/local/lib/libX11.6.dylib
collect2: ld returned 1 exit status
make: *** [wish] Error 1

Full report here: http://paste.pocoo.org/show/110573/

Then I got this error:

$ > dyld: Library not loaded: /opt/local/lib/libXt.6.dylib
Referenced from: /opt/local/bin/xpdf
Reason: image not found

http://lists.macosforge.org/pipermail/macports-users/2007-November/006989.html

Then I tried this:

sudo port -f upgrade Xaw3d

without success: http://paste.pocoo.org/show/110574/

After that I tried to install some xorg packages:
http://paste.pocoo.org/show/110578/

Then selfupdate and upgrade outdated.
http://paste.pocoo.org/show/110579/

I don't understand that at all.

Here is a locate libXt:
http://paste.pocoo.org/show/110598/

I got also errors on sudo port install xorg-server:

checking for XLIB... configure: error: Package requirements (x11) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XLIB_CFLAGS
and XLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

http://paste.pocoo.org/show/110743/

sudo port install x11 doesn't work either:

$ > sudo port install x11
Password:
Error: Port x11 not found

What's wrong?

Thank you in advance!

Kind regards

Gerhard G.








________________________________________________________________________
Neu bei WEB.DE: Kostenlose maxdome Movie-FLAT!
https://register.maxdome.de/xml/order/LpWebDe?ac=OM.MD.MD008K15726T7073a
Ryan Schmidt
2009-04-06 10:04:01 UTC
Permalink
Post by g***@web.de
Sorry for the first email it slipped away.
I'm completely new to macports, but have experience with linux
debian distributions. I installed and updated apple X11 on a PPC
10.4.11.
Welcome to MacPorts! I'll try to answer your questions below.
Post by g***@web.de
I achieved to install some x applications successfully, but it
seems that they are only functional if they are linked against the
apple X11.
The preferred way to use MacPorts with X11 apps now is to use the
xorg ports that come with MacPorts. You don't need to do anything
special to get these; simply installing the port you want will cause
the required xorg ports to be installed as well.
Post by g***@web.de
[1] 11376
lib/libXaw.7.dylib
Referenced from: /opt/local/bin/xdvi-xaw.bin
Reason: image not found
[1]+ Trace/BPT trap xdvi
Does /opt/local/lib/libXaw.7.dylib exist on your hard drive? It
should. If it does not, is the xorg-libXaw port installed? It should
be, since xdvi is part of the texlive_base port which declares a
dependency on the xorg-libXaw port. You could try rebuild the xorg-
libXaw port:

sudo port -nf upgrade xorg-libXaw
Post by g***@web.de
I tried to install xpdf, but that didn't work.
Warning: Widget must be a VendorShell.
Error: attempt to add non-widget child "dsm" to parent "xpdf" which supports only widgets
I found similar Bug-Reports: [MacPorts] #18494 #18114 #18118
#18494 is marked as a duplicate of #18114 which is marked as a
duplicate of #18181 which is marked as fixed.

#18118 is not related; I assume that's a typo of #18181.
Post by g***@web.de

A workaround is to add +system_x11 to /opt/local/etc/macports/
variants.conf, so that by default the system X11 libraries (instead
of the MacPorts libraries) are used.
I fixed my problems with geomview by reinstalling geomview and
all its dependencies with
sudo port -f upgrade geomview
This should also work with other openmotif based ports.
Ok, that suggestion was from here:

http://trac.macports.org/ticket/18114#comment:18

I personally would not recommend using the +system_x11 variant. I
have not tried it myself. Note the advice from our X11 expert Jeremy:

http://trac.macports.org/ticket/18114#comment:22

"Also note that adding or removing +system_x11 variant should be done
with caution and switching between these variants is not supported.
You should do a complete rebuild of all ports that use X11 if you
change between those variants if you want a usable system"

He provides instructions for doing that.
Post by g***@web.de
_XFreePixmap referenced from libtk8 expected to be defined in /opt/
local/lib/libX11.6.dylib
collect2: ld returned 1 exit status
make: *** [wish] Error 1
Full report here: http://paste.pocoo.org/show/110573/
$ > dyld: Library not loaded: /opt/local/lib/libXt.6.dylib
Referenced from: /opt/local/bin/xpdf
Reason: image not found
http://lists.macosforge.org/pipermail/macports-users/2007-November/
006989.html
I don't know specifically what's going on here but would first try
rebuilding the affected ports.
Post by g***@web.de
sudo port -f upgrade Xaw3d
without success: http://paste.pocoo.org/show/110574/
I see that some ports' configure scripts are having trouble finding
their dependencies, but I don't understand why.

Note that you almost never want to use the "-f" (force) flag without
also using the "-n" (nonrecursive) flag with the "upgrade" command.
Post by g***@web.de
http://paste.pocoo.org/show/110578/
Then selfupdate and upgrade outdated.
http://paste.pocoo.org/show/110579/
I don't understand that at all.
http://paste.pocoo.org/show/110598/
No package 'x11' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XLIB_CFLAGS
and XLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
http://paste.pocoo.org/show/110743/
This is mostly the same stuff, configure scripts not finding the
dependencies, but I don't know why.
Post by g***@web.de
$ > sudo port install x11
Error: Port x11 not found
What's wrong?
There is no port called "x11". There is a port "xorg-libX11"; perhaps
that's what you meant.
g***@web.de
2009-04-06 22:11:11 UTC
Permalink
Post by Ryan Schmidt
Post by g***@web.de
I'm completely new to macports, but have experience with linux
debian distributions. I installed and updated apple X11 on a PPC
10.4.11.
Welcome to MacPorts! I'll try to answer your questions below.
Hi Ryan, thank you for diggin in this issue!
Post by Ryan Schmidt
The preferred way to use MacPorts with X11 apps now is to use the
xorg ports that come with MacPorts. You don't need to do anything
special to get these; simply installing the port you want will cause
the required xorg ports to be installed as well.
That's the probnlem I guess. I installed macports following the wiki
guide and therefore installed the Apple x11 server.
But now the preferred way to install x11 apps is xorg-server, because
apples xserver is a bit outdated, right? As I understand some
application doesn't build no more against the apple x11 in ppc. Maybe
like I experienced with xpdf.
Post by Ryan Schmidt
Post by g***@web.de
[1] 11376
lib/libXaw.7.dylib
Referenced from: /opt/local/bin/xdvi-xaw.bin
Reason: image not found
[1]+ Trace/BPT trap xdvi
Does /opt/local/lib/libXaw.7.dylib exist on your hard drive? It
should. If it does not, is the xorg-libXaw port installed? It should
be, since xdvi is part of the texlive_base port which declares a
dependency on the xorg-libXaw port. You could try rebuild the xorg-
sudo port -nf upgrade xorg-libXaw
Yes I think everything is installed, but in the wrong path (apple x11
path).
Post by Ryan Schmidt
Post by g***@web.de
A workaround is to add +system_x11 to /opt/local/etc/macports/
variants.conf, so that by default the system X11 libraries (instead
of the MacPorts libraries) are used.
[...]
I personally would not recommend using the +system_x11 variant. I
http://trac.macports.org/ticket/18114#comment:22
"Also note that adding or removing +system_x11 variant should be done
with caution and switching between these variants is not supported.
You should do a complete rebuild of all ports that use X11 if you
change between those variants if you want a usable system"
He provides instructions for doing that.
This didn't worked for me, because of the lack of e.g. x11 and xext and
so on. They were installed, but port didn't find them during
configuration of the packages.
Post by Ryan Schmidt
Post by g***@web.de
_XFreePixmap referenced from libtk8 expected to be defined in /opt/
local/lib/libX11.6.dylib
collect2: ld returned 1 exit status
make: *** [wish] Error 1
Full report here: http://paste.pocoo.org/show/110573/
$ > dyld: Library not loaded: /opt/local/lib/libXt.6.dylib
Referenced from: /opt/local/bin/xpdf
Reason: image not found
http://lists.macosforge.org/pipermail/macports-users/2007-November/
006989.html
I don't know specifically what's going on here but would first try
rebuilding the affected ports.
/opt/local/lib/libX11.6.dylib isn't there as expected, but
under /usr/X11R6/.
Post by Ryan Schmidt
Post by g***@web.de
No package 'x11' found
It asks for the package x11
Post by Ryan Schmidt
Post by g***@web.de
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XLIB_CFLAGS
and XLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
This is mostly the same stuff, configure scripts not finding the
dependencies, but I don't know why.
Post by g***@web.de
$ > sudo port install x11
Error: Port x11 not found
What's wrong?
There is no port called "x11". There is a port "xorg-libX11"; perhaps
that's what you meant.
No, port itself or the configured package meant that, not me. But
because of these errormessages I tried that nevertheless.

Here a translated Message with additional Informations I wrote in a
german mac forum (without any answer):

In the first place I setup the xserver from apple, and had build
successfully a working macports x11 environment.

Then I tried to install and run xpdf. It installed fine but didn't run.
I think I confused the installation by following the workaround to add
+system_x11 to the variants.conf. I guess port searches now in the
wrong path and messed up some dependencies.

How can I switch in this situation successfuly to xorg-server and use
it over apples x11?

The apple xserver under Tiger is a bit outdated isn't it?Some apps won't
compile against the apple x11 under PPC.

http://www.nabble.com/X11-problem--td21904512.html
Quote:
"Yes, this is expected behaviour. X had historically been an exception
to
the "MacPorts uses its own stuff" rule, for various reasons. Those
reasons no longer apply, so the exception is gone.

If you really want the old behaviour back, you can use the +system_x11
variant (best to add it to variants.conf)."

I'm afraid, that it wasn't that good to follow that workaround...

The List of installed packages:
http://paste.pocoo.org/show/111318/

If I start apples X11 (You can see the different path to X):
Code:

$ > /usr/X11R6/bin/X

XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
[DRI] screen 0 installation complete
Screen 0 added: 1600x1200 @ (0,0)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!

Quitting XDarwin...

It won't start by startx due to the wrong searchpath:
$ > startx

bootstrap_look_up(): 1102l
font_cache: Scanning user font directories to generate X11 font caches
font_cache: Updating FC cache
xauth: creating new authority file /Users/michels/.serverauth.13833

xinit: No such file or directory (errno 2): no
server "/opt/local/bin/X" in PATH

Use the -- option, or make sure that /opt/local/bin is in your path and
that "/opt/local/bin/X" is a program or a link to the right type of
server
for your display. Possible server names include:

Xorg Common X server for most displays
Xquartz Mac OSX Quartz displays.
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server

font_cache: Done
giving up.
xinit: No such file or directory (errno 2): unable to connect to X
server
xinit: No such process (errno 3): Server error.


I'm not able to install xorg-libX11 because it's already active (!):
Code:

$ > sudo port install xorg-libX11
---> Fetching xorg-libX11
---> Attempting to fetch libX11-1.2.tar.bz2 from
http://www.x.org/pub/individual/lib/
---> Verifying checksum(s) for xorg-libX11
---> Extracting xorg-libX11
---> Configuring xorg-libX11
---> Building xorg-libX11
---> Staging xorg-libX11 into destroot
---> Installing xorg-libX11 @1.2_0
---> Activating xorg-libX11 @1.2_0
Error: Target org.macports.activate returned: Image error: Another
version of this port (xorg-libX11 @1.2_0+system_x11) is already active.
Error: Status 1 encountered during processing.


I'm not able to install xorg-server because x11 is not found:
Code:

$ > sudo port install xorg-server
---> Configuring xorg-server
Error: Target org.macports.configure returned: configure failure: shell
command "
cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2-apple40"
&& ./configure --prefix=/opt/local --with-mesa-source=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2-apple40/../Mesa-7.0.4 --with-apple-applications-dir=/Applications/MacPorts --with-fontdir=/opt/local/share/fonts --with-apple-application-id=org.macports.X11 "
returned error 1
Command output: checking for library containing gethostbyname... none
required
checking for main in -lws2_32... no
checking for getaddrinfo... yes
checking if IPv6 support should be built... yes
checking for struct sockaddr_in.sin_len... yes
checking for socklen_t... yes
checking if Xtrans should support os-specific local connections... no
checking for authdes_seccreate... no
checking for authdes_create... no
checking if Secure RPC authentication ("SUN-DES-1") should be
supported... no
checking for /opt/local/share/sgml/X11/defs.ent... no
checking for linuxdoc... no
checking for ps2pdf... /opt/local/bin/ps2pdf
checking Whether to build documentation... no
checking Whether to build pdf documentation... yes
checking whether to build Xquartz... yes
checking for PIXMAN... yes
checking for DBUS... no
checking for HAL... no
checking for XLIB... configure: error: Package requirements (x11) were
not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XLIB_CFLAGS
and XLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Error: Status 1 encountered during processing.

If I try to upgrade outdated I get this:
http://paste.pocoo.org/show/111319/

The programs and configure scripts are searching X
in /opt/local/bin/X, /opt/local but it resides (apples) in /usr/X11R6/

How can I adjust this, and fix my ports installation to use the newest
xorg-server?

Thank you in advance!

Kind regards

Gerhard
William Davis
2009-04-06 22:34:55 UTC
Permalink
Post by g***@web.de
$ > sudo port install xorg-libX11
---> Fetching xorg-libX11
---> Attempting to fetch libX11-1.2.tar.bz2 from
http://www.x.org/pub/individual/lib/
---> Verifying checksum(s) for xorg-libX11
---> Extracting xorg-libX11
---> Configuring xorg-libX11
---> Building xorg-libX11
---> Staging xorg-libX11 into destroot
Error: Target org.macports.activate returned: Image error: Another
Error: Status 1 encountered during processing.
Someone else can give you a more authoritative answer, but if you wish
you can try the following:
Do
port installed X*

This will give you a list of the "X" programs you installed. At least
See the "+system_x11" tag? For each port (program) with a
"+system_x11" tag do this:
sudo port -d deactivate xprogram+system_x11
where xprogram equals the name of the program.
then reinstall each of the programs leaving off the "+system_x11" tag,
for example
sudo port -d install xorg-libX11

good luck
William Davis
frstanATbellsouthDOTnet
Mac OS X.5.6 Darwin 9.5.0
XQuartz 2.3.3_rc4 (xorg-server 1.4.2-apple40)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non
Gerhard G.
2009-04-07 19:30:14 UTC
Permalink
Post by William Davis
[...]
port installed X*
This will give you a list of the "X" programs you installed. At least
See the "+system_x11" tag? For each port (program) with a
sudo port -d deactivate xprogram+system_x11
where xprogram equals the name of the program.
then reinstall each of the programs leaving off the "+system_x11"
tag, for example
sudo port -d install xorg-libX11
Thank you very much William!
Your hints were right, and my macports system is ok again. All
+system_x11 variants (also the line in variants.conf) are deactivated
and reinstalled. I used grep and awk to get a script to do so according
your description.

I thank also Jeremy Huddleston to shed some light on the macports
system. I use macports on Tiger 10.4.11 PPC, and if I gonna switch to
leopard I'll try his propoasal to install macports with the Xquartz
Server from apple. I think that is not an option for me with tiger.

xdvi etc. are working again, but xpdf gives new error messages (but no
longer X related.):

:~]$ > xpdf &
[1] 18214
:~]$ > Error: No paper information available - using defaults
Error: No display font for 'Courier'
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'
Error: Couldn't find per display information

[1]+ Exit 1 xpdf


I'm using X11.app from apple as an xserver, because startx doesn't work:

xinit:  No such file or directory (errno 2):  no
server "/opt/local/bin/X" in PATH

Is this as expected?

Thank you!

Kind regards

Gerhard
Jeremy Huddleston
2009-04-07 21:31:29 UTC
Permalink
Post by Gerhard G.
Post by William Davis
[...]
port installed X*
This will give you a list of the "X" programs you installed. At least
See the "+system_x11" tag? For each port (program) with a
sudo port -d deactivate xprogram+system_x11
where xprogram equals the name of the program.
then reinstall each of the programs leaving off the "+system_x11"
tag, for example
sudo port -d install xorg-libX11
Thank you very much William!
Your hints were right, and my macports system is ok again. All
+system_x11 variants (also the line in variants.conf) are deactivated
and reinstalled. I used grep and awk to get a script to do so
according
your description.
I thank also Jeremy Huddleston to shed some light on the macports
system. I use macports on Tiger 10.4.11 PPC, and if I gonna switch to
leopard I'll try his propoasal to install macports with the Xquartz
Server from apple. I think that is not an option for me with tiger.
xdvi etc. are working again, but xpdf gives new error messages (but no
You may have some lingering applications linking against the wrong
libs. Do a quick check using:

cd /opt/local/lib
for f in *dylib; do otool -L $f | grep -q /usr/X11 && echo $f; done

cd /opt/local/bin
for f in *; do otool -L $f | grep -q /usr/X11 && echo $f; done

If nothing is output, you're golden. Otherwise you should uninstall
the ports providing the files that are echoed back and reinstall them.
Post by Gerhard G.
:~]$ > xpdf &
[1] 18214
:~]$ > Error: No paper information available - using defaults
Error: No display font for 'Courier'
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'
Error: Couldn't find per display information
[1]+ Exit 1 xpdf
Yeah, I get most of that... /shrug ... xpdf still works.
Post by Gerhard G.
xinit: No such file or directory (errno 2): no
server "/opt/local/bin/X" in PATH
Is this as expected?
Don't use startx. Install the xorg-server port and just launch /
Applications/MacPorts/X11.app

Still, I'm concerned that you don't have /opt/local/bin/X ... did you
install the xorg-server port? If you want "all" of X, you should run:

sudo port -v install xorg

This will give you the latest X11 apps, X11 server, HW-accelerated
GLX, and the latest quartz-wm... basically exactly what is available
from http://xquartz.macosforge.org for Leopard, but you're able to
build it for Tiger (well I built the quartz-wm since it's closed
source, but everything else you build).

I hope that helps,
Jeremy

Jeremy Huddleston
2009-04-07 07:25:57 UTC
Permalink
Post by g***@web.de
Post by Ryan Schmidt
Post by g***@web.de
I'm completely new to macports, but have experience with linux
debian distributions. I installed and updated apple X11 on a PPC
10.4.11.
Welcome to MacPorts! I'll try to answer your questions below.
Hi Ryan, thank you for diggin in this issue!
Post by Ryan Schmidt
The preferred way to use MacPorts with X11 apps now is to use the
xorg ports that come with MacPorts. You don't need to do anything
special to get these; simply installing the port you want will cause
the required xorg ports to be installed as well.
That's the probnlem I guess. I installed macports following the wiki
guide and therefore installed the Apple x11 server.
But now the preferred way to install x11 apps is xorg-server, because
apples xserver is a bit outdated, right?
Well, if you want to, you can also update the system-provided X11
server here: http://xquartz.macosforge.org

That way you don't have to worry about different X servers on the
system. The +system_x11 variant has actually nothing to do with the X
server. It is just used to determine which X11 LIBRARIES are used
when building applications.
Post by g***@web.de
As I understand some
application doesn't build no more against the apple x11 in ppc. Maybe
like I experienced with xpdf.
That's not true. I'm doing almost all development on my G5 box, so I
assure you that Leopard/ppc is a very well tested X11 environment.
Heck, I now have firefox-3.1b3 running with plugins for video, audio,
and pdfs provided by mozplugger on my ppc box.
Post by g***@web.de
Yes I think everything is installed, but in the wrong path (apple x11
path).
What do you mean by "apple x11 path"? Did you enable the +system_x11
variant? What is the output of:
port list installed | grep xorg
...
Post by g***@web.de
This didn't worked for me, because of the lack of e.g. x11 and xext and
so on. They were installed, but port didn't find them during
configuration of the packages.
My guess is that you probably mixed and matched building some packages
with and some without the variant. Bad things happen then.
Post by g***@web.de
Post by Ryan Schmidt
Post by g***@web.de
_XFreePixmap referenced from libtk8 expected to be defined in /opt/
local/lib/libX11.6.dylib
collect2: ld returned 1 exit status
make: *** [wish] Error 1
Full report here: http://paste.pocoo.org/show/110573/
$ > dyld: Library not loaded: /opt/local/lib/libXt.6.dylib
Referenced from: /opt/local/bin/xpdf
Reason: image not found
http://lists.macosforge.org/pipermail/macports-users/2007-November/
006989.html
I don't know specifically what's going on here but would first try
rebuilding the affected ports.
/opt/local/lib/libX11.6.dylib isn't there as expected, but
under /usr/X11R6/.
Well, you linked xpdf against X11 libs in /opt/local/lib, then deleted
them by adding the +system_x11 variant. You need to unset that
variant and reinstall all the ports that you installed with that
variant, then reinstall them.
Post by g***@web.de
Post by Ryan Schmidt
Post by g***@web.de
No package 'x11' found
It asks for the package x11
That's a pkg-config package name. It's looking for libX11.
Post by g***@web.de
Here a translated Message with additional Informations I wrote in a
In the first place I setup the xserver from apple, and had build
successfully a working macports x11 environment.
Then I tried to install and run xpdf. It installed fine but didn't run.
Why didn't it run? Was this the libXt bug that I fixed about a month
ago?
Post by g***@web.de
I think I confused the installation by following the workaround to add
+system_x11 to the variants.conf. I guess port searches now in the
wrong path and messed up some dependencies.
yes, that is what got your system in this borked state.
Post by g***@web.de
How can I switch in this situation successfuly to xorg-server and use
it over apples x11?
I'd recommend this if you're on Leopard:

rm -rf /opt/local
Install http://xquartz.macosforge.org
Install Macports
sudo port -v selfupdate
sudo port -v install xpdf

be happy.
Post by g***@web.de
The apple xserver under Tiger is a bit outdated isn't it?Some apps won't
compile against the apple x11 under PPC.
That's correct. Some apps look for the pkg-config files. It's a PITA
to support the old monolithic X11. If you're on Tiger, your best bet
is to NEVER THINK about using system_x11 unless you intend to live
with or fix all the bugs you're gonna run in to.
Post by g***@web.de
http://www.nabble.com/X11-problem--td21904512.html
"Yes, this is expected behaviour. X had historically been an exception
to
the "MacPorts uses its own stuff" rule, for various reasons. Those
reasons no longer apply, so the exception is gone.
If you really want the old behaviour back, you can use the +system_x11
variant (best to add it to variants.conf)."
I'm afraid, that it wasn't that good to follow that workaround...
As mentioned, it's al ok workaround for most ports, but you can't
casually switch between that variant being on and off without
rebuilding your system.
Gerhard G.
2009-04-07 19:36:03 UTC
Permalink
Am Dienstag, 7. April 2009 schrieb Jeremy Huddleston:
Hello Jeremy,
thank you very much for your answer. You shed some light on the whole
stuff for me.
I'm not I'm on Tiger/PPC
Post by Jeremy Huddleston
rm -rf /opt/local
Install http://xquartz.macosforge.org
Install Macports
sudo port -v selfupdate
sudo port -v install xpdf
be happy.
Thank you I'll try that when I'll switch to Leopard/Intel.
Post by Jeremy Huddleston
Post by g***@web.de
The apple xserver under Tiger is a bit outdated isn't it?Some apps
  won't
compile against the apple x11 under PPC.
That's correct.  Some apps look for the pkg-config files.  It's a
PITA   to support the old monolithic X11.  If you're on Tiger, your
best bet is to NEVER THINK about using system_x11 unless you intend
to live with or fix all the bugs you're gonna run in to.
Thank you for this hint too.
Post by Jeremy Huddleston
Post by g***@web.de
http://www.nabble.com/X11-problem--td21904512.html
"Yes, this is expected behaviour. X had historically been an
exception to
the "MacPorts uses its own stuff" rule, for various reasons. Those
reasons no longer apply, so the exception is gone.
If you really want the old behaviour back, you can use the
+system_x11 variant (best to add it to variants.conf)."
I'm afraid, that it wasn't that  good to follow that workaround...
As mentioned, it's al ok workaround for most ports, but you can't  
casually switch between that variant being on and off without  
rebuilding your system.
I'm not able to fix those bugs on my own, and prefer to stay with a
proper installation ;-)

I might answer more detailed after easter.

Thanks a lot.
Kind regards

Gerhard G.
Loading...