Re: Sane And GTK




Ed Brown <ed.brown@edge-technologies.com> writes:

> Owen Taylor wrote:
> > 
> > Ed Brown <ed.brown@edge-technologies.com> writes:
> > 
> > > Hi.
> > >
> > > I'm trying to get xscanimage to compile on my system.
> > > I downloaded the latest version of gtk, did a ./configure and a 'make'.
> > 
> > Hmmm, the question is, did you do a 'make install' ? If not,
> > then you need to.
> 
> Yes, I did do that as well.
> 
>  
> > > I then went to the sane directory and did a ./configure. I got an error
> > > message stating that it could not find gtk-configure and suggested I
> > > modify my path or define GTK_CONFIG environment variable. I did the
> > > latter and attempted to do another make. However, I received the same
> > > error message.
> > 
> > If you installed GTK+ with the default prefix, /usr/local,
> 
> Check. Did that one. Although the name of the directory is the gtk+ name
> with the version.
> 
>  then
> > presuming that /usr/local/bin is in your path, you shouldn't
> > have to do anything.
> 
> Check.
> 
> > If you configured GTK+ with:
> > 
> >  --prefix=/some/odd/place/for/gtk
> > 
> > Then you can do:
> > 
> >  GTK_CONFIG=/some/odd/place/for/gtk/bin/gtk-config ./configure
> > 
> > Note, that you'll also need to set your LD_LIBRARY_PATH variable
> > appropriately. (Depending somewhat on what system you are
> > running on).
> 
> I'll check this one.

Well, if that was your only problem, you'd get a different
error message.

If ./configure gets an incorrect location for gtk-config once,
you may have to delete config.cache before reconfiguring.

You can check if gtk-config is where you think it is:

 $ $GTK_CONFIG --version

Regards,
                                        Owen

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]