DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th October 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default Can't open PDF files, FBSD 7.2-release

On my laptop running 7.2-release, I can no longer open pdf files in acroread or okular (running KDE). I used to be able to use either but now even the simplest pdf files do not open. Acroread crashes with
Code:
:1: error: unexpected character `^', expected keyword - e.g. `style'
terminate called after throwing an instance of 'RSException'
And okular crashes with
Code:
okular: Fatal IO error: client killed
I can start either of them on their own (without a pdf file) without a problem; however as soon as I try to open a pdf file they crash.
Reply With Quote
  #2   (View Single Post)  
Old 3rd December 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

Not sure if anyone else has run into this problem, but after I recently upgraded all my Qt4 ports, I found that I can now again open PDFs successfully with Okular.
Now all my Qt4 ports are at 4.5.3. Acroread9 still doesn't work correctly, but at least I can open PDFs with something other than Acrobat in wine.
Reply With Quote
  #3   (View Single Post)  
Old 3rd December 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

Acrobat reader is a Linux application, so upgrading QT4 doesn't make any difference.

From memory, I believe acroread uses some shell script to start, the real binary living somewhere in /usr/local/Adobe/Reader9/Reader/freebsd/bin/
I remember having problems with the script while launching the application directly did work.

Also make sure you brandelf(1) the executable as Linux.
Reply With Quote
  #4   (View Single Post)  
Old 3rd December 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

Quote:
Originally Posted by Carpetsmoker View Post
Acrobat reader is a Linux application, so upgrading QT4 doesn't make any difference.

From memory, I believe acroread uses some shell script to start, the real binary living somewhere in /usr/local/Adobe/Reader9/Reader/freebsd/bin/
I remember having problems with the script while launching the application directly did work.

Also make sure you [man=1]brandelf[/man] the executable as Linux.
I didn't really expect the Qt4 updates to help acrobat for the reason you stated, but I was happy to see it at least solved the problem with Okular (and every other pdf reader I tried for that matter) not being able to keep a pdf open for more than 10 seconds.

And now that I have Okular working again I'm a lot less concerned about acrobat

I can't for the life of me explain why they both stopped working simultaneously, though.
Reply With Quote
  #5   (View Single Post)  
Old 19th December 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default

I just noticed that the following lines appear in /var/log/messages after I attempt to open a pdf in acrobat (and it fails):
Code:
Dec 19 13:25:32 r32-1600 kernel: linux: pid 5367 (rm): syscall fstatat64 not implemented
Dec 19 13:25:42 r32-1600 kernel: linux: pid 5337 (acroread): syscall inotify_init not implemented
I'm not sure what to make of the fstatat64 - I'm running a P4m processor in this system which is of course not a 64bit CPU.

Searching around did lead me to http://old.nabble.com/Acroread-9-td22984582.html

But that didn't lead to a solution. Any ideas?
Reply With Quote
  #6   (View Single Post)  
Old 23rd December 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

I have been getting the same error with Acroread 9 even on FreeBSD 8.0 i386 with linux_base-f10. Acroread 8 works well, though.
Reply With Quote
  #7   (View Single Post)  
Old 23rd December 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

I've had no problems running acroread9 with linux_base-fc4 on FreeBSD 7 not so long ago .

Maybe a note to the maintainer might be in order?
Reply With Quote
  #8   (View Single Post)  
Old 24th December 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

I found an open PR (ports/135486) that documents this. Someone posted that acroread9 works with linux_base-fc4 but not linux_base-f8 [or f10].
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning Portsnap files in /var/db/portsnap/files bram85 FreeBSD Ports and Packages 2 5th October 2009 09:54 AM
dvb-t on FBSD? michaelrmgreen FreeBSD General 3 15th May 2009 10:43 AM
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade Marci FreeBSD Installation and Upgrading 2 23rd July 2008 02:10 PM
How to view & open DOCX files in Ubuntu/OpenOffice. unixdude Other BSD and UNIX/UNIX-like 0 11th July 2008 08:38 AM
Eta Fbsd 7.1? michaelrmgreen FreeBSD General 7 7th June 2008 05:56 AM


All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick