Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Trouble installing a tarball!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 01-07-2007   #1 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Seattle WA
Posts: 4
Trouble installing a tarball!

I'm trying to install a math visualization program that comes as surf-1.0.5.tar.gz on my fedora 6. When I run ./configure, I get among lots of things:

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.

but I have gtk version 2+. gtk+-2.0.pc is in /usr/lib/pkgconfig. I just don't know how to get configure to find it, i.e., I have no idea how to set a path to it.

Another thing I get when I run ./configure is:

checking for tiffio.h... no
checking tiff34/tiffio.h usability... no
checking tiff34/tiffio.h presence... no
checking for tiff34/tiffio.h... no

which I presume means I don't have something that'll generate tiffs for me.

I'd really appreciate if anyone could give me a little help with this. As I'm just getting my feet wet with linux, please provide more info/detail than you would normally. Thanks.
Metaphor is offline   Reply With Quote
Old 01-07-2007   #2 (permalink)
Linux User
 
cyberinstru's Avatar
 
Join Date: Jan 2007
Location: India
Posts: 352
issue with installation...

Hi Metaphor,
I think the default prefix is /usr/local. So it searches for GTk in /usr/local/ path. you can either change your PREFIX to /usr while configuring the package.
./configure --prefix=/usr

Ur system lacks tiff library support. You have to install that before installing this package.

Have fun
cyberinstru is offline   Reply With Quote
Old 01-07-2007   #3 (permalink)
Just Joined!
 
Join Date: Jan 2007
Location: Seattle WA
Posts: 4
still getting nowhere

Hi Cyberinstru,

Thanks for responding to my problem.

I tried ./configure --prefix=/usr, but I get the same message as before. It still doesn't find gtk. I tried putting the directory, which I think is /usr/lib/pkgconfig, in /etc/ld.so.conf, but no dice.

A look at installing tiff libraries such as in this forum makes me think that I'm being set up. What I don't get is that GIMP runs on my machine and I can save as tiff, so doesn't that mean I've got tiff libraries somewhere?

Looks like I'll have to put this project on the back burner again.
Metaphor is offline   Reply With Quote
Old 01-07-2007   #4 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,499
You need to install the devel package for gtk 1.x (sometimes its simply called gtk). gtk 1.x is different from gtk 2.x so trying to use gtk 2.x won't resolve the problem.
daark.child is offline   Reply With Quote
Old 01-08-2007   #5 (permalink)
tpl
Linux Newbie
 
Join Date: Jan 2007
Location: catskill, NY
Posts: 210
> gtk+-2.0.pc is in /usr/lib/pkgconfig
> ...how to get configure to find it[?]
> I have no idea how to set a path to it.

export PATH=$PATH:/usr/lib/pkgconfig

or put in yr .profile or .bashrc and execute same
(. .profile). Assuming bash

> set the GTK_CONFIG environment variable to the
> full path to gtk-config

export GTK_CONFIG=/usr/lib/pkgconfig

googling on "tiff34" gives plenty hits
tpl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 



All times are GMT. The time now is 12:06 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0