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



I had a similar problem and discovered that the
/usr/local/lib/pkgconfig/*.pc files were installed after the docs. Since
there was an error installing the docs, make exited and never installed the
.pc files.

I first tried to install everything needed to resolve the doc error but soon
gave up after I couldn't get the tools to compile.

My fall back position, suggested by someone on this very list, was to run:
make -k
This causes make to ignore the doc related errors and the .pc files were
processed. Try this for both the initial build as well as the install
(make -k install).

Good Luck.

David

> -----Original Message-----
> From: gtk-list-admin gnome org [mailto:gtk-list-admin gnome org]On
> Behalf Of Tony Denault
> Sent: Monday, March 25, 2002 3:39 PM
> To: gtk-list gnome org
> Subject: can't install gtk2.0 on solaris 2.8
>
>
>
> 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
>
> /-----------------------------------------------------------------
> ------------\
> | Tony Denault                        | Internet:
> denault irtf ifa hawaii edu |
> | NASA IRTF, Institute of Astronomy   |                 Phone:
> (808) 974-4206 |
> | 1175 Manono St., Bldg 393           |                   Fax:
> (808) 974-4207 |
> | Hilo, Hawaii 96720                  |
>             |
> \-----------------------------------------------------------------
> ------------/
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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