MacPorts versemmelt, xpdf Installation schlug fehl.

F

floogy

Aktives Mitglied
Thread Starter
Dabei seit
01.04.2009
Beiträge
105
Reaktionspunkte
2
Hallo,

ich habe ein Problem mit der MacPortsinstallation auf einem PPC 10.4.11.
Da xpdf nicht wollte hatte ich einen Tipp befolgt, der per force (-f) ausgeführt wurde. Das Problem mit xpdf besteht weiter, hat sich jedoch geändert.

Code:
 $ > 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'
Warning: Widget must be a VendorShell.
Error: attempt to add non-widget child "dsm" to parent "xpdf" which supports only widgets

Ähnlich diesen Bugs: [MacPorts] #18494 #18114 #18118

Ich versuchte das Problem mit diesem Workaround zu lösen:
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

Code:
sudo port -f upgrade geomview

This should also work with other openmotif based ports.

Code:
sudo port -f upgrade geomview

Es gab einige Fehlermeldungen:
Code:
Error: Uninstall perl5 5.8.9_0 failed: Registry error: perl5 5.8.9_0 not registered as
[...]
--->  Staging xorg-libXext into destroot
--->  Unable to uninstall xorg-libXext 1.0.4_0, the following ports depend on it:
--->    ghostscript
--->    xorg-libAppleWM
--->    xorg-libXScrnSaver
--->    xorg-libXTrap
--->    xorg-libXmu
--->    xorg-libXaw
--->    xorg-libXcomposite
--->    xorg-libXevie
--->    xorg-libXfontcache
--->    xorg-libXi
--->    xorg-libXinerama
--->    xorg-libXp
--->    xorg-libXres
--->    xorg-libXtst
--->    xorg-libXv
--->    xorg-libXxf86dga
--->    xorg-libXxf86misc
--->    xorg-libXxf86vm
--->    xorg-libdmx
--->    xorg-libXrandr
--->    xorg-libs
--->    openmotif
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating xorg-libXext @1.0.4_0
--->  Uninstalling xorg-libXext @1.0.4_0
--->  Installing xorg-libXext @1.0.4_0+system_x11
--->  Activating xorg-libXext @1.0.4_0+system_x11
[...]
--->  Building tk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.6/unix" && make all " returned error 2
[...]
_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

Error: Unable to upgrade port: 1
--->  Fetching readline
[...]
--->  Building texlive_base
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build
[...]
libtool: link: cannot find the library `/opt/local/lib/libXmu.la'
make[2]: *** [xdvi-motif.bin] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

Error: Unable to upgrade port: 1
--->  Fetching texlive
[...]

Komplett:


Seit dem bekomme ich folgende Meldung:
Code:
$ > dyld: Library not loaded: /opt/local/lib/libXt.6.dylib
  Referenced from: /opt/local/bin/xpdf
  Reason: image not found

Unsuccessful xfig install

Ich hatte dann das hier probiert:
Code:
sudo port -f upgrade Xaw3d


Ohne Erfolg.

Danach versuchte ich einige xorg-Pakete zu installieren

Im Moment mache ich ein selfupdate und upgrade outdated.
Das läuft scheinbar durch.

Edit: Nein leider doch nicht:

Ist jetzt was größeres durcheinander, oder geht nur der openmotif-Kram etc. nicht?

Wo gibt es eine gute Einführung, einen guten Überblick über macports und diese Art von Problen? Ist das hier das beste Supportforum für macports? Oder gibt es empfehlenswertere in englischer Sprache oder Mailinglisten?

Hier ein locate libXt:
 
Zuletzt bearbeitet von einem Moderator:
Ich habe zuvor auf den apple xserver gesetzt.

Ich denke, dass durch das hinzufügen des Parameters +system_x11, also infolge des Tipps die Abhängigkeiten schief laufen, und x11 an falscher Stelle vermutet wird.

Wie biege ich das hin, dass ich nicht mehr apples x11 nutze sondern xorg-server?

Der apple xserver unter Tiger soll zu veraltet sein, als dass alle Programme damit kompiliert werden können.

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).

Also war ich mit dem Tipp schlecht beraten.

Hier die Liste der installierten Pakete

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...
$ > 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.

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.
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.

Ein upgrade outdated endet so:
paste.pocoo.org

Die Programme suchen X in /opt/local/bin/X, /opt/local es befindet sich aber (apples) in /usr/X11R6/

Wie bekomme ich das wieder gerichtet?
 
Zuletzt bearbeitet von einem Moderator:
Ok, falls es jemanden interessiert, oder jemand anderes ähnliche Probleme bekommt, hier ist die Lösung:
thread.gmane.org/gmane.os.apple.macports.user/14169

Die Frage nach einem guten Einstieg in macports steht noch aus. Bücher, Tutorials und Howtos, sowie Maillists und Forentipps sind willkommen.

Ich kenne bislang eigentlich nur diese Forenabteilung, die hier verlinkte Mailliste und http://guide.macports.org/.
 
Zurück
Oben Unten