LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2007, 02:08 AM   #1
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Rep: Reputation: 15
Error installing ghostscript viewer


Hi all,
I am using Ubuntu 6.10 for a 64-bit AMD processor. I tried to install Gnome Ghostscript Viewer (ggv) from the Ubuntu repository. Despite a successful install, it does not start. So I tried to install ggv-2.3.2 from source codes. During the configure, I got this error :

checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeui-2.0 >= 1.96.0... Package libgnomeui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found
configure: error: Library requirements (libgnomeui-2.0 >= 1.96.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


libgnome-2.0 was already installed. I also installed the libgnome2-dev files. The libgnome-2.so file is in /usr/lib. There is however no .pc file that I could find.

I had this problem with installing other softwares also before. Any idea how I can resolve this issue?
Best regards,
Shivkumar Iyer.
 
Old 07-10-2007, 07:07 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, try to execute the ggv that you successfully installed using the CLI and figure why it's not working. You will likely get some error messages. Another option is to install bug-buddy. Whatever is causing that to fail may cause other versions to fail as well.

Second, make sure your PKG_CONFIG_PATH variable isn't set to something odd. Execute echo $PKG_CONFIG_PATH and see what that gives you (probably nothing, but that's OK). If it set to something, execute unset PKG_CONFIG_PATH and try again.

Third, metadata files are stored in <libdir>/pkgconfig where <libdir> could be any number of library directories (e.g. /usr/lib, /usr/local/lib, /usr/X11R7/lib, etc.). Look there for the libgnomeui-2.0.pc file. If you're sure that libgnomeui is installed correctly, then just create a metadata file for it. Adjust the information for your system accordingly:
Code:
prefix=/opt/gnome-2.18.0
exec_prefix=${prefix}
libdir=/opt/gnome-2.18.0/lib64
includedir=${prefix}/include
libgnomeui_serverdir=/opt/gnome-2.18.0/lib64/libgnomeui

Name: libgnomeui
Description: libgnomeui
Requires: libgnome-2.0 libgnomecanvas-2.0 gtk+-2.0 gdk-pixbuf-2.0 libart-2.0 gconf-2.0 libbonoboui-2.0 gnome-vfs-2.0 gnome-keyring-1 
Version: 2.18.1
Libs: -L${libdir} -lgnomeui-2 -L/usr/lib64 -lSM -lICE  
Cflags: -I${includedir}/libgnomeui-2.0
 
Old 07-11-2007, 01:46 AM   #3
shivkiyer
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu, Slackware
Posts: 162

Original Poster
Rep: Reputation: 15
Thanks again for replying to query.

Before I could run bug-buddy, I installed all the lib and associated dev files I could find on the ubuntu repository and finally got the ggv to start. Also I find all the libgnome*.pc files in the /usr/lib/pkgconfig directory. Also PKG_CONFIG_PATH has always been void. I checked this immediately after I got the error but forgot to mention it.

But now my Acrobat Reader which was working fine before has stopped working. This is the output from bug-buddy :

Memory status: size: 2834432 vsize: 2834432 resident: 638976 share: 462848 rss: 638976 rss_rlim: -1
CPU usage: start_time: 1184153983 rtime: 3961 utime: 938 stime: 3023 cutime:25368 cstime: 18790 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/acroread'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
0x00002b7b5b72f330 in read () from /lib/libc.so.6
#0 0x00002b7b5b72f330 in read () from /lib/libc.so.6
#1 0x0000000000406af7 in ?? ()
#2 0x0000000000406e7e in ?? ()
#3 0x0000000000403e45 in ?? ()
#4 0x00000000004032ce in ?? ()
#5 0x00000000004032ce in ?? ()
#6 0x000000000040344f in ?? ()
#7 0x00000000004032ce in ?? ()
#8 0x00000000004032ce in ?? ()
#9 0x000000000040336c in ?? ()
#10 0x0000000000403950 in ?? ()
#11 0x00000000004032ce in ?? ()
#12 0x00000000004032ce in ?? ()
#13 0x000000000040336c in ?? ()
#14 0x000000000040336c in ?? ()
#15 0x000000000040336c in ?? ()
#16 0x000000000040336c in ?? ()
#17 0x0000000000403c05 in ?? ()
#18 0x0000000000404087 in ?? ()
#19 0x00000000004032ce in ?? ()
#20 0x000000000040975f in ?? ()
#21 0x00000000004099a9 in ?? ()
#22 0x00002b7b5b68d0c4 in __libc_start_main () from /lib/libc.so.6
#23 0x00000000004020d9 in ?? ()
#24 0x00007fff4f556068 in ?? ()
#25 0x0000000000000000 in ?? ()

I installed xpdf and gpdf from the ubuntu repositories and can open .pdf files.

I have a more general query to ask. So far I have been using ubuntu 32 bit and have got a fairly well developed and stable ubuntu 5.10 32-bit system installed on my amd-64bit. I have been struggling with ubuntu 64-bit system which I installed only two weeks back. I have been using 32 bit systems for close to three years now. I have only recently started compiling softwares from source codes and playing around so my knowledge of the linux OS is still fairly shaky. Is it a little to early to jump into 64-bit systems. Maybe I should experiment with 32-bit systems first?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing ghostview and ghostscript natashadams Linux - Software 1 01-31-2006 04:54 PM
Error in ghostscript proton666 *BSD 1 12-13-2004 05:08 PM
Ghostscript 8.14 stackunderflow error on linux tcma Linux - Software 0 10-22-2004 01:56 PM
CUPS printer ghostscript error! cexshun Linux - Hardware 1 02-13-2003 06:31 PM
installing ghostscript zona Linux - Software 0 01-01-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration