Re: Need help for acroread8

2009-03-22 Thread Boris Samorodov
Hi,


Manish Jain  writes:

> Hello Boris,

You are top-posting again. :-(

> I can't really explain how, but I have got acroread8 up and running on
> my system. All I did was deinstall and reinstall pango and
> linux-pango. I then created the following 2 symlinks :
>
> /compat/linux/etc/pango/pango.modules -> 
> /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules
>
> /compat/linux/usr/bin/pango-querymodules -> 
> /compat/linux/usr/bin/pango-querymodules-32
>
> Then I ran /compat/linux/usr/bin/pango-querymodules as root, which
> populated pango.modules.

Neither of those files should present at the system if you install
linux programs via ports/packages (if they do, please, reproduce it
and file a PR):
. /compat/linux/etc/pango/pango.modules;
. /compat/linux/usr/bin/pango-querymodules;
. /compat/linux/usr/bin/pango-querymodules.

All those files are autocreated by the port/package:
. /compat/linux/usr/bin/pango-querymodules-32;
. /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules.

> Once that happened, to my surprise, acroread
> fired up and ran seamlessly.

The port system do it for you automatically. Hence, you should
find out how did you manage to get there earlier to not get there
in the future.

> It still gives the warning about the
> missing libgnomebreakpad.so, like all other linux inherited
> applications do, but that appears to be harmless.
>
> Thanks for all the help.
>
> Regards
> Manish Jain
> invalid.poin...@gmail.com
>
>
>
> Boris Samorodov wrote:
>> Manish Jain  writes:
>>
>>> Hello Boris,
>>>
>>> I followed your leads and I am now left with the following :
>>
>> Please, show what exactly you have done. And give output of
>> two commands from those URLs. And try to not top-post. Otherwise
>> you yourself won't understand the email.
>>
>>> >> Gtk-Message: Failed to load module "gnomebreakpad":
>>> libgnomebreakpad.so: cannot open shared object file: No such file or
>>> directory
>>> >>
>>> >> (acroread:41717): Pango-WARNING **: No builtin or
>>> dynamically loaded modules
>>> >> were found. Pango will not work correctly. This probably means
>>> >> there was an error in the creation of:
>>> >>   '/etc/pango/pango.modules'
>>> >> You may be able to recreate this file by running pango-querymodules.
>>> >>
>>> >> (acroread:41717): Pango-CRITICAL **:
>>> _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed
>>> >>
>>> >> Pango-ERROR **: file shape.c: line 75 (pango_shape):
>>> assertion failed: (glyphs->num_glyphs > 0)
>>> >> aborting...
>>> >>
>>> >> [1]+  Exit 1  acroread
>>>
>>> 'locate libgnomebreakpad' gives :
>>> /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
>>> /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so
>>>
>>> So, these would be the FreeBSD versions of the library and not the
>>> linux ones, which would be the ones acroread would be looking for.
>>> However this does not seem to a fatal error. linux-ymessenger also
>>> reports the same error but loads and runs successfully.
>>>
>>> Effectively, I am left with the pango error, which is fatal indeed and
>>> I have no idea how to get around. I would give up on acroread and try
>>> something else but for 2 reasons :
>>>
>>> 1) acroread is more sophisticated than anything else available
>>> 2) this has partly become an ego issue at my end.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks in advance
>>> Manish Jain
>>> invalid.poin...@gmail.com
>>>
>>>
>>> Boris Samorodov wrote:
 On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:

> Anyway, if anyone has any clue how to get me out of this acroread
> mess, I would be really grateful.
 Those URLs may be a good start for you:
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


 WBR
>>
>> WBR

WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-21 Thread Manish Jain


Hello Boris,

I can't really explain how, but I have got acroread8 up and running 
on my system. All I did was deinstall and reinstall pango and 
linux-pango. I then created the following 2 symlinks :


/compat/linux/etc/pango/pango.modules -> 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules


/compat/linux/usr/bin/pango-querymodules -> 
/compat/linux/usr/bin/pango-querymodules-32


Then I ran /compat/linux/usr/bin/pango-querymodules as root, which 
populated pango.modules. Once that happened, to my surprise, 
acroread fired up and ran seamlessly. It still gives the warning 
about the missing libgnomebreakpad.so, like all other linux 
inherited applications do, but that appears to be harmless.


Thanks for all the help.

Regards
Manish Jain
invalid.poin...@gmail.com



Boris Samorodov wrote:

Manish Jain  writes:


Hello Boris,

I followed your leads and I am now left with the following :


Please, show what exactly you have done. And give output of
two commands from those URLs. And try to not top-post. Otherwise
you yourself won't understand the email.


>> Gtk-Message: Failed to load module "gnomebreakpad":
libgnomebreakpad.so: cannot open shared object file: No such file or
directory
>>
>> (acroread:41717): Pango-WARNING **: No builtin or  
dynamically loaded modules
>> were found. Pango will not work correctly. This probably means
>> there was an error in the creation of:
>>   '/etc/pango/pango.modules'
>> You may be able to recreate this file by running pango-querymodules.
>>
>> (acroread:41717): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed
>>
>> Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs->num_glyphs > 0)
>> aborting...
>>
>> [1]+  Exit 1  acroread

'locate libgnomebreakpad' gives :
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

So, these would be the FreeBSD versions of the library and not the
linux ones, which would be the ones acroread would be looking for.
However this does not seem to a fatal error. linux-ymessenger also
reports the same error but loads and runs successfully.

Effectively, I am left with the pango error, which is fatal indeed and
I have no idea how to get around. I would give up on acroread and try
something else but for 2 reasons :

1) acroread is more sophisticated than anything else available
2) this has partly become an ego issue at my end.

Any help would be greatly appreciated.

Thanks in advance
Manish Jain
invalid.poin...@gmail.com


Boris Samorodov wrote:

On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:


Anyway, if anyone has any clue how to get me out of this acroread
mess, I would be really grateful.

Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR


WBR

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-20 Thread Boris Samorodov
Manish Jain  writes:

> Hello Boris,
>
> I followed your leads and I am now left with the following :

Please, show what exactly you have done. And give output of
two commands from those URLs. And try to not top-post. Otherwise
you yourself won't understand the email.

>   >> Gtk-Message: Failed to load module "gnomebreakpad":
> libgnomebreakpad.so: cannot open shared object file: No such file or
> directory
>   >>
>   >> (acroread:41717): Pango-WARNING **: No builtin or
> dynamically loaded modules
>   >> were found. Pango will not work correctly. This probably means
>   >> there was an error in the creation of:
>   >>   '/etc/pango/pango.modules'
>   >> You may be able to recreate this file by running pango-querymodules.
>   >>
>   >> (acroread:41717): Pango-CRITICAL **:
> _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed
>   >>
>   >> Pango-ERROR **: file shape.c: line 75 (pango_shape):
> assertion failed: (glyphs->num_glyphs > 0)
>   >> aborting...
>   >>
>   >> [1]+  Exit 1  acroread
>
> 'locate libgnomebreakpad' gives :
> /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
> /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so
>
> So, these would be the FreeBSD versions of the library and not the
> linux ones, which would be the ones acroread would be looking for.
> However this does not seem to a fatal error. linux-ymessenger also
> reports the same error but loads and runs successfully.
>
> Effectively, I am left with the pango error, which is fatal indeed and
> I have no idea how to get around. I would give up on acroread and try
> something else but for 2 reasons :
>
> 1) acroread is more sophisticated than anything else available
> 2) this has partly become an ego issue at my end.
>
> Any help would be greatly appreciated.
>
> Thanks in advance
> Manish Jain
> invalid.poin...@gmail.com
>
>
> Boris Samorodov wrote:
>> On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:
>>
>>> Anyway, if anyone has any clue how to get me out of this acroread
>>> mess, I would be really grateful.
>>
>> Those URLs may be a good start for you:
>> http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
>> http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html
>>
>>
>> WBR

WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-20 Thread Manish Jain


Hello Boris,

I followed your leads and I am now left with the following :

	>> Gtk-Message: Failed to load module "gnomebreakpad": 
libgnomebreakpad.so: cannot open shared object file: No such file or 
directory

>>
>> (acroread:41717): Pango-WARNING **: No builtin or  
dynamically loaded modules
>> were found. Pango will not work correctly. This probably means
>> there was an error in the creation of:
>>   '/etc/pango/pango.modules'
>> You may be able to recreate this file by running pango-querymodules.
>>
	>> (acroread:41717): Pango-CRITICAL **: _pango_engine_shape_shape: 
