Re: stuck while installing GTK+ ,,, need help




--- Tor Lillqvist <tml iki fi> wrote:

> Sergei Steshenko writes:
> 
>  > [ quotes a looong article with a boring build log ]
> 
>  > Try my tool - see signature.
> 
> Could you please stop advertising your tool all the time? At least,
> give some real advice to people who ask for it, before mentioning your
> tool that solves all problems.
> 
> --tml
> 
> 


I wrote my tool because I wanted to build gtk+ and its Perl bindings in the
first place.

And I did do this manually first, and found it quite difficult and error
prone.

The tools solved problems for me and for my colleague who needed to build
gtk+ and its Perl bindings on Solaris.

So, what's the problem ?

Or you advise to manually enter command lines like these:


1) 'configure':

cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/removable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh;
export PATH;
LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib:/usr/X11R6/lib;
export LD_LIBRARY_PATH;
PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib/pkgconfig;
export PKG_CONFIG_PATH; LDFLAGS='-L/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib
-L/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib
-L/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib'; export LDFLAGS;
CPPFLAGS='-I/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/include
-I/mnt/removable4/sergei/build_work/install/tiff-3.8.2/include
-I/mnt/removable4/sergei/build_work/install/zlib-1.2.3/include'; export CPPFLAGS; ./configure
--prefix=/mnt/removable4/sergei/build_work/install/gtk+-2.8.20 1>configure.log 2>&1


2) 'make':

cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/removable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh;
export PATH;
LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib:/usr/X11R6/lib;
export LD_LIBRARY_PATH;
PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib/pkgconfig;
export PKG_CONFIG_PATH; LDFLAGS='-L/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib
-L/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib
-L/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib'; export LDFLAGS;
CPPFLAGS='-I/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/include
-I/mnt/removable4/sergei/build_work/install/tiff-3.8.2/include
-I/mnt/removable4/sergei/build_work/install/zlib-1.2.3/include'; export CPPFLAGS; ./configure
--prefix=/mnt/removable4/sergei/build_work/install/gtk+-2.8.20 1>configure.log 2>&1

3) 'make install':

cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/removable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh;
export PATH;
LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib:/usr/X11R6/lib;
export LD_LIBRARY_PATH;
PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib/pkgconfig;
export PKG_CONFIG_PATH; make 1>make.log 2>&1


cd /mnt/removable4/sergei/build_work/build/gtk+-2.8.20;
PATH=/mnt/removable4/sergei/build_work/install/freetype-2.2.1/bin:/mnt/removable4/sergei/build_work/install/glib-2.12.2/bin:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/bin:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/bin:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/bin:/mnt/removable4/sergei/build_work/install/pango-1.14.0/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh;
export PATH;
LD_LIBRARY_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib:/mnt/removable4/sergei/build_work/install/jpegsrc.v6b/lib:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib:/mnt/removable4/sergei/build_work/install/tiff-3.8.2/lib:/mnt/removable4/sergei/build_work/install/zlib-1.2.3/lib:/usr/X11R6/lib;
export LD_LIBRARY_PATH;
PKG_CONFIG_PATH=/mnt/removable4/sergei/build_work/install/atk-1.12.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/cairo-1.2.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/freetype-2.2.1/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/glib-2.12.2/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/libpng-1.2.12/lib/pkgconfig:/mnt/removable4/sergei/build_work/install/pango-1.14.0/lib/pkgconfig;
export PKG_CONFIG_PATH; make install 1>make_install.log 2>&1

?

I know it is very easy to make a mistake in such command lines, that's why I suggest to
use a tool which generates them automatically.

--Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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