Re: can't install gtk2.0 on solaris 2.8



> From: Tony Denault <denault hawaii edu>
> 
> Hello,
> 
> Having problems installing on solaris 2.8/gcc2.95.3.
> I have gtk 1.2.10 install on my computer, and wanted to start using gtk 2.0.
> The installation didn't work.
> 
> First, I installed all the dependencies libs: pkg-config, TIFF, libpng,
> JPEG. This was OK.
> 
> But once I got to the GTK specific stuff I always got the following
> error: don't know how to make target 'all-local' . This is the atk output,
> but it was the same for pango, glib. But the include and .a files were
> installed to I just continued.
> 
> >rm -fr .libs/libtestrelation.la .libs/libtestrelation.*  .libs/libtestrelation.*
> >ar cru .libs/libtestrelation.al testrelation.lo
> >ranlib .libs/libtestrelation.al
> >creating libtestrelation.la
> >(cd .libs && rm -f libtestrelation.la && ln -s ../libtestrelation.la
> libtestrelation.la)
> >Making install in docs
> >make: Fatal error: Don't know how to make target `all-local'
> >Current working directory /home/denault/gtk_2.0/atk-1.0.0/docs
> >*** Error code 1
> >make: Fatal error: Command failed for target `install-recursive'
> 
> But then, gtk failed to configure:
> 
> >checking for pkg-config... /usr/local/bin/pkg-config
> >checking for glib-2.0 >= 2.0.0 atk >= 1.0.0 pango >= 1.0.0... sh:  gnome-config: not found
> >sh: gnome-config: not found
> >Package atk was not found in the pkg-config search path.
> >Perhaps you should add the directory containing `atk.pc'
> >to the PKG_CONFIG_PATH environment variable
> >No package 'atk' found
> 
> After some poking around, I found atk.pc and pango.pc was not in
> /usr/local/lib/pkgconfig. I manually copied the files to get pass this.
> 
> Doing another ./configure for gtk:
> >checking for freetype-config... no
> >sh: gnome-config: not found
> >configure: error: pangox Pango backend is required for x11 target
> 
> This is where I gave up.
> 
> Tony


I'm not an expert, but I did successfully compile it on Solaris 2.8
with the same compiler. I don't understand why it's looking for
gnome-config - it's not on my system and gnome depends on gtk, not the
other way around.

Dave



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