assertion `PANGO_IS_FONT (font)' failed

>>
	>> Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion 
failed: (glyphs->num_glyphs > 0)

>> aborting...
>>
>> [1]+  Exit 1  acroread

'locate libgnomebreakpad' gives :
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

So, these would be the FreeBSD versions of the library and not the 
linux ones, which would be the ones acroread would be looking for.
However this does not seem to a fatal error. linux-ymessenger also 
reports the same error but loads and runs successfully.


Effectively, I am left with the pango error, which is fatal indeed 
and I have no idea how to get around. I would give up on acroread 
and try something else but for 2 reasons :


1) acroread is more sophisticated than anything else available
2) this has partly become an ego issue at my end.

Any help would be greatly appreciated.

Thanks in advance
Manish Jain
invalid.poin...@gmail.com


Boris Samorodov wrote:

On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:


Anyway, if anyone has any clue how to get me out of this acroread
mess, I would be really grateful.


Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-19 Thread Boris Samorodov
On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:

> Anyway, if anyone has any clue how to get me out of this acroread
> mess, I would be really grateful.

Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-17 Thread Ricardo Jesus

Manish Jain wrote:


Hi all,

After browsing mailing lists for hours, I was finally able to install 
acroread8 on my FreeBSD 7.1R system. But it STILL does not start. 
Attached below is the output (repeated messages removed) :



Gtk-Message: Failed to load module "gnomebreakpad":
 > libgnomebreakpad.so: cannot open shared object file: No such file or 
directory


(acroread:9218): GdkPixbuf-WARNING **: Cannot open pixbuf loader 
module file '/etc/gtk-2.0/gdk-pixbuf.loaders':

 > No such file or directory


(acroread:9218): GdkPixbuf-WARNING **: Error loading XPM image loader: 
Image type 'xpm' is not supported


(acroread:9218): GLib-GObject-CRITICAL **: g_object_ref: assertion 
`G_IS_OBJECT (object)' failed


(acroread:9218): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion 
`GDK_IS_PIXBUF (pixbuf)' failed


(acroread:9218): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: 
assertion `pixbuf != NULL' failed


(acroread:9218): Pango-WARNING **: No builtin or dynamically loaded 
modules

were found. Pango will not work correctly. This probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running pango-querymodules.

(acroread:9218): Pango-CRITICAL **: _pango_engine_shape_shape: 
assertion `PANGO_IS_FONT (font)' failed


Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: 
(glyphs->num_glyphs > 0)

aborting...

[2]+  Exit 1  acroread


My loader.conf has linux_load=YES, rc.conf has linux_enable=YES, 
linprocfs_enable=YES and fstab has an entry for linproc. I downloaded 
the latest ports tarball yesterday, did a 'portupgrade -rf 
emulators/linux_base-fc4', and [re]installed a number of ports (pango, 
linux-pango, cairo, linux-cairo, gdk-pixbuf, linux-gdk-pixbuf, pixman 
and may be a couple more). Then I installed acroread8.  But it still 
does not start, as you can from the message above.


Actually, there is at least one bug in the port as the message reveals. 
At runtime, acroread8 tries to look for /etc/pango/pango.modules, which 
- because of the port's linux heritage - translates to 
/compat/linux/etc/pango/pango.modules. This path is incorrect, at least 
with linux_base-fc4 - with which the correct  path turns out to be 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules in my case. 
The user has to fix it with a symlink himself.


I am beginning to wonder why can't FreeBSD simply put on the 
distribution media binary packages for programs that almost everyone 
uses these days (thunderbird, acroread) and which take an immense amount 
of time/effort to build. The FreeBSD DVD is more than half empty and I 
am sure nobody would mind spending a couple of hours extra at 
download-time what possibly might save a couple of weeks and a whole lot 
of headaches at install-time.


Anyway, if anyone has any clue how to get me out of this acroread mess, 
I would be really grateful.


Thanks in advance
Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


I like epdfview, xpdf and kpdf (under KDE). Under Gnome epdfview and 
evince are very good alternative.


Personally I've never used Acrobat Reader in any Unix-like system, but 
some people do have specific needs. If that's you case please raise a 
PR, otherwise just give a chance to other applications.


If want to save building time stick with packages (smaller download and 
no compiling) but don't mix ports and packages if possible.


Regards,
Ricardo Jesus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-17 Thread Albert Shih
 Le 17/03/2009 à 06:33:23+0530, Manish Jain a écrit
> 
> Hi all,
> 
> After browsing mailing lists for hours, I was finally able to 
> install acroread8 on my FreeBSD 7.1R system. But it STILL does not 
> start. Attached below is the output (repeated messages removed) :
> 
use kpdf (in /usr/ports/graphics/kdegraphics3) or okular
(/usr/ports/graphics/kdegraphics4).

It'work very fine. 

I drop acroread since 5.x

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Mar 17 mar 2009 15:57:26 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Need help for acroread8

2009-03-16 Thread bf




--- On Mon, 3/16/09, Manish Jain  wrote:

> From: Manish Jain 
> Subject: Need help for acroread8
> To: freebsd-questions@freebsd.org, bf20...@yahoo.com
> Date: Monday, March 16, 2009, 9:03 PM
> Hi all,
> 
> After browsing mailing lists for hours, I was finally able
> to install acroread8 on my FreeBSD 7.1R system. But it STILL
> does not start. Attached below is the output (repeated
> messages removed) :
> 
> > Gtk-Message: Failed to load module
> "gnomebreakpad":
> > libgnomebreakpad.so: cannot open shared object file:
> No such file or directory
> > 
> > (acroread:9218): GdkPixbuf-WARNING **: Cannot open
> pixbuf loader module file
> '/etc/gtk-2.0/gdk-pixbuf.loaders':
> > No such file or directory
> > 
> > (acroread:9218): GdkPixbuf-WARNING **: Error loading
> XPM image loader: Image type 'xpm' is not supported
> > 
> > (acroread:9218): GLib-GObject-CRITICAL **:
> g_object_ref: assertion `G_IS_OBJECT (object)' failed
> > 
> > (acroread:9218): Gdk-CRITICAL **:
> gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF
> (pixbuf)' failed
> > 
> > (acroread:9218): GdkPixbuf-CRITICAL **:
> gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
> > 
> > (acroread:9218): Pango-WARNING **: No builtin or
> dynamically loaded modules
> > were found. Pango will not work correctly. This
> probably means
> > there was an error in the creation of:
> >   '/etc/pango/pango.modules'
> > You may be able to recreate this file by running
> pango-querymodules.
> > 
> > (acroread:9218): Pango-CRITICAL **:
> _pango_engine_shape_shape: assertion `PANGO_IS_FONT
> (font)' failed
> > 
> > Pango-ERROR **: file shape.c: line 75 (pango_shape):
> assertion failed: (glyphs->num_glyphs > 0)
> > aborting...
> > 
> > [2]+  Exit 1  acroread
> 
> My loader.conf has linux_load=YES, rc.conf has
> linux_enable=YES, linprocfs_enable=YES and fstab has an
> entry for linproc. I downloaded the latest ports tarball
> yesterday, did a 'portupgrade -rf
> emulators/linux_base-fc4', and [re]installed a number of
> ports (pango, linux-pango, cairo, linux-cairo, gdk-pixbuf,
> linux-gdk-pixbuf, pixman and may be a couple more). Then I
> installed acroread8.  But it still does not start, as you
> can from the message above.
> 
> Actually, there is at least one bug in the port as the
> message reveals. At runtime, acroread8 tries to look for
> /etc/pango/pango.modules, which - because of the port's
> linux heritage - translates to
> /compat/linux/etc/pango/pango.modules. This path is
> incorrect, at least with linux_base-fc4 - with which the
> correct  path turns out to be
> /compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules
> in my case. The user has to fix it with a symlink himself.
> 
> I am beginning to wonder why can't FreeBSD simply put
> on the distribution media binary packages for programs that
> almost everyone uses these days (thunderbird, acroread) and
> which take an immense amount of time/effort to build. The
> FreeBSD DVD is more than half empty and I am sure nobody
> would mind spending a couple of hours extra at download-time
> what possibly might save a couple of weeks and a whole lot
> of headaches at install-time.
> 
> Anyway, if anyone has any clue how to get me out of this
> acroread mess, I would be really grateful.
> 
> Thanks in advance
> Manish Jain
> invalid.poin...@gmail.com


The DVD is new. Until fairly recently, only CDs were built, and
so the people making the distribution were somewhat conservative
in their choice of software to include.  And with a big DVD
image both users and FreeBSD servers will have to cope with more
network traffic. Also, everyone has their own ideas about what
to include, and you can't satisfy everyone.  I have been using
FreeBSD for years now and I have never used any of the software
that you mention.

In this case, though, there is another constraint: the Adobe
software has a more restrictive license which forbids
redistribution, without going through the trouble of 
obtaining a Distribution License Agreement, renewing the
license, determining whether you are in complicance, etc, etc.
The FreeBSD project is generally opposed to using such software,
and in any case they don't want to be burdened with legal
rigmarole and expense.  So you should complain to Adobe (good
luck! ;) ) about this, not FreeBSD.  (If you do, you can tell
Adobe to get off their asses and build native FreeBSD binaries,
so that you won't have to jump through all these hoops.)

Have you examined your alternatives?  There are a number of other
PDF readers in Ports that don't have restrictive licenses, and
don't require Linux emulation, and will serve just as well except
perhaps on some very new PDF files with special features that
aren't all that commmon and may not work anyway:

1) print/ghostscript, either by itself, or with one of it's many front-ends:
print/gv
print/gspdf
print/gsview
...

2) a graphics/poppler based front-end:
graphics/epdfview
graphics/evince
...

3) graphics/xpdf

4) print/pdf-render