Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 |
acroread *****.pdf dirname: fehlender Operand „dirname --help“ gibt weitere Informationen. |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Mati« (16.04.2013, 15:53)
++Acroread habe ich gar nicht auf dem System. Es gibt genügend gute Open-Source Alternativen zum Anzeigen der PDF's
...
boospy,Leider gibt es viel Gründe um Adobe zu verwenden. Zum einem wäre da das nette Ausdrucken von Dokumenten, was je nach PDFversion große Probleme bereiten kann. Zum anderen wäre dann das Betrachten von Dokumenten. Was von PDFs die mit dem ganz neuem Adobe erstellt wurden auch nur mit dem Adboereader möglich ist. Z.B. wäre mal die Firma tdech.at. Diese hat PDF im Anhang mit man mit Opensourcesoftware "noch" nicht öffnen kann.
Zitat
Hast LDAP?
Zitat
Wie schaut es aus, bez. locale problem -> dirname: missing operand Klappt es nach dem bereitstellen der fehlenden locale?
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Mati« (15.04.2013, 22:01)
acroread is in /opt/bin/ und das ist dann ein Symlink auf /opt/Adobe/Reader9/bin/acroread und DAS ist ein Shell-Script. Dieses Shell Script macht dann ziemlich konfuses Script-Fu und startet letztlich den Reader.
Frage: welche Shell hast du denn eingestellt? Was kommt denn da? bash?
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
ldd /opt/Adobe/Reader9/Reader/intellinux/bin/acroread | grep -i found libBIB.so => not found libBIBUtils.so => not found libACE.so => not found libAGM.so => not found libCoolType.so => not found libAXE8SharedExpat.so => not found libJP2K.so => not found libAdobeXMP.so => not found libicuuc.so.36 => not found libResAccess.so => not found |
Quellcode |
|
1 2 3 4 5 6 7 8 |
#!/bin/sh # # Copyright (c) 1996-2007, Adobe Systems Incorporated # All Rights Reserved # set -x ver="9.5.4" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
+ ver=9.5.4 + '[' aaa.pdf = -version ']' ++ echo 9.5.4 ++ cut -d. -f1 + majorRelease=9.0 ++ /bin/pwd + cwd=/home/mat/Downloads + '[' -h /opt/bin/acroread ']' ++ readlink /opt/bin/acroread +++ /bin/pwd ++ OLDPWD=/home/mat/Downloads ++ lfile=/opt/bin/acroread ++ '[' -h /opt/bin/acroread -a -f /opt/bin/acroread ']' +++ dirname /opt/bin/acroread ++ CWD=/opt/bin +++ expr /opt/bin : '\.\.' ++ '[' 0 = 2 ']' +++ basename /opt/bin/acroread ++ lfile=acroread ++ cd /opt/bin +++ /bin/ls -l acroread +++ sed 's/^.*-> *\(.*\) *$/\1/' ++ lfile=/opt/Adobe/Reader9/bin/acroread ++ '[' -h /opt/Adobe/Reader9/bin/acroread -a -f /opt/Adobe/Reader9/bin/acroread ']' ++ '[' -f /opt/Adobe/Reader9/bin/acroread ']' +++ dirname /opt/Adobe/Reader9/bin/acroread ++ CWD=/opt/Adobe/Reader9/bin +++ basename /opt/Adobe/Reader9/bin/acroread ++ lfile=acroread +++ expr /opt/Adobe/Reader9/bin : '\.\.' ++ '[' 0 = 2 ']' ++ cd /opt/Adobe/Reader9/bin +++ /bin/pwd ++ echo /opt/Adobe/Reader9/bin/acroread ++ cd /opt/bin ++ return 0 + ScriptVariable=/opt/Adobe/Reader9/bin/acroread ++ dirname /opt/Adobe/Reader9/bin/acroread + ScriptDirectory=/opt/Adobe/Reader9/bin ++ dirname /opt/Adobe/Reader9/bin + install_dir=/opt/Adobe/Reader9/Reader + '[' '' '!=' set -a '(' '' = set -o '' = set -o '' = set ')' ']' + '[' -z /home/mat/Downloads -o '!' -d /home/mat/Downloads ']' + '[' /home/mat -a -d /home/mat ']' ++ cd / ++ cd /home/mat ++ /bin/pwd + '[' /home/mat = /home/mat/Downloads ']' + '[' /home/mat/Downloads -a -d /home/mat/Downloads ']' ++ cd / ++ cd / ++ /bin/pwd + '[' / = /home/mat/Downloads ']' + PWD=/home/mat/Downloads + export PWD + arg0=/opt/bin/acroread + '[' /opt/bin/acroread ']' + case "$arg0" in + ACRO_ARG0=/opt/bin/acroread + export ACRO_ARG0 + test_install_dir /opt/Adobe/Reader9/Reader ++ cat /opt/Adobe/Reader9/Reader/AcroVersion + '[' 9.5.4 = 9.5.4 ']' + return 0 + ACRO_INSTALL_DIR=/opt/Adobe/Reader9/Reader + export ACRO_INSTALL_DIR ++ uname -s + os_name=Linux ++ uname -r + os_release=3.7.10-gentoo + case "$os_name" in + ACRO_CONFIG=intellinux + export ACRO_CONFIG + '[' -z intellinux ']' + '[' -x /usr/bin/test ']' + TestCmd=/usr/bin/test + /usr/bin/test -e . + TestCmdOption=-e + ACRO_ENABLE_FONT_CONFIG=1 + export ACRO_ENABLE_FONT_CONFIG + '[' -f /opt/Adobe/Reader9/Reader/GlobalPrefs/mozilla_config ']' + greConfigFile=/home/mat/.adobe/Acrobat/9.0/Preferences/acrogre.conf + '[' -f /home/mat/.adobe/Acrobat/9.0/Preferences/acrogre.conf ']' + for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf /etc/gre.d/mozilla.conf '/etc/gre.d/*.conf' /etc/gre.conf + '[' -f /etc/gre.d/gre.conf ']' + for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf /etc/gre.d/mozilla.conf '/etc/gre.d/*.conf' /etc/gre.conf + '[' -f /etc/gre.d/firefox.conf ']' + for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf /etc/gre.d/mozilla.conf '/etc/gre.d/*.conf' /etc/gre.conf + '[' -f /etc/gre.d/mozilla.conf ']' + for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf /etc/gre.d/mozilla.conf '/etc/gre.d/*.conf' /etc/gre.conf + '[' -f '/etc/gre.d/*.conf' ']' + for i in /etc/gre.d/gre.conf /etc/gre.d/firefox.conf /etc/gre.d/mozilla.conf '/etc/gre.d/*.conf' /etc/gre.conf + '[' -f /etc/gre.conf ']' + '[' -z '' ']' ++ gconftool-2 -g /desktop/gnome/url-handlers/http/command ++ cut -d ' ' -f1 + MozPath= + '[' -x '' ']' ++ Which '' ++ OLD_IFS=' ' ++ IFS=: ++ status=1 ++ for i in '$PATH' ++ '[' -x /usr/local/bin/ ']' ++ echo /usr/local/bin/ ++ status=0 ++ break ++ IFS=' ' ++ return 0 + MozPath=/usr/local/bin/ + '[' -n /usr/local/bin/ ']' + '[' -n '' ']' + /usr/bin/test -e /libxul.so + ADOBE_USER_PREFERENCES=/home/mat/.adobe/Acrobat/9.0/Preferences + export ADOBE_USER_PREFERENCES + MOZILLA_FIVE_HOME= + export MOZILLA_FIVE_HOME + LIB_NSPR_PATH=/usr/lib/mps/ + ACRO_LD_LIBRARY_PATH= + export ACRO_LD_LIBRARY_PATH + case "$ACRO_CONFIG" in ++ prepend /opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars: '' ++ '[' -z '' -o '' = /opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars: ']' ++ echo /opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars: + LD_LIBRARY_PATH=/opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars: + export LD_LIBRARY_PATH ++ basename /opt/Adobe/Reader9/Reader + directory=Reader + '[' Reader = Reader ']' + cmd=acroread + prod='Adobe Reader' + ACRO_EXEC_CMD=/opt/Adobe/Reader9/Reader/intellinux/bin/acroread + SYNCAPP_EXEC_CMD=/opt/Adobe/Reader9/Reader/intellinux/bin/SynchronizerApp + export SYNCAPP_EXEC_CMD + export ACRO_EXEC_CMD + ACRO_RES_DIR=/opt/Adobe/Reader9/Reader/../Resource + export ACRO_RES_DIR + ACRO_LANG=ENU + export ACRO_LANG + ADOBE_HELP_PATH=/opt/Adobe/Reader9/Reader/../../.. + export ADOBE_HELP_PATH + '[' -n '' ']' + Which gconftool-2 + OLD_IFS=' ' + IFS=: + status=1 + for i in '$PATH' + '[' -x /usr/local/bin/gconftool-2 ']' + for i in '$PATH' + '[' -x /usr/bin/gconftool-2 ']' + for i in '$PATH' + '[' -x /bin/gconftool-2 ']' + for i in '$PATH' + '[' -x /opt/bin/gconftool-2 ']' + for i in '$PATH' + '[' -x /usr/i686-pc-linux-gnu/gcc-bin/4.6.3/gconftool-2 ']' + IFS=' + return 1 + ACRO_AT_ACTIVE=false + export ACRO_AT_ACTIVE + '[' intellinux = intellinux ']' ++ which realplay + ARG0= + '[' false = true ']' + '[' aaa.pdf = -installCertificate ']' + PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.6.3:/opt/Adobe/Reader9/Reader/intellinux/bin + export PATH + rm -rf /home/mat/.adobe/Acrobat/9.0/Preferences/mozilla + mkdir -p /home/mat/.adobe/Acrobat/9.0/Preferences/mozilla + cp -f /opt/Adobe/Reader9/Reader/intellinux/mozilla/prefs.js /home/mat/.adobe/Acrobat/9.0/Preferences/mozilla/prefs.js + '[' aaa.pdf = -DEBUG ']' + '[' -f /opt/Adobe/Reader9/Reader/intellinux/bin/acroread ']' + LaunchBinary /opt/Adobe/Reader9/Reader/intellinux/bin/acroread aaa.pdf + exec /opt/Adobe/Reader9/Reader/intellinux/bin/acroread aaa.pdf |
Quellcode |
|
1 2 |
+ LD_LIBRARY_PATH=/opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars: + export LD_LIBRARY_PATH |
Zitat
Na, das "set -x" hat nur den Debug eingeschaltet, nicht was behoben ...
Zitat
Ich schätze der Gentoo-Dev Flameeyes http://blog.flameeyes.eu würde wegen sowas Acrobat sofort auf beim internationalen Gerichtshof wegen schwerer Vergehen gegen die IT guten Sitten und Vernunft anzeigen, nachdem er die Festplatte, wo das Teil drauf war, in einem Hochofen vernichtet hat. Das ist wirklich übel.
Zitat
Aber zurück zum Punkt: der Debug Dump sagt leider, das es kein Problem gibt. Ok. Hast du ein anderes PDF, welches sich garantiert (vlt. mit evince oder okular) öffnen läßt?
Zitat
Noch eine andere Möglichkeit wäre mit einem strace da ranzugehen. Dazu wäre der Aufruf von acroread in der "LaunchBinary" function entsprechend mit: strace -o strace.dump ${1+"$@"} statt dem "exec" Aufruf zu modifizieren. Nach dem Aufruf solltest du dann eine Datei "strace.dump" haben, welche die Syscalls vom Adobe beinhaltet ...
... aber ob das schlauer macht?
Zitat
Ich empfehle dir da jetzt ganz, ganz stark auf eine FOSS PDF Variante zu wechseln. Gibt es ein Feature von Adobe, welche die OpenSource Community dir nicht geben kann?
Zitat
Ich bin halt ein wenig verwöhnt von den Seiteneinstellungen mit doppelte seitenansicht etc